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

Published Dec 17, 2019
·
Updated

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.

Other sources

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

PHP

Affected Software

8 affected componentsFixes available
PHP PHP<7.2.26
7.2.26
PHP PHP>=7.2.0<=7.2.26
PHP PHP>=7.3.0<=7.3.13
PHP PHP=7.4.0
Tenable SecurityCenter<5.19.0
Fedoraproject Fedora=30
Fedoraproject Fedora=31
Tenable Security Center<5.19.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade PHP to a version that resolves this vulnerability.

    Fixed in 7.2.26
  2. Upgrade

    Upgrade php to a version that resolves this vulnerability.

    Fixed in 7.2.26
  3. Upgrade

    Upgrade php to a version that resolves this vulnerability.

    Fixed in 7.3.13
  4. Upgrade

    Upgrade php to a version that resolves this vulnerability.

    Fixed in 7.4.0

Event History

Dec 18, 2019
CVE Published
via PHP·12:00 AM
Dec 23, 2019
CVE Published
via MITRE·02:40 AM
Data Sourced
via MITRE·02:40 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is CVE-2019-11044?

CVE-2019-11044 is a vulnerability in PHP versions 7.2.x below 7.2.26, 7.3.x below 7.3.13 and 7.4.0 on Windows, where the link() function accepts filenames with embedded \0 byte and treats them as terminating at that byte, potentially leading to security vulnerabilities.

2

How severe is CVE-2019-11044?

The severity of CVE-2019-11044 is high with a severity value of 7.5.

3

How can I fix CVE-2019-11044?

To fix CVE-2019-11044, upgrade PHP to version 7.2.26 or above, 7.3.13 or above, or 7.4.0 or above depending on the affected version.

4

What are some references for CVE-2019-11044?

You can find more information about CVE-2019-11044 at these references: [Reference 1](https://www.php.net/ChangeLog-7.php#7.2.26), [Reference 2](https://bugs.php.net/bug.php?id=78862), [Reference 3](https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/N7GCOAE6KVHYJ3UQ4KLPLTGSLX6IRVRN/).

5

What is the CWE of CVE-2019-11044?

The CWE of CVE-2019-11044 is CWE-170.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203