CVE-2019-9022 json
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.
published 7y ago modified 4mo ago also EUVD-2019-18409
- cvss
- 7.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.2%
- EPSS 4.2% chance of exploitation in 30 days, percentile 91%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- php php 7.1.26, 7.2.14, 7.3.2
- 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
ubuntu advisories UBUNTU-CVE-2019-9022
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- php RHEL 8 7.2.24-1.module+el8.2.0+4601+7c76a223
- libzip RHEL 8 1.5.1-2.module+el8.1.0+3202+af5476b9
- php-gd RHEL 8 7.2.24-1.module+el8.2.0+4601+7c76a223
- php-cli RHEL 8 7.2.24-1.module+el8.2.0+4601+7c76a223
- php-dba RHEL 8 7.2.24-1.module+el8.2.0+4601+7c76a223
- php-dbg RHEL 8 7.2.24-1.module+el8.2.0+4601+7c76a223
- php-fpm RHEL 8 7.2.24-1.module+el8.2.0+4601+7c76a223
- php-gmp RHEL 8 7.2.24-1.module+el8.2.0+4601+7c76a223
red hat advisories RHSA-2020:1624RHSA-2019:3299RHSA-2019:2519
- php7 SLES for SAP 15 SP1, SLES for SAP 15, SLES 15-LTSS +8 more 7.2.34-150000.4.103.1
- php7 SLE Module for Web and Scripting 15, SLE Module for Package Hub 15 7.2.5-4.32.1
- php72 SLE Software Development Kit 12 SP4, SLE Software Development Kit 12 SP3, SLE Module for Web and Scripting 12 7.2.5-1.7.1
- tidy SLE Software Development Kit 12 SP4, SLE Software Development Kit 12 SP3, SLE Module for Web and Scripting 12 1.0.20100204cvs-26.2.1
- libmemcached SLES for SAP 12 SP4, SLES for SAP 12 SP3, SLES 12 SP4 +3 more 1.0.18-3.2.1
- php72-memcached SLE Module for Web and Scripting 12 3.1.3-1.3.1
suse advisories SUSE-SU-2022:4067-1SUSE-SU-2019:1461-1SUSE-RU-2019:0823-1
- php7 openSUSE Tumbleweed 7.4.24-1.1
- php8 openSUSE Tumbleweed 8.0.11-1.1
- php7 openSUSE Leap 15.0 7.2.5-lp150.2.19.1
- php7 openSUSE Leap 15.1 7.2.5-lp151.6.3.1
opensuse advisories openSUSE-SU-2024:11167-1openSUSE-SU-2024:11169-1openSUSE-SU-2019:1573-1openSUSE-SU-2019:1572-1
- php AlmaLinux 8 7.2.24-1.module_el8.3.0+2010+7c76a223
- php AlmaLinux 8 7.2.24-1.module_el8.4.0+2228+7c76a223
- php AlmaLinux 8 7.2.24-1.module_el8.5.0+53+9945c2af
- libzip AlmaLinux 8 1.5.1-2.module_el8.3.0+2010+7c76a223
- libzip AlmaLinux 8 1.5.1-2.module_el8.4.0+2228+7c76a223
- libzip AlmaLinux 8 1.5.1-2.module_el8.5.0+53+9945c2af
- php-gd AlmaLinux 8 7.2.24-1.module_el8.5.0+53+9945c2af
- php-gd AlmaLinux 8 7.2.24-1.module_el8.3.0+2010+7c76a223
almalinux advisories ALSA-2020:1624
- php Rocky Linux 8 7.2.24-1.module+el8.4.0+413+c9202dda
- libzip Rocky Linux 8 1.5.1-2.module+el8.4.0+413+c9202dda
- php-pear Rocky Linux 8 1:1.10.5-9.module+el8.4.0+413+c9202dda
- php-pecl-zip Rocky Linux 8 1.15.3-1.module+el8.4.0+413+c9202dda
- php-pecl-apcu Rocky Linux 8 5.1.12-2.module+el8.4.0+413+c9202dda
rocky linux advisories RLSA-2020:1624
- php7 Alpine 3.15, Alpine 3.14, Alpine 3.13 +4 more 7.2.14-r0
- php7 Alpine 3.8 7.2.17-r0
alpine advisories ALPINE-CVE-2019-9022
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Is CVE-2019-9022 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-9022 updated cvss 4.6
php: memcpy with negative length via crafted DNS response
-
Red Hat Software Collections rh-php70-php, rh-php70-php-gd, rh-php70-php-cli, rh-php70-php-dba, rh-php70-php-dbg, rh-php70-php-fpm, +24 moreaffected: no fix available “Fix deferred”
-
Red Hat Enterprise Linux AppStream (v. 8) php 7.2.24-1.module+el8.2.0+4601+7c76a223, libzip 1.5.1-2.module+el8.1.0+3202+af5476b9, php-gd 7.2.24-1.module+el8.2.0+4601+7c76a223, php-cli 7.2.24-1.module+el8.2.0+4601+7c76a223, php-dba 7.2.24-1.module+el8.2.0+4601+7c76a223, php-dbg 7.2.24-1.module+el8.2.0+4601+7c76a223, +26 morefixed: vendor fix RHSA-2020:1624
-
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-php71-php 7.1.30-1.el7, rh-php72-php 7.2.24-1.el7, rh-php71-php-gd 7.1.30-1.el7, rh-php72-php-gd 7.2.24-1.el7, rh-php71-php-cli 7.1.30-1.el7, rh-php71-php-dba 7.1.30-1.el7, +50 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-php71-php 7.1.30-1.el7, rh-php71-php-gd 7.1.30-1.el7, rh-php71-php-cli 7.1.30-1.el7, rh-php71-php-dba 7.1.30-1.el7, rh-php71-php-dbg 7.1.30-1.el7, rh-php71-php-fpm 7.1.30-1.el7, +22 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-php71-php 7.1.30-1.el7, rh-php72-php 7.2.24-1.el7, rh-php71-php-gd 7.1.30-1.el7, rh-php72-php-gd 7.2.24-1.el7, rh-php71-php-cli 7.1.30-1.el7, rh-php71-php-dba 7.1.30-1.el7, +50 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-php71-php 7.1.30-1.el7, rh-php72-php 7.2.24-1.el7, rh-php71-php-gd 7.1.30-1.el7, rh-php72-php-gd 7.2.24-1.el7, rh-php71-php-cli 7.1.30-1.el7, rh-php71-php-dba 7.1.30-1.el7, +50 morefixed: vendor fix RHSA-2019:2519
-
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-php72-php 7.2.24-1.el7, rh-php72-php-gd 7.2.24-1.el7, rh-php72-php-cli 7.2.24-1.el7, rh-php72-php-dba 7.2.24-1.el7, rh-php72-php-dbg 7.2.24-1.el7, rh-php72-php-fpm 7.2.24-1.el7, +22 morefixed: vendor fix RHSA-2019:3299
-
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-php71-php 7.1.30-1.el7, rh-php72-php 7.2.24-1.el7, rh-php71-php-gd 7.1.30-1.el7, rh-php72-php-gd 7.2.24-1.el7, rh-php71-php-cli 7.1.30-1.el7, rh-php71-php-dba 7.1.30-1.el7, +50 morefixed: vendor fix RHSA-2019:2519
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-26-027-02 updated cvss 7.5
Festo Didactic SE MES PC
-
Festo Didactic SE MES PC shipped_with_Windows_10affected: vendor fix
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
Exploit prediction
4.19% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- bugs.php.net https://bugs.php.net/bug.php?id=77369 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
- Technology feeds
References
-
bugs.php.net
/bug.php?id=77369
exploit, issue-tracking, vendor-advisory
-
debian.org
/security/2019/dsa-4398
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3902-1/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3922-2/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3922-3/
vendor-advisory, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-06/msg00041.html
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-06/msg00044.html
vendor-advisory
-
access.redhat.com
/errata/RHSA-2019:2519
vendor-advisory
-
access.redhat.com
/errata/RHSA-2019:3299
vendor-advisory
-
security.netapp.com
/advisory/ntap-20190321-0001/
third-party-advisory
-
lists.debian.org
/debian-lts-announce/2019/03/msg00043.html
mailing-list, third-party-advisory
- tenable.com /security/tns-2019-07
Sources
- CVE List CVE-2019-9022
- NVD CVE-2019-9022
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.