NULL Pointer Dereference Affecting rh-php56-php-mbstring package, versions <0:5.6.5-8.el7


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
2.78% (91st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-RHPHP56PHPMBSTRING-4657396
  • published26 Jul 2021
  • disclosed9 Jun 2015

Introduced: 9 Jun 2015

CVE-2015-6838  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade RHEL:7 rh-php56-php-mbstring to version 0:5.6.5-8.el7 or higher.
This issue was patched in RHSA-2016:0457.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rh-php56-php-mbstring package and not the rh-php56-php-mbstring package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

The xsl_ext_function_php 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.

CVSS Scores

version 3.1