Am I affected?
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 a denial of service (crash) and possibly execute arbitrary code via a crafted DNS TXT record, related to the dns_get_record function.
Not in the CISA KEV catalog as of the last sync. That means no confirmed exploitation is listed there, not that it is safe.
Exploit probability (FIRST EPSS): 10.9% chance of exploitation activity in the next 30 days (top 5% of all scored CVEs), scored 2026-11-23. EPSS is a likelihood estimate, not proof of attacks.
Check your PHP version
Fixed versions by branch
| Branch | Affected (NVD) | Fixed in |
|---|---|---|
| PHP 5.6 | PHP 5.6 only, 5.6.0 exactly | not stated |
| PHP 5.5 | 5.5.0 (including) to 5.5.14 (excluding) | 5.5.14 |
| PHP 5.4 | 5.4.0 (including) to 5.4.30 (excluding) | 5.4.30 |
| PHP 5.3 | 5.3.0 (including) to 5.3.29 (excluding) | 5.3.29 |
"Fixed in" is shown only when the source gives an exact upper bound. Any later patch in the same branch also has the fix. Linux distributions (Ubuntu, Debian, RHEL) often backport fixes without changing the PHP version number.
Related CVEs
Other PHP CVEs that NVD lists for the same branches.
- CVE-2018-19520 High 8.8 · PHP 5.6, 5.5, 5.4, 5.3 · 2018-11-25
- CVE-2018-19395 High 7.5 · PHP 5.6, 5.5, 5.4, 5.3 · 2018-11-20
- CVE-2018-19396 High 7.5 · PHP 5.6, 5.5, 5.4, 5.3 · 2018-11-20
- CVE-2015-8994 High 7.5 · PHP 5.6, 5.5, 5.4, 5.3 · 2017-03-02
- CVE-2016-7478 High 7.5 · PHP 5.6, 5.5, 5.4, 5.3 · 2017-01-11
- CVE-2014-9427 High 7.5 · PHP 5.6, 5.5, 5.4, 5.3 · 2015-01-03
Questions
- Which PHP versions are affected by CVE-2014-4049?
- NVD lists these affected ranges: PHP 5.6 only, 5.6.0 exactly; 5.5.0 (including) to 5.5.14 (excluding); 5.4.0 (including) to 5.4.30 (excluding); 5.3.0 (including) to 5.3.29 (excluding).
- Which PHP version fixes CVE-2014-4049?
- According to NVD, the fix is in PHP 5.5.14, 5.4.30, 5.3.29 (upgrade to that release or any later patch in the same branch).
- Does a version check prove my server is safe from CVE-2014-4049?
- No. The SAPI, web server, operating system, loaded extensions and configuration change whether a bug can be reached, and Linux distributions often backport fixes without changing the upstream version number.
Sources: CVE-2014-4049 on NIST NVD. NVD data synced 2026-11-24T03:47:46.548Z. See all PHP CVEs in the CVE explorer.