CVE-2015-6838: 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 after the principal argument loop, 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-6837.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2015-6838?
CVE-2015-6838 is rated as having a medium severity, due to the potential for an attacker to exploit PHP's XSLT processor.
How do I fix CVE-2015-6838?
To fix CVE-2015-6838, upgrade to PHP version 5.6.13 or newer, or to 5.5.29 or newer.
Which PHP versions are vulnerable to CVE-2015-6838?
PHP versions before 5.4.45, 5.5.x before 5.5.29, and 5.6.x before 5.6.13 are vulnerable to CVE-2015-6838.
What components are affected by CVE-2015-6838?
CVE-2015-6838 affects the xsl_ext_function_php function in PHP when using libxml2 versions earlier than 2.9.2.
Can CVE-2015-6838 lead to remote code execution?
CVE-2015-6838 does not directly enable remote code execution but may allow an attacker to exploit the XSLT processor under specific conditions.