{"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-04-10T04:20:40.656758Z","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"],"references":[{"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":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00041.html"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3922-2/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2019/dsa-4398"},{"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://usn.ubuntu.com/3902-1/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3922-3/"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:2519"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20190321-0001/"},{"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"},{"introduced":"0"},{"last_affected":"5dc92c2117cafc61daaaaa240fd46c3ac33872a4"}],"database_specific":{"versions":[{"introduced":"7.0.0"},{"fixed":"7.1.26"},{"introduced":"7.2.0"},{"fixed":"7.2.14"},{"introduced":"7.3.0"},{"fixed":"7.3.2"},{"introduced":"0"},{"last_affected":"8.0"}]}}],"versions":["POST_64BIT_BRANCH_MERGE","POST_AST_MERGE","POST_PHP7_NSAPI_REMOVAL","POST_PHP7_REMOVALS","POST_PHPNG_MERGE","PRE_64BIT_BRANCH_MERGE","PRE_AST_MERGE","PRE_PHP7_EREG_MYSQL_REMOVALS","PRE_PHP7_NSAPI_REMOVAL","PRE_PHP7_REMOVALS","php-7.3.2RC1","php-8.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-9022.json","unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"9.0"}]},{"events":[{"introduced":"0"},{"last_affected":"12.04"}]},{"events":[{"introduced":"0"},{"last_affected":"14.04"}]},{"events":[{"introduced":"0"},{"last_affected":"16.04"}]}]}}],"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"}]}