php: memcpy with negative length via crafted DNS response
Published Feb 22, 2019
7.5
HIGHCVSS 3.0
EPSS 4.19%
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.
Affected products
No data.
Configuration 1
Configuration 2
- 8.0
- 9.0
Configuration 3
- 12.04
- 14.04
- 16.04
Configuration 4
- n/a
No data.
Red Hat Enterprise Linux 8
php:7.2-8020020191108065827.2c7ca891
Fixed · RHSA-2020:1624
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-php71-php-0:7.1.30-1.el7
Fixed · RHSA-2019:2519
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-php72-php-0:7.2.24-1.el7
Fixed · RHSA-2019:3299
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
rh-php71-php-0:7.1.30-1.el7
Fixed · RHSA-2019:2519
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
rh-php71-php-0:7.1.30-1.el7
Fixed · RHSA-2019:2519
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
rh-php72-php-0:7.2.24-1.el7
Fixed · RHSA-2019:3299
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS
rh-php71-php-0:7.1.30-1.el7
Fixed · RHSA-2019:2519
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS
rh-php72-php-0:7.2.24-1.el7
Fixed · RHSA-2019:3299
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS
rh-php72-php-0:7.2.24-1.el7
Fixed · RHSA-2019:3299
Red Hat Software Collections
rh-php70-php
Fix deferred
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | php:7.2-8020020191108065827.2c7ca891 | Fixed | RHSA-2020:1624 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-php71-php-0:7.1.30-1.el7 | Fixed | RHSA-2019:2519 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-php72-php-0:7.2.24-1.el7 | Fixed | RHSA-2019:3299 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | rh-php71-php-0:7.1.30-1.el7 | Fixed | RHSA-2019:2519 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-php71-php-0:7.1.30-1.el7 | Fixed | RHSA-2019:2519 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-php72-php-0:7.2.24-1.el7 | Fixed | RHSA-2019:3299 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | rh-php71-php-0:7.1.30-1.el7 | Fixed | RHSA-2019:2519 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | rh-php72-php-0:7.2.24-1.el7 | Fixed | RHSA-2019:3299 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | rh-php72-php-0:7.2.24-1.el7 | Fixed | RHSA-2019:3299 |
| Red Hat Software Collections | rh-php70-php | Fix deferred | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:L
AV:N/AC:L/Au:N/C:P/I:N/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (29 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 4.19% (0.04188) | 90.63th | v5 (v2026.06.15) |
| Jun 15, 2026 | 4.11% (0.04109) | 89.43th | v5 (v2026.06.15) |
| Dec 28, 2025 | 8.19% (0.08191) | 91.90th | v4 (v2025.03.14) |
| Dec 27, 2025 | 2.95% (0.02947) | 86.07th | v4 (v2025.03.14) |
| Dec 10, 2025 | 8.19% (0.08191) | 91.87th | v4 (v2025.03.14) |
| Nov 21, 2025 | 7.13% (0.07129) | 91.17th | v4 (v2025.03.14) |
| Nov 18, 2025 | 18.66% (0.18656) | 94.80th | v4 (v2025.03.14) |
| Oct 28, 2025 | 7.13% (0.07129) | 91.13th | v4 (v2025.03.14) |
| Oct 27, 2025 | 3.00% (0.03002) | 86.09th | v4 (v2025.03.14) |
| Oct 1, 2025 | 7.13% (0.07129) | 91.23th | v4 (v2025.03.14) |
| Jul 30, 2025 | 3.00% (0.03002) | 86.06th | v4 (v2025.03.14) |
| Jun 6, 2025 | 7.13% (0.07129) | 91.05th | v4 (v2025.03.14) |
| Jun 3, 2025 | 9.06% (0.09064) | 92.23th | v4 (v2025.03.14) |
| Mar 30, 2025 | 7.37% (0.07372) | 90.86th | v4 (v2025.03.14) |
| Mar 29, 2025 | 16.03% (0.16026) | 91.34th | v4 (v2025.03.14) |
| Mar 17, 2025 | 7.37% (0.07372) | 91.05th | v4 (v2025.03.14) |
| Dec 17, 2024 | 2.91% (0.02911) | 90.55th | v3 (v2023.03.01) |
| Aug 24, 2024 | 57.28% (0.57277) | 97.77th | v3 (v2023.03.01) |
| Jul 15, 2024 | 51.10% (0.51097) | 97.57th | v3 (v2023.03.01) |
| Jun 18, 2023 | 60.63% (0.60634) | 97.27th | v3 (v2023.03.01) |
| Mar 7, 2023 | 60.91% (0.60909) | 97.17th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.54% (0.01537) | 74.52th | v2 (v2022.01.01) |
| Feb 23, 2023 | 1.54% (0.01537) | 74.48th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.54% (0.01537) | 72.41th | v2 (v2022.01.01) |
| Feb 4, 2022 | 17.17% (0.17166) | 93.10th | v2 (v2022.01.01) |
| Feb 3, 2022 | 10.99% (0.10990) | 88.00th | v1 |
| Jan 6, 2022 | 10.99% (0.10990) | 87.86th | v1 |
| Sep 1, 2021 | 2.68% (0.02678) | 79.35th | v1 |
| Apr 14, 2021 | 2.68% (0.02678) | 0.00th | v1 |
References (16)
- http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00041.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00044.html vendor-advisoryx_refsource_SUSE
- https://access.redhat.com/errata/RHSA-2019:2519 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2019:3299 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2019-9022 Vendor Advisory
- https://bugs.php.net/bug.php?id=77369 x_refsource_MISCExploitIssue TrackingVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1685412 Issue Tracking
- https://lists.debian.org/debian-lts-announce/2019/03/msg00043.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2019-9022
- https://security.netapp.com/advisory/ntap-20190321-0001/ x_refsource_CONFIRMThird Party Advisory
- https://usn.ubuntu.com/3902-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://usn.ubuntu.com/3922-2/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://usn.ubuntu.com/3922-3/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2019-9022
- https://www.debian.org/security/2019/dsa-4398 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- https://www.tenable.com/security/tns-2019-07 x_refsource_CONFIRM
Change history (0)
No recorded changes yet.