Skip to content
Fencer Intel
medium 5.1

CVE-2014-4049 json

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…

published 2014-06-18 12 y ago modified 2026-06-17 4 mo ago also EUVD-2014-3980

cvss
5.1
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
10.9%
EPSS 10.9% chance of exploitation in 30 days, percentile 95%
public exploits
0
none known

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.

Patch / fix

  • php php 5.3.29, 5.4.30, 5.5.14
  • php5 Ubuntu 14.04 LTS 5.5.9+dfsg-1ubuntu4.1

ubuntu advisories UBUNTU-CVE-2014-4049

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • php RHEL 6 5.3.3-27.el6_5.1
  • php53 RHEL 5 5.3.3-23.el5_10
  • php-gd RHEL 6 5.3.3-27.el6_5.1
  • php-cli RHEL 6 5.3.3-27.el6_5.1
  • php-dba RHEL 6 5.3.3-27.el6_5.1
  • php-fpm RHEL 6 5.3.3-27.el6_5.1
  • php-pdo RHEL 6 5.3.3-27.el6_5.1
  • php-xml RHEL 6 5.3.3-27.el6_5.1

red hat advisories RHSA-2014:1012RHSA-2014:1766RHSA-2014:1765RHSA-2014:1013

  • php53 SLES 11 SP2-LTSS 5.3.17-47.1

suse advisories SUSE-SU-2016:1638-1

  • php7 openSUSE Tumbleweed 7.0.14-1.4
  • php5 openSUSE Tumbleweed 5.6.28-1.1
  • php8 openSUSE Tumbleweed 8.0.11-1.1

opensuse advisories openSUSE-SU-2024:10290-1openSUSE-SU-2024:10344-1openSUSE-SU-2024:11169-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2014-4049 updated cvss 5.1

php: heap-based buffer overflow in DNS TXT record parsing

  • Red Hat Enterprise Linux (v. 5 server) php53 5.3.3-23.el5_10, php53-gd 5.3.3-23.el5_10, php53-cli 5.3.3-23.el5_10, php53-dba 5.3.3-23.el5_10, php53-pdo 5.3.3-23.el5_10, php53-xml 5.3.3-23.el5_10, +14 more
    fixed: vendor fix RHSA-2014:1012
  • Red Hat Enterprise Linux Client Optional (v. 7) php 5.4.16-23.el7_0, php-gd 5.4.16-23.el7_0, php-cli 5.4.16-23.el7_0, php-dba 5.4.16-23.el7_0, php-fpm 5.4.16-23.el7_0, php-pdo 5.4.16-23.el7_0, +18 more Red Hat Enterprise Linux ComputeNode Optional (v. 7) php 5.4.16-23.el7_0, php-gd 5.4.16-23.el7_0, php-cli 5.4.16-23.el7_0, php-dba 5.4.16-23.el7_0, php-fpm 5.4.16-23.el7_0, php-pdo 5.4.16-23.el7_0, +18 more
    fixed: vendor fix RHSA-2014:1013
  • Red Hat Enterprise Linux Desktop Optional (v. 6) php 5.3.3-27.el6_5.1, php-gd 5.3.3-27.el6_5.1, php-cli 5.3.3-27.el6_5.1, php-dba 5.3.3-27.el6_5.1, php-fpm 5.3.3-27.el6_5.1, php-pdo 5.3.3-27.el6_5.1, +20 more Red Hat Enterprise Linux Desktop Workstation (v. 5 client) php53 5.3.3-23.el5_10, php53-gd 5.3.3-23.el5_10, php53-cli 5.3.3-23.el5_10, php53-dba 5.3.3-23.el5_10, php53-pdo 5.3.3-23.el5_10, php53-xml 5.3.3-23.el5_10, +14 more 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-gd 5.3.3-27.el6_5.1, php-dba 5.3.3-27.el6_5.1, php-fpm 5.3.3-27.el6_5.1, php-pdo 5.3.3-27.el6_5.1, php-xml 5.3.3-27.el6_5.1, +18 more Red Hat Enterprise Linux Server (v. 6) php 5.3.3-27.el6_5.1, php-gd 5.3.3-27.el6_5.1, php-cli 5.3.3-27.el6_5.1, php-pdo 5.3.3-27.el6_5.1, php-xml 5.3.3-27.el6_5.1, php-ldap 5.3.3-27.el6_5.1, +6 more
    fixed: vendor fix RHSA-2014:1012
  • Red Hat Enterprise Linux Server (v. 7) php 5.4.16-23.el7_0, php-gd 5.4.16-23.el7_0, php-cli 5.4.16-23.el7_0, php-pdo 5.4.16-23.el7_0, php-xml 5.4.16-23.el7_0, php-ldap 5.4.16-23.el7_0, +8 more
    fixed: vendor fix RHSA-2014:1013
  • Red Hat Enterprise Linux Server Optional (v. 6) php 5.3.3-27.el6_5.1, php-dba 5.3.3-27.el6_5.1, php-fpm 5.3.3-27.el6_5.1, php-zts 5.3.3-27.el6_5.1, php-imap 5.3.3-27.el6_5.1, php-intl 5.3.3-27.el6_5.1, +9 more
    fixed: vendor fix RHSA-2014:1012
  • Red Hat Enterprise Linux Server Optional (v. 7) php-dba 5.4.16-23.el7_0, php-fpm 5.4.16-23.el7_0, php-intl 5.4.16-23.el7_0, php-snmp 5.4.16-23.el7_0, php-bcmath 5.4.16-23.el7_0, php-pspell 5.4.16-23.el7_0, +4 more
    fixed: vendor fix RHSA-2014:1013
  • Red Hat Enterprise Linux Workstation (v. 6) php 5.3.3-27.el6_5.1, php-gd 5.3.3-27.el6_5.1, php-cli 5.3.3-27.el6_5.1, php-pdo 5.3.3-27.el6_5.1, php-xml 5.3.3-27.el6_5.1, php-ldap 5.3.3-27.el6_5.1, +6 more
    fixed: vendor fix RHSA-2014:1012
  • Red Hat Enterprise Linux Workstation (v. 7) php 5.4.16-23.el7_0, php-gd 5.4.16-23.el7_0, php-cli 5.4.16-23.el7_0, php-pdo 5.4.16-23.el7_0, php-xml 5.4.16-23.el7_0, php-ldap 5.4.16-23.el7_0, +8 more
    fixed: vendor fix RHSA-2014:1013
