CVE-2019-11044

link() silently truncates after a null byte on Windows

HIGH
7.5
CVSS Score
Published: December 23, 2019 at 02:40 AM UTC
Updated: August 17, 2026 at 02:50 PM UTC
3 products affected across 3 vendorsFedoraPHPSecurity Center

Using PHP by PHP Group?

Get instant alerts when new vulnerabilities affect PHP - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 5%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

PHP· PHPdrupal
95%
7.2.0 ≤ v ≤ 7.2.267.2.x ≤ v < 7.2.267.3.0 ≤ v ≤ 7.3.137.3.x ≤ v < 7.3.137.4.x ≤ v < 7.4.17.2.x7.3.x7.4.07.4.x
Affected range stops below 7.2.26, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.3.13, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.4.1, so it looks safe — our inference, not a vendor statement
v < 5.19.0
Affected range stops below 5.19.0, so it looks safe — our inference, not a vendor statement

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-170NVD-CWE-Other

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card