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

- Priority: **Routine**
- Reason: Not severe (CVSS 3.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2019-12-23 · Modified: 2024-09-17
- Record: https://cvemate.com/vulnerability/CVE-2019-11044 · JSON: https://cvemate.com/vulnerability/CVE-2019-11044/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 5.124%, percentile 92.613%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- fedoraproject fedora: 30 \| 31
- php group php: ≥ 7.2.x, \< 7.2.26 \| ≥ 7.3.x, \< 7.3.13 \| ≥ 7.4.x, \< 7.4.1
- php php: ≥ 7.2.0, ≤ 7.2.26 \| ≥ 7.3.0, ≤ 7.3.13 \| 7.4.0
- tenable security\_center: \< 5.19.0

## References

- <https://bugs.php.net/bug.php?id=78862>
- <https://security.netapp.com/advisory/ntap-20200103-0002/>
- <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://www.tenable.com/security/tns-2021-14>

---

Data as of 2026-12-05T13:44:02.775Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