show 4 more
  • Red Hat Enterprise Linux Workstation Optional (v. 6) php 5.3.3-27.el6_5.1, php-dba 5.3.3-27.el6_5.1, php-fpm 5.3.3-27.el6_5.1, php-zts 5.3.3-27.el6_5.1, php-imap 5.3.3-27.el6_5.1, php-intl 5.3.3-27.el6_5.1, +9 more
    fixed: vendor fix RHSA-2014:1012
  • Red Hat Enterprise Linux Workstation Optional (v. 7) php-dba 5.4.16-23.el7_0, php-fpm 5.4.16-23.el7_0, php-intl 5.4.16-23.el7_0, php-snmp 5.4.16-23.el7_0, php-bcmath 5.4.16-23.el7_0, php-pspell 5.4.16-23.el7_0, +4 more
    fixed: vendor fix RHSA-2014:1013
  • Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 6) php55-php 5.5.6-13.el6, php54-php 5.4.16-22.el6, php55-php-gd 5.5.6-13.el6, php54-php-gd 5.4.16-22.el6, php55-php-cli 5.5.6-13.el6, php55-php-dba 5.5.6-13.el6, +44 more Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 7) php55-php 5.5.6-13.el7, php54-php 5.4.16-22.el7, php55-php-gd 5.5.6-13.el7, php54-php-gd 5.4.16-22.el7, php55-php-cli 5.5.6-13.el7, php55-php-dba 5.5.6-13.el7, +40 more Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.4) php55-php 5.5.6-13.el6, php54-php 5.4.16-22.el6, php55-php-gd 5.5.6-13.el6, php54-php-gd 5.4.16-22.el6, php55-php-cli 5.5.6-13.el6, php55-php-dba 5.5.6-13.el6, +44 more Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.5) php55-php 5.5.6-13.el6, php54-php 5.4.16-22.el6, php55-php-gd 5.5.6-13.el6, php54-php-gd 5.4.16-22.el6, php55-php-cli 5.5.6-13.el6, php55-php-dba 5.5.6-13.el6, +44 more Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.6) php55-php 5.5.6-13.el6, php54-php 5.4.16-22.el6, php55-php-gd 5.5.6-13.el6, php54-php-gd 5.4.16-22.el6, php55-php-cli 5.5.6-13.el6, php55-php-dba 5.5.6-13.el6, +44 more Red Hat Software Collections 1 for Red Hat Enterprise Linux Workstation (v. 6) php55-php 5.5.6-13.el6, php54-php 5.4.16-22.el6, php55-php-gd 5.5.6-13.el6, php54-php-gd 5.4.16-22.el6, php55-php-cli 5.5.6-13.el6, php55-php-dba 5.5.6-13.el6, +44 more
    +1 more products
    Red Hat Software Collections 1 for Red Hat Enterprise Linux Workstation (v. 7) php55-php 5.5.6-13.el7, php54-php 5.4.16-22.el7, php55-php-gd 5.5.6-13.el7, php54-php-gd 5.4.16-22.el7, php55-php-cli 5.5.6-13.el7, php55-php-dba 5.5.6-13.el7, +40 more
    fixed: vendor fix RHSA-2014:1765
  • Red Hat Enterprise Linux 5 php
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

10.91% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 2.0 5.1 AV:N/AC:H/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.