CVE-2014-4049: Heap-based buffer overflow in the php_parserr function in ext/standard/dns.c in PHP 5.6.0beta4 and earlier allows remote servers to cause…

CVE-2014-4049 affects 14 listed versions of PHP in the Dawnsentry catalogue.

5.1CVSS medium
None knownexploitation
11%EPSS (next 30 days)
18 June 2014published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

PHP

14 of 250 listed versions are affected. Fixed in 5.3.29. The newest release, 8.6.0, is not affected.

5.3.28 5.3.27 5.3.26 5.3.25 5.3.24 5.3.23 5.3.22 5.3.21 5.3.20 5.3.19 5.3.18 5.3.17 5.3.16 5.3.15

What it is

Heap-based buffer overflow in the php_parserr function in ext/standard/dns.c in PHP 5.6.0beta4 and earlier allows remote servers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted DNS TXT record, related to the dns_get_record function.

AV:N/AC:H/Au:N/C:P/I:P/A:P (NVD)

Published by MITRE on 18 June 2014. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2014-4049 up, or pick a product and version in the quick lookup.

Updated 1 December 2026.