CVE Database›Document archive›CVE-2019-9022

CVE-2019-9022

php: memcpy with negative length via crafted DNS response

Loading…

Severity

Low

Red Hat Product Security

4.6

CVSS 3.0

Review impact separately from score.

Published · December 29, 2018

Updated · June 28, 2026

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.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.0 · 4.6
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:L

CWE-119 · Improper Restriction of Operations within the Bounds of a Memory Buffer