CVE-2019-9022
Reported by mitre · Published February 22, 2019
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| php7 | Alpine | 7.2.17-r0, 7.2.14-r0 |
| php5 | Ubuntu:14.04:LTS | 5.5.9+dfsg-1ubuntu4.29 |
| php7.0 | Ubuntu:16.04:LTS | 7.0.33-0ubuntu0.16.04.2 |
| php7.2 | Ubuntu:18.04:LTS | 7.2.15-0ubuntu0.18.04.1 |
| php | php | 7.3.2, 7.2.14, 7.1.26 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| alpine | php7 | 0, 0 |
| n/a | n/a | * |
Timeline
- Feb 22, 2019 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch (6 in total, the first dated here)
- Mar 6, 2026 Security Advisory (11 in total, the first dated here)
- Sep 7, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2019-9022
vulnetix vdb fixes CVE-2019-9022
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-9022/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- DSA-4398 vendor-advisoryx_refsource_DEBIAN
- USN-3902-1 vendor-advisoryx_refsource_UBUNTU
- x_refsource_MISC
- x_refsource_CONFIRM
- [debian-lts-announce] 20190331 [SECURITY] [DLA 1741-1] php5 security update mailing-listx_refsource_MLIST
- USN-3922-2 vendor-advisoryx_refsource_UBUNTU
- USN-3922-3 vendor-advisoryx_refsource_UBUNTU
- openSUSE-SU-2019:1572 vendor-advisoryx_refsource_SUSE
- openSUSE-SU-2019:1573 vendor-advisoryx_refsource_SUSE
- RHSA-2019:2519 vendor-advisoryx_refsource_REDHAT
- RHSA-2019:3299 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM