CVE-2019-9022: Buffer Overflow

Published Dec 29, 2018
·
Updated

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. dnsgetrecord 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 phpparserr in ext/standard/dns.c for DNSCAA and DNSANY queries.

Other sources

Fixed bug (memcpy with negative length via crafted DNS response). (CVE-2019-9022)

PHP

Affected Software

18 affected componentsFixes available
redhat/rh-php71-php<0:7.1.30-1.el7
0:7.1.30-1.el7
redhat/rh-php72-php<0:7.2.24-1.el7
0:7.2.24-1.el7
redhat/php<7.1.26
7.1.26
redhat/php<7.2.14
7.2.14
redhat/php<7.3.1
7.3.1
debian/php5
debian/php7.0
debian/php7.3
PHP PHP<7.1.26
7.1.26
PHP PHP>=7.0.0<7.1.26
PHP PHP>=7.2.0<7.2.14
PHP PHP>=7.3.0<7.3.2
Debian Debian Linux=8.0
Debian Debian Linux=9.0
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
NetApp Storage Automation Store

Event History

Dec 29, 2018
CVE Published
12:00 AM
Feb 22, 2019
CVE Published
via MITRE·11:00 PM
Data Sourced
via MITRE·11:00 PM
Description
Jan 11, 2024
Data Sourced
via Launchpad·11:32 PM
Description
Feb 23, 2026
Data Sourced
via Ubuntu·05:29 PM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the vulnerability ID?

The vulnerability ID is CVE-2019-9022.

2

What is the severity of CVE-2019-9022?

The severity of CVE-2019-9022 is high, with a severity value of 7.5.

3

Which software versions are affected by CVE-2019-9022?

PHP versions before 7.1.26, 7.2.14, and 7.3.2 are affected.

4

How does CVE-2019-9022 impact PHP?

CVE-2019-9022 allows a hostile DNS server to cause PHP to misuse memcpy, leading to read operations going past the buffer allocated for DNS data.

5

Are there any solutions or fixes available for CVE-2019-9022?

Yes, updating PHP to version 7.1.26, 7.2.14, or 7.3.2 will fix the vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203