Expired Pointer Dereference Affecting php-mbstring package, versions <0:8.5.13-0.1.hum1


Severity

Recommended
critical

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
9.34% (96th 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-RHEL10-PHPMBSTRING-22735530
  • published23 Nov 2026
  • disclosed19 Nov 2026

Introduced: 19 Nov 2026

NewCVE-2026-129474  (opens in a new tab)
CWE-825  (opens in a new tab)

How to fix?

Upgrade RHEL:10 php-mbstring to version 0:8.5.13-0.1.hum1 or higher.
This issue was patched in RHSA-2026:101658.

NVD Description

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

Use-after-free in magic method backtraces can lead to remote code execution.

When collecting the arguments of a method call handled by __call() or __callStatic() for a backtrace, PHP can read stale values that may refer to freed memory. If a fatal error such as exceeding memory_limit occurs while an application enters such a call, with fatal_error_backtraces enabled (the default) and zend.exception_ignore_args disabled, a remote attacker who controls enough request data to influence memory allocation may cause memory corruption, crash the PHP worker or, with knowledge of memory addresses, execute arbitrary code. php.ini-production enables zend.exception_ignore_args, which prevents this.

This issue affects PHP versions 8.5.* before 8.5.13.

CVSS Base Scores

version 3.1