CVE-2019-9022

php: memcpy with negative length via crafted DNS response

Published Feb 22, 2019 CVSS 3.0 · 7.5 High EPSS 4.2% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-1741-1 php5 security update
Debian DSA Debian DSA DSA-4398-1 php7.0 security update
EUVD EUVD EUVD-2019-18409 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.
Ubuntu USN Ubuntu USN USN-3902-1 PHP vulnerabilities
Ubuntu USN Ubuntu USN USN-3922-2 PHP vulnerabilities
Ubuntu USN Ubuntu USN USN-3922-3 PHP vulnerabilities
History

No history.