What’s Vulnerable › Vulnerabilities
CVE-2019-11044: link() silently truncates after a null byte on Windows
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 5.1% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2019-12-23 · updated 2026-08-17
- Weakness: CWE-170
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
- Fedoraproject Fedora: 30, 31
- PHP: from 7.2.0 through 7.2.26; from 7.3.0 through 7.3.13; 7.4.0
- Tenable, Inc. Security Center: before 5.19.0 — fixed in 5.19.0
How to fix
Upgrade to a fixed version: Tenable, Inc. Security Center 5.19.0. Check the vendor advisory for mitigations.
References
- https://bugs.php.net/bug.php?id=78862
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N7GCOAE6KVHYJ3UQ4KLPLTGSLX6IRVRN/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWRQPYXVG43Q7DXMXH6UVWMKWGUW552F/
- https://security.netapp.com/advisory/ntap-20200103-0002/
- https://www.tenable.com/security/tns-2021-14
- https://bugs.php.net/bug.php?id=78862
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N7GCOAE6KVHYJ3UQ4KLPLTGSLX6IRVRN/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWRQPYXVG43Q7DXMXH6UVWMKWGUW552F/
- https://security.netapp.com/advisory/ntap-20200103-0002/
- https://www.tenable.com/security/tns-2021-14
Get alerted when CVE-2019-11044 or the next vulnerability affects your stack