Skip to content

CVE-2019-11044 link() silently truncates after a null byte on Windows

HighCVSS 7.5 EPSS 5.1%
Published
Updated
Exploit status
No public exploit known

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

ProductAffected versionsFixed in
PHP >= 7.2.x, < 7.2.26 7.2.26
PHP >= 7.3.x, < 7.3.13 7.3.13
PHP >= 7.4.x, < 7.4.1 7.4.1
PHP >= 7.2.0, <= 7.2.26 No fix listed
PHP >= 7.3.0, <= 7.3.13 No fix listed
PHP = 7.4.0 No fix listed
tenable Security Center < 5.19.0 5.19.0
fedoraproject fedora = 30 No fix listed
fedoraproject fedora = 31 No fix listed

References