Am I affected?
CVE-2019-9022
An issue was discovered in PHP 7.x before 7.1.26, 7.2.x before 7.2.14, and 7.3.x before 7.3.2. dns_get_record misparses a DNS response, which can allow a hostile DNS server to cause PHP to misuse memcpy, leading to read operations going past the buffer allocated for DNS data. This affects php_parserr in ext/standard/dns.c for DNS_CAA and DNS_ANY queries.
Not in the CISA KEV catalog as of the last sync. That means no confirmed exploitation is listed there, not that it is safe.
Exploit probability (FIRST EPSS): 4.19% chance of exploitation activity in the next 30 days (top 9% of all scored CVEs), scored 2026-11-23. EPSS is a likelihood estimate, not proof of attacks.
Check your PHP version
Fixed versions by branch
| Branch | Affected (NVD) | Fixed in |
|---|---|---|
| PHP 7.3 | 7.3.0 (including) to 7.3.2 (excluding) | 7.3.2 |
| PHP 7.2 | 7.2.0 (including) to 7.2.14 (excluding) | 7.2.14 |
| PHP 7.1 | 7.0.0 (including) to 7.1.26 (excluding) | 7.1.26 |
"Fixed in" is shown only when the source gives an exact upper bound. Any later patch in the same branch also has the fix. Linux distributions (Ubuntu, Debian, RHEL) often backport fixes without changing the PHP version number.
Related CVEs
Other PHP CVEs that NVD lists for the same branches.
- CVE-2019-9020 Critical 9.8 · PHP 7.3, 7.2, 7.1, 7.0 · 2019-02-22
- CVE-2019-9021 Critical 9.8 · PHP 7.3, 7.2, 7.1, 7.0 · 2019-02-22
- CVE-2019-9023 Critical 9.8 · PHP 7.3, 7.2, 7.1, 7.0 · 2019-02-22
- CVE-2019-6977 High 8.8 · PHP 7.3, 7.2, 7.1, 7.0 · 2019-01-27
- CVE-2019-9024 High 7.5 · PHP 7.3, 7.2, 7.1, 7.0 · 2019-02-22
- CVE-2026-109619 High 8.1 · PHP 7.3, 7.2, 7.1, 7.0 · 2026-10-21
Questions
- Which PHP versions are affected by CVE-2019-9022?
- NVD lists these affected ranges: 7.3.0 (including) to 7.3.2 (excluding); 7.2.0 (including) to 7.2.14 (excluding); 7.0.0 (including) to 7.1.26 (excluding).
- Which PHP version fixes CVE-2019-9022?
- According to NVD, the fix is in PHP 7.3.2, 7.2.14, 7.1.26 (upgrade to that release or any later patch in the same branch).
- Does a version check prove my server is safe from CVE-2019-9022?
- No. The SAPI, web server, operating system, loaded extensions and configuration change whether a bug can be reached, and Linux distributions often backport fixes without changing the upstream version number.
Sources: CVE-2019-9022 on NIST NVD. NVD data synced 2026-11-24T03:47:46.548Z. See all PHP CVEs in the CVE explorer.