CVE-2014-4049: Buffer Overflow

Published Jun 12, 2014
·
Updated

Heap-based buffer overflow in the phpparserr 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 dnsgetrecord function.

Other sources

Stefan Esser pointed out that the following commit fixes a heap-based buffer overflow in DNS TXT record parsing:

https://github.com/php/php-src/commit/b34d7849ed90ced9345f8ea1c59bc8d101c18468

A malicious server or man-in-the-middle attacker could possibly use this flaw to execute arbitrary code as the PHP interpreter if a PHP application uses dnsgetrecord() to perform a DNS query.

Affected Software

14 affected components
openSUSE openSUSE=11.3
PHP PHP>=5.3.0<5.3.29
PHP PHP>=5.4.0<5.4.30
PHP PHP>=5.5.0<5.5.14
PHP PHP=5.6.0-alpha1
PHP PHP=5.6.0-alpha2
PHP PHP=5.6.0-alpha3
PHP PHP=5.6.0-alpha4
PHP PHP=5.6.0-alpha5
PHP PHP=5.6.0-beta1
PHP PHP=5.6.0-beta2
PHP PHP=5.6.0-beta3
Debian Debian Linux=7.0
Debian Debian Linux=8.0

Event History

Jun 12, 2014
Data Sourced
04:52 AM
DescriptionSeverityAffected Software
Jun 18, 2014
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2014-4049?

CVE-2014-4049 is considered critical as it may lead to denial of service and arbitrary code execution.

2

How do I fix CVE-2014-4049?

To mitigate CVE-2014-4049, upgrade PHP to a version later than 5.6.0beta4, where the vulnerability is resolved.

3

Which PHP versions are affected by CVE-2014-4049?

CVE-2014-4049 affects PHP versions from 5.3.0 up to 5.6.0beta4.

4

Can CVE-2014-4049 lead to data breaches?

Yes, due to the potential for arbitrary code execution, CVE-2014-4049 could lead to unauthorized access and data breaches.

5

Is CVE-2014-4049 specific to certain operating systems?

CVE-2014-4049 impacts PHP installations across various operating systems including openSUSE and Debian.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203