CVE-2015-6837: Null Pointer Dereference
The xslextfunctionphp function in ext/xsl/xsltprocessor.c in PHP before 5.4.45, 5.5.x before 5.5.29, and 5.6.x before 5.6.13, when libxml2 before 2.9.2 is used, does not consider the possibility of a NULL valuePop return value before proceeding with a free operation during initial error checking, which allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via a crafted XML document, a different vulnerability than CVE-2015-6838.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2015-6837?
CVE-2015-6837 has been classified as a medium severity vulnerability.
How do I fix CVE-2015-6837?
To fix CVE-2015-6837, upgrade your PHP installation to version 5.4.45, 5.5.29, or 5.6.13 or later.
What versions of PHP are affected by CVE-2015-6837?
CVE-2015-6837 affects PHP versions earlier than 5.4.45, 5.5.x earlier than 5.5.29, and 5.6.x earlier than 5.6.13.
Is CVE-2015-6837 specific to any libraries?
Yes, CVE-2015-6837 occurs when using libxml2 versions prior to 2.9.2.
What happens if CVE-2015-6837 is exploited?
Exploiting CVE-2015-6837 can lead to memory corruption and potential application crashes.