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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 7 | php5 | 5.4.4-14+deb7u11 | DSA-2961-1 |
| Debian 6.0 | php5 | 5.3.3-7+squeeze20 | DLA-0010-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | php5 | 5.5.9+dfsg-1ubuntu4.1 | USN-2254-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | php +24 | 5.4.16-23.el7_0 | RHSA-2014:1013 |
| RHEL 6 | php +26 | 5.3.3-27.el6_5.1 | RHSA-2014:1012 |
| RHEL 5 | php53 +20 | 5.3.3-23.el5_10 | RHSA-2014:1012 |
| RHEL 1 | php54-php +24 | 5.4.16-22.el6 | RHSA-2014:1765 |
| RHEL 1 | php55-php +26 | 5.5.6-13.el6 | RHSA-2014:1766 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 11 SP2 | php53 | 5.3.17-47.1 | SUSE-SU-2016:1638-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | php5 | 5.6.28-1.1 | openSUSE-SU-2024:10344-1 |
| openSUSE Tumbleweed | php7 | 7.0.14-1.4 | openSUSE-SU-2024:10290-1 |
| openSUSE Tumbleweed | php8 | 8.0.11-1.1 | openSUSE-SU-2024:11169-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | php +24 | 5.4.16-23.el7_0 | ELSA-2014-1013 |
Advisories 12
- RHSA-2014:1766 Red Hat Security Advisory: php55-php security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2014:1765 Red Hat Security Advisory: php54-php security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2014:1012 Red Hat Security Advisory: php53 and php security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2014:1013 Red Hat Security Advisory: php security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- USN-2254-1 php5 vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-2961-1 php5 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-0010-1 php5 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10290-1 apache2-mod_php7-7.0.14-1.4 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10344-1 apache2-mod_php5-5.6.28-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:1638-1 Security update for php53 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11169-1 php8-8.0.11-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- ELSA-2014-1013 Moderate: php security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Aug 6, 2014
References
- 59329 third-party-advisory
- SUSE-SU-2014:0868 vendor-advisory
- 59418 third-party-advisory
- https://support.apple.com/HT204659
- http://www-01.ibm.com/support/docview.wss?uid=swg21683486
- 59496 third-party-advisory
- 1030435 vdb-entry
- RHSA-2014:1766 vendor-advisory
- 59652 third-party-advisory
- 68007 vdb-entry
- 59513 third-party-advisory
- HPSBUX03102 vendor-advisory
- SUSE-SU-2014:0869 vendor-advisory
- 60998 third-party-advisory
- 59270 third-party-advisory
- APPLE-SA-2015-04-08-2 vendor-advisory
- http://support.apple.com/kb/HT6443
- openSUSE-SU-2014:0841 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1108447
- DSA-2961 vendor-advisory
- http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html
- RHSA-2014:1765 vendor-advisory
- https://github.com/php/php-src/commit/b34d7849ed90ced9345f8ea1c59bc8d101c18468
- [oss-security] 20140613 Re: CVE request: PHP heap-based buffer overflow in DNS TXT record parsing mailing-list
- openSUSE-SU-2014:0942 vendor-advisory