cve.bz

CVE-2019-9022 Out-of-bounds Read

7.5 highExploit referenceEPSS 4.2%

High (7.5). EPSS 4.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

7.5 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
4.2% (unchanged from 4.2% a week ago; 4.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 91st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-9022 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-9022?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-9022?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-9022 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
php:phpfrom 7.0.0 before 7.1.26
php:phpfrom 7.2.0 before 7.2.14
php:phpfrom 7.3.0 before 7.3.2
debian:debian_linux8.0
debian:debian_linux9.0
canonical:ubuntu_linux12.04
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8php55.6.40+dfsg-0+deb8u2DLA-1741-1
Debian9php7.07.0.33-0+deb9u2DSA-4398-1
Ubuntu14.04:LTSphp55.5.9+dfsg-1ubuntu4.29UBUNTU-CVE-2019-9022 USN-3902-1 USN-3922-2
Ubuntu16.04:LTSphp7.07.0.33-0ubuntu0.16.04.2UBUNTU-CVE-2019-9022 USN-3902-1
Ubuntu18.04:LTSphp7.27.2.15-0ubuntu0.18.04.1UBUNTU-CVE-2019-9022
Red Hatenterprise_linux:8::appstreamapcu-panel, php-pecl-apcu, php-pecl-apcu-devel and 2 more0:5.1.12-2.module+el8.1.0+3202+af5476b9RHSA-2020:1624
Red Hatenterprise_linux:8::appstreamlibzip, libzip-devel, libzip-tools and 3 more0:1.5.1-2.module+el8.1.0+3202+af5476b9RHSA-2020:1624
Red Hatenterprise_linux:8::appstreamphp, php-gd, php-cli and 51 more0:7.2.24-1.module+el8.2.0+4601+7c76a223RHSA-2020:1624
Red Hatenterprise_linux:8::appstreamphp-pear1:1.10.5-9.module+el8.1.0+3202+af5476b9RHSA-2020:1624
Red Hatenterprise_linux:8::appstreamphp-pecl-zip, php-pecl-zip-debuginfo, php-pecl-zip-debugsource0:1.15.3-1.module+el8.1.0+3186+20164e6fRHSA-2020:1624
Red Hatrhel_software_collections:3::el7rh-php71-php, rh-php71-php-gd, rh-php71-php-cli and 27 more0:7.1.30-1.el7RHSA-2019:2519
Red Hatrhel_software_collections:3::el7rh-php72-php, rh-php72-php-gd, rh-php72-php-cli and 27 more0:7.2.24-1.el7RHSA-2019:3299
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 7 morephp77.2.34-150000.4.103.1SUSE-SU-2022:4067-1
SUSELinux Enterprise Module for Package Hub 15, Linux Enterprise Module for Web and Scripting 15php77.2.5-4.32.1SUSE-SU-2019:1461-1
SUSELinux Enterprise Module for Web and Scripting 12php72-memcached3.1.3-1.3.1SUSE-RU-2019:0823-1
SUSELinux Enterprise Module for Web and Scripting 12, Linux Enterprise Server 12 SP3, Linux Enterprise Server 12 SP4 and 3 morelibmemcached1.0.18-3.2.1SUSE-RU-2019:0823-1
SUSELinux Enterprise Module for Web and Scripting 12, Linux Enterprise Software Development Kit 12 SP3, Linux Enterprise Software Development Kit 12 SP4php727.2.5-1.7.1SUSE-RU-2019:0823-1
SUSELinux Enterprise Module for Web and Scripting 12, Linux Enterprise Software Development Kit 12 SP3, Linux Enterprise Software Development Kit 12 SP4tidy1.0.20100204cvs-26.2.1SUSE-RU-2019:0823-1
openSUSELeap 15.0php77.2.5-lp150.2.19.1openSUSE-SU-2019:1573-1
openSUSELeap 15.1php77.2.5-lp151.6.3.1openSUSE-SU-2019:1572-1
openSUSELeap 15.4php77.2.34-150000.4.103.1SUSE-SU-2022:4067-1
openSUSETumbleweedphp77.4.24-1.1openSUSE-SU-2024:11167-1
openSUSETumbleweedphp88.0.11-1.1openSUSE-SU-2024:11169-1
AlmaLinux8apcu-panel, php-pecl-apcu, php-pecl-apcu-devel5.1.12-2.module_el8.3.0+2010+7c76a223ALSA-2020:1624
AlmaLinux8libzip, libzip-devel, libzip-tools1.5.1-2.module_el8.3.0+2010+7c76a223ALSA-2020:1624
AlmaLinux8libzip, libzip-devel, libzip-tools1.5.1-2.module_el8.4.0+2228+7c76a223ALSA-2020:1624
AlmaLinux8libzip, libzip-devel, libzip-tools1.5.1-2.module_el8.5.0+53+9945c2afALSA-2020:1624
AlmaLinux8php, php-gd, php-cli and 24 more7.2.24-1.module_el8.3.0+2010+7c76a223ALSA-2020:1624
AlmaLinux8php, php-gd, php-cli and 24 more7.2.24-1.module_el8.4.0+2228+7c76a223ALSA-2020:1624
AlmaLinux8php, php-gd, php-cli and 24 more7.2.24-1.module_el8.5.0+53+9945c2afALSA-2020:1624
AlmaLinux8php-pear1:1.10.5-9.module_el8.3.0+2010+7c76a223ALSA-2020:1624
AlmaLinux8php-pecl-apcu, php-pecl-apcu-devel5.1.12-2.module_el8.4.0+2228+7c76a223ALSA-2020:1624
AlmaLinux8php-pecl-apcu, php-pecl-apcu-devel5.1.12-2.module_el8.5.0+53+9945c2afALSA-2020:1624
AlmaLinux8php-pecl-zip1.15.3-1.module_el8.3.0+2010+7c76a223ALSA-2020:1624
AlmaLinux8php-pecl-zip1.15.3-1.module_el8.4.0+2228+7c76a223ALSA-2020:1624
1 more for AlmaLinux in the JSON.
Rocky Linux8libzip0:1.5.1-2.module+el8.4.0+413+c9202ddaRLSA-2020:1624
Rocky Linux8php0:7.2.24-1.module+el8.4.0+413+c9202ddaRLSA-2020:1624
Rocky Linux8php-pear1:1.10.5-9.module+el8.4.0+413+c9202ddaRLSA-2020:1624
Rocky Linux8php-pecl-apcu0:5.1.12-2.module+el8.4.0+413+c9202ddaRLSA-2020:1624
Rocky Linux8php-pecl-zip0:1.15.3-1.module+el8.4.0+413+c9202ddaRLSA-2020:1624
Alpinev3.8php77.2.17-r0ALPINE-CVE-2019-9022
Alpinev3.9, v3.10, v3.11 and 4 morephp77.2.14-r0ALPINE-CVE-2019-9022

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8php:7.2-8020020191108065827.2c7ca891Fixed 2020-04-28RHSA-2020:1624
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-php71-php-0:7.1.30-1.el7Fixed 2019-08-19RHSA-2019:2519
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-php72-php-0:7.2.24-1.el7Fixed 2019-11-01RHSA-2019:3299
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUSrh-php71-php-0:7.1.30-1.el7Fixed 2019-08-19RHSA-2019:2519
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUSrh-php71-php-0:7.1.30-1.el7Fixed 2019-08-19RHSA-2019:2519
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUSrh-php72-php-0:7.2.24-1.el7Fixed 2019-11-01RHSA-2019:3299
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSrh-php71-php-0:7.1.30-1.el7Fixed 2019-08-19RHSA-2019:2519
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSrh-php72-php-0:7.2.24-1.el7Fixed 2019-11-01RHSA-2019:3299
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUSrh-php72-php-0:7.2.24-1.el7Fixed 2019-11-01RHSA-2019:3299
Red Hat Software Collectionsrh-php70-phpFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-9022.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-027-02Festo Didactic SE MES PC2024-02-27Commercial Facilities, Communications, Critical Manufacturing, EnergyFesto Didactic SE MES PC shipped with Windows 10none listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON