Heap-based buffer overflow in the php_parserr function in ext/standard/dns.c in PHP…
Priority LOW 36CWE-119Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- High
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-119 and the CVSS impact.
Summary
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.
Why it matters now
EPSS 0.1091 95th percentileScored 2026-11-07
Fix Fixed Red Hat: 4 advisories
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 12
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:opensuse:opensuse:11.3:*:*:*:*:*:*:* | 11.3 | Vulnerable | openSUSE |
| cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 5.3.0 to before 5.3.29; 5.4.0 to before 5.4.30; 5.5.0 to before 5.5.14 | Vulnerable | PHP |
| cpe:2.3:a:php:php:5.6.0:alpha1:*:*:*:*:*:* | 5.6.0 alpha1 | Vulnerable | PHP |
| cpe:2.3:a:php:php:5.6.0:alpha2:*:*:*:*:*:* | 5.6.0 alpha2 | Vulnerable | PHP |
| cpe:2.3:a:php:php:5.6.0:alpha3:*:*:*:*:*:* | 5.6.0 alpha3 | Vulnerable | PHP |
| cpe:2.3:a:php:php:5.6.0:alpha4:*:*:*:*:*:* | 5.6.0 alpha4 | Vulnerable | PHP |
| cpe:2.3:a:php:php:5.6.0:alpha5:*:*:*:*:*:* | 5.6.0 alpha5 | Vulnerable | PHP |
| cpe:2.3:a:php:php:5.6.0:beta1:*:*:*:*:*:* | 5.6.0 beta1 | Vulnerable | PHP |
| cpe:2.3:a:php:php:5.6.0:beta2:*:*:*:*:*:* | 5.6.0 beta2 | Vulnerable | PHP |
| cpe:2.3:a:php:php:5.6.0:beta3:*:*:*:*:*:* | 5.6.0 beta3 | Vulnerable | PHP |
- cpe:2.3:o:opensuse:opensuse:11.3:*:*:*:*:*:*:* Versions 11.3 Vulnerable ·openSUSE
- cpe:2.3:a:php:php:*:*:*:*:*:*:*:* Versions 5.3.0 to before 5.3.29; 5.4.0 to before 5.4.30; 5.5.0 to before 5.5.14 Vulnerable ·PHP
- cpe:2.3:a:php:php:5.6.0:alpha1:*:*:*:*:*:* Versions 5.6.0 alpha1 Vulnerable ·PHP
- cpe:2.3:a:php:php:5.6.0:alpha2:*:*:*:*:*:* Versions 5.6.0 alpha2 Vulnerable ·PHP
- cpe:2.3:a:php:php:5.6.0:alpha3:*:*:*:*:*:* Versions 5.6.0 alpha3 Vulnerable ·PHP
- cpe:2.3:a:php:php:5.6.0:alpha4:*:*:*:*:*:* Versions 5.6.0 alpha4 Vulnerable ·PHP
- cpe:2.3:a:php:php:5.6.0:alpha5:*:*:*:*:*:* Versions 5.6.0 alpha5 Vulnerable ·PHP
- cpe:2.3:a:php:php:5.6.0:beta1:*:*:*:*:*:* Versions 5.6.0 beta1 Vulnerable ·PHP
- cpe:2.3:a:php:php:5.6.0:beta2:*:*:*:*:*:* Versions 5.6.0 beta2 Vulnerable ·PHP
- cpe:2.3:a:php:php:5.6.0:beta3:*:*:*:*:*:* Versions 5.6.0 beta3 Vulnerable ·PHP
Remediation
Red Hat 4 advisories
- RHSA-2014:1765 Released 2014-10-30 · Red Hat rating Importantphp54-php security update
- Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 6) php54-php-5.4.16-22.el6, php54-php-bcmath-5.4.16-22.el6, php54-php-cli-5.4.16-22.el6 +22
- Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 7) php54-php-5.4.16-22.el7, php54-php-bcmath-5.4.16-22.el7, php54-php-cli-5.4.16-22.el7 +20
- Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.4) php54-php-5.4.16-22.el6, php54-php-bcmath-5.4.16-22.el6, php54-php-cli-5.4.16-22.el6 +22
- Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.5) php54-php-5.4.16-22.el6, php54-php-bcmath-5.4.16-22.el6, php54-php-cli-5.4.16-22.el6 +22
- Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.6) php54-php-5.4.16-22.el6, php54-php-bcmath-5.4.16-22.el6, php54-php-cli-5.4.16-22.el6 +22
- Red Hat Software Collections 1 for Red Hat Enterprise Linux Workstation (v. 6) php54-php-5.4.16-22.el6, php54-php-bcmath-5.4.16-22.el6, php54-php-cli-5.4.16-22.el6 +22
- Red Hat Software Collections 1 for Red Hat Enterprise Linux Workstation (v. 7) php54-php-5.4.16-22.el7, php54-php-bcmath-5.4.16-22.el7, php54-php-cli-5.4.16-22.el7 +20
- RHSA-2014:1766 Released 2014-10-30 · Red Hat rating Importantphp55-php security update
- Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 6) php55-php-5.5.6-13.el6, php55-php-bcmath-5.5.6-13.el6, php55-php-cli-5.5.6-13.el6 +24
- Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 7) php55-php-5.5.6-13.el7, php55-php-bcmath-5.5.6-13.el7, php55-php-cli-5.5.6-13.el7 +22
- Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.4) php55-php-5.5.6-13.el6, php55-php-bcmath-5.5.6-13.el6, php55-php-cli-5.5.6-13.el6 +24
- Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.5) php55-php-5.5.6-13.el6, php55-php-bcmath-5.5.6-13.el6, php55-php-cli-5.5.6-13.el6 +24
- Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.6) php55-php-5.5.6-13.el6, php55-php-bcmath-5.5.6-13.el6, php55-php-cli-5.5.6-13.el6 +24
- Red Hat Software Collections 1 for Red Hat Enterprise Linux Workstation (v. 6) php55-php-5.5.6-13.el6, php55-php-bcmath-5.5.6-13.el6, php55-php-cli-5.5.6-13.el6 +24
- Red Hat Software Collections 1 for Red Hat Enterprise Linux Workstation (v. 7) php55-php-5.5.6-13.el7, php55-php-bcmath-5.5.6-13.el7, php55-php-cli-5.5.6-13.el7 +22
- RHSA-2014:1013 Released 2014-08-06 · Red Hat rating Moderatephp security update
- Red Hat Enterprise Linux Client Optional (v. 7) php-5.4.16-23.el7_0, php-bcmath-5.4.16-23.el7_0, php-cli-5.4.16-23.el7_0 +22
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) php-5.4.16-23.el7_0, php-bcmath-5.4.16-23.el7_0, php-cli-5.4.16-23.el7_0 +22
- Red Hat Enterprise Linux Server (v. 7) php-5.4.16-23.el7_0, php-cli-5.4.16-23.el7_0, php-common-5.4.16-23.el7_0 +11
- Red Hat Enterprise Linux Server Optional (v. 7) php-bcmath-5.4.16-23.el7_0, php-dba-5.4.16-23.el7_0, php-devel-5.4.16-23.el7_0 +8
- Red Hat Enterprise Linux Workstation (v. 7) php-5.4.16-23.el7_0, php-cli-5.4.16-23.el7_0, php-common-5.4.16-23.el7_0 +11
- Red Hat Enterprise Linux Workstation Optional (v. 7) php-bcmath-5.4.16-23.el7_0, php-dba-5.4.16-23.el7_0, php-devel-5.4.16-23.el7_0 +8
Show 1 more Red Hat advisories
- RHSA-2014:1012 Released 2014-08-06 · Red Hat rating Moderatephp53 and php security update
- Red Hat Enterprise Linux (v. 5 server) php53-5.3.3-23.el5_10, php53-5.3.3-23.el5_10.i386, php53-5.3.3-23.el5_10.ia64 +47
- Red Hat Enterprise Linux Desktop Optional (v. 6) php-5.3.3-27.el6_5.1, php-bcmath-5.3.3-27.el6_5.1, php-cli-5.3.3-27.el6_5.1 +24
- Red Hat Enterprise Linux Desktop Workstation (v. 5 client) php53-5.3.3-23.el5_10, php53-5.3.3-23.el5_10.i386, php53-bcmath-5.3.3-23.el5_10 +39
- Red Hat Enterprise Linux HPC Node (v. 6) php-5.3.3-27.el6_5.1, php-cli-5.3.3-27.el6_5.1, php-common-5.3.3-27.el6_5.1
- Red Hat Enterprise Linux HPC Node Optional (v. 6) php-5.3.3-27.el6_5.1, php-bcmath-5.3.3-27.el6_5.1, php-dba-5.3.3-27.el6_5.1 +22
- Red Hat Enterprise Linux Server (v. 6) php-5.3.3-27.el6_5.1, php-cli-5.3.3-27.el6_5.1, php-common-5.3.3-27.el6_5.1 +9
- Red Hat Enterprise Linux Server Optional (v. 6) php-5.3.3-27.el6_5.1, php-bcmath-5.3.3-27.el6_5.1, php-dba-5.3.3-27.el6_5.1 +13
- Red Hat Enterprise Linux Workstation (v. 6) php-5.3.3-27.el6_5.1, php-cli-5.3.3-27.el6_5.1, php-common-5.3.3-27.el6_5.1 +9
- Red Hat Enterprise Linux Workstation Optional (v. 6) php-5.3.3-27.el6_5.1, php-bcmath-5.3.3-27.el6_5.1, php-dba-5.3.3-27.el6_5.1 +13
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux (v. 5 server) | Fixed | RHSA-2014:1012 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2014:1013 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2014:1013 |
| Red Hat Enterprise Linux Desktop Optional (v. 6) | Fixed | RHSA-2014:1012 |
| Red Hat Enterprise Linux Desktop Workstation (v. 5 client) | Fixed | RHSA-2014:1012 |
| Red Hat Enterprise Linux HPC Node (v. 6) | Fixed | RHSA-2014:1012 |
| Red Hat Enterprise Linux HPC Node Optional (v. 6) | Fixed | RHSA-2014:1012 |
| Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2014:1012 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2014:1013 |
| Red Hat Enterprise Linux Server Optional (v. 6) | Fixed | RHSA-2014:1012 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2014:1013 |
| Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2014:1012 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2014:1013 |
| Red Hat Enterprise Linux Workstation Optional (v. 6) | Fixed | RHSA-2014:1012 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2014:1013 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2014:1765, RHSA-2014:1766 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2014:1765, RHSA-2014:1766 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.4) | Fixed | RHSA-2014:1765, RHSA-2014:1766 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.5) | Fixed | RHSA-2014:1765, RHSA-2014:1766 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.6) | Fixed | RHSA-2014:1765, RHSA-2014:1766 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2014:1765, RHSA-2014:1766 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2014:1765, RHSA-2014:1766 |
Not affected: 1 product
- Red Hat Enterprise Linux 5
Timeline
- 2026-10-02 Threatist record created from CVE-2014-4049
- 2026-10-03 Alias added: GHSA-8g2q-wfwm-rfv3
References
Advisory 14
- SUSE-SU-2014:0868
- https://support.apple.com/HT204659
- http://www-01.ibm.com/support/docview.wss?uid=swg21683486
- RHSA-2014:1766
- HPSBUX03102
- SUSE-SU-2014:0869
- APPLE-SA-2015-04-08-2
- http://support.apple.com/kb/HT6443
- openSUSE-SU-2014:0841
- DSA-2961
- http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html
- RHSA-2014:1765
- [oss-security] 20140613 Re: CVE request: PHP heap-based buffer overflow in DNS TXT record parsing
- openSUSE-SU-2014:0942
Sources
- CVE-2014-4049 · CVE Program
- CVE-2014-4049 · NVD
- FIRST EPSS
- GHSA-8g2q-wfwm-rfv3 · GitHub Advisory Database · CC BY 4.0
- CVE-2014-4049 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences