Skip to content
OpenAdvisories
Low · 3.7 CVE-2019-11044 EUVD-2019-2752GHSA-c8cf-pj9v-fcr9

link() silently truncates after a null byte on Windows

Published Dec 23, 2019 · Updated Sep 17, 2024 · Assigned by php

Description

In PHP versions 7.2.x below 7.2.26, 7.3.x below 7.3.13 and 7.4.0 on Windows, PHP link() function accepts filenames with embedded \0 byte and treats them as terminating at that byte. This could lead to security vulnerabilities, e.g. in applications checking paths that the code is allowed to access.

Affected products

VendorProductAffectedFixed
PHP Group PHP 7.2.x – < 7.2.26, 7.3.x – < 7.3.13, 7.4.x – < 7.4.1 7.2.26

Advisories 3

References