What’s Vulnerable › Vulnerabilities
CVE-2014-4049
- Severity: medium (CVSS 5.1 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 10.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2014-06-18 · updated 2026-06-17
- Weakness: CWE-119
Description
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.
Affected products
- Debian Linux: 7.0, 8.0
- Opensuse: 11.3
- PHP: from 5.3.0 before 5.3.29; from 5.4.0 before 5.4.30; from 5.5.0 before 5.5.14; 5.6.0-alpha1, 5.6.0-alpha2, 5.6.0-alpha3, 5.6.0-alpha4, 5.6.0-alpha5, 5.6.0-beta1 (+2) — fixed in 5.3.29, 5.4.30, 5.5.14
How to fix
Upgrade to a fixed version: PHP 5.3.29, 5.4.30, 5.5.14. Check the vendor advisory for mitigations.
References
- http://lists.apple.com/archives/security-announce/2015/Apr/msg00001.html
- http://lists.opensuse.org/opensuse-security-announce/2014-07/msg00001.html
- http://lists.opensuse.org/opensuse-security-announce/2014-07/msg00002.html
- http://lists.opensuse.org/opensuse-updates/2014-06/msg00051.html
- http://lists.opensuse.org/opensuse-updates/2014-07/msg00032.html
- http://marc.info/?l=bugtraq&m=141017844705317&w=2
- http://rhn.redhat.com/errata/RHSA-2014-1765.html
- http://rhn.redhat.com/errata/RHSA-2014-1766.html
- http://secunia.com/advisories/59270
- http://secunia.com/advisories/59329
- http://secunia.com/advisories/59418
- http://secunia.com/advisories/59496
Get alerted when CVE-2014-4049 or the next vulnerability affects your stack