{"id":"CVE-2019-9022","details":"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.","modified":"2026-05-18T05:52:16.686207241Z","published":"2019-02-22T23:29:00.440Z","related":["ALSA-2020:1624","SUSE-RU-2019:0823-1","SUSE-SU-2019:1461-1","SUSE-SU-2022:4067-1","openSUSE-SU-2019:1572-1","openSUSE-SU-2019:1573-1","openSUSE-SU-2024:11167-1","openSUSE-SU-2024:11169-1"],"database_specific":{"unresolved_ranges":[{"source":"CPE_FIELD","cpes":["cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*"],"extracted_events":[{"last_affected":"12.04"},{"last_affected":"14.04"},{"last_affected":"16.04"}],"vendor_product":"canonical:ubuntu_linux"},{"source":"CPE_FIELD","cpes":["cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"],"extracted_events":[{"last_affected":"8.0"},{"last_affected":"9.0"}],"vendor_product":"debian:debian_linux"}]},"references":[{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00041.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00044.html"},{"type":"WEB","url":"https://www.tenable.com/security/tns-2019-07"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:2519"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:3299"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2019/03/msg00043.html"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20190321-0001/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3902-1/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3922-2/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3922-3/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2019/dsa-4398"},{"type":"REPORT","url":"https://bugs.php.net/bug.php?id=77369"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/php/php-src","events":[{"introduced":"60fffd296abce5fc071f3c173c25a2696cf683c6"},{"fixed":"b3ad2be890e86c69cdc661739c74b677b46a53cb"},{"introduced":"8148cbb78841c8ec0759c0836e7f35dec799d300"},{"fixed":"643a161a24e662fd2afa9bf3591b105f4881e93e"},{"introduced":"52ace952a1b65ca80fc2617f11c2fa6dd03f51bd"},{"fixed":"3fa88e0ce0ffd9f63672afe114158a07a0204e21"}],"database_specific":{"source":"CPE_FIELD","cpe":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"7.0.0"},{"fixed":"7.1.26"},{"introduced":"7.2.0"},{"fixed":"7.2.14"},{"introduced":"7.3.0"},{"fixed":"7.3.2"}]}}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-9022.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}