CVE-2014-4049
php: heap-based buffer overflow in DNS TXT record parsing
Severity
ModerateRed Hat Product Security
CVSS 2.0
Review impact separately from score.
Published · June 11, 2014
Updated · June 28, 2026
Description
A heap-based buffer overflow flaw was found in the way PHP parsed DNS TXT records. A malicious DNS server or a man-in-the-middle attacker could possibly use this flaw to execute arbitrary code as the PHP interpreter if a PHP application used the dns_get_record() function to perform a DNS query.
Statement
This issue did not affect the versions of php as shipped with Red Hat Enterprise Linux 5.
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 2.0 · 5.1AV:N/AC:H/Au:N/C:P/I:P/A:P
CWE-122 · Heap-based Buffer Overflow