CVE-2019-11044
published low CVSS 3.1 · 3.7link() silently truncates after a null byte on Windows
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| PHP Group | — | PHP7.2.x to < 7.2.26 · 7.3.x to < 7.3.13 · 7.4.x to < 7.4.1 · Platforms: Windows | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 3.7 / 10
- Severity
- low
- Provider
- php · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| PHP Group | PHP | 7.2.x to < 7.2.26 (affected · custom)7.3.x to < 7.3.13 (affected · custom)7.4.x to < 7.4.1 (affected · custom) | php · cna |
Weaknesses
1- CWE-170 CWE-170 Improper Null Termination
References
5- https://bugs.php.net/bug.php?id=78862
- FEDORA-2019-437d94e271 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N7GCOAE6KVHYJ3UQ4KLPLTGSLX6IRVRN/
- FEDORA-2019-a54a622670 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
Provider assertions
2php · cna
link() silently truncates after a null byte on Windows
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- ac884f4c51026a41221ab47b074888198988f8d79d93e5a4d3da0eeac31be826
- Ingested
- 23 Sep 2026, 07:45:38 UTC
- Source record
- Official CVE record