Read the docs
TI-2026-06373 Aliases CVE-2026-7259

Null pointer dereference in php_mb_check_encoding() via mb_ereg_search_init()

Priority LOW 10CWE-476Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Active
Attack complexity
High
Attack requirements
Present
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · Low
Fix status
Partial Red Hat: 2 fixed, 3 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-476.

Summary

In PHP versions 8.2.* before 8.2.31, 8.3.* before 8.3.31, 8.4.* before 8.4.21, and 8.5.* before 8.5.6, a mismatch between encoding lists in Oniguruma and mbfl leads to  a NULL pointer dereference, resulting in a segmentation fault and denial of service. The vulnerability is exploitable when user-controlled input can influence the encoding passed to mb_regex_encoding().

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00186 8th percentileScored 2026-11-07
Fix Partial PHP (PHP Group): 8.2.31, 8.3.31, 8.4.21 +1Red Hat: 2 advisoriesRed Hat: 2 fixed, 3 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
PHP GroupPHPbefore 8.2.31; before 8.3.31; before 8.4.21; before 8.5.68.2.31, 8.3.31, 8.4.21, 8.5.6Patch availableCNA
  • PHP VendorPHP Group Affected before 8.2.31; before 8.3.31; before 8.4.21; before 8.5.6 Fixed in 8.2.31, 8.3.31, 8.4.21, 8.5.6 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*8.2.0 to before 8.2.31; 8.3.0 to before 8.3.31; 8.4.0 to before 8.4.21; 8.5.0 to before 8.5.6VulnerablePHP
  • cpe:2.3:a:php:php:*:*:*:*:*:*:*:* Versions 8.2.0 to before 8.2.31; 8.3.0 to before 8.3.31; 8.4.0 to before 8.4.21; 8.5.0 to before 8.5.6 Vulnerable ·PHP

Remediation

  • Fix · CNA PHP (PHP Group) Fixed in 8.2.31, 8.3.31, 8.4.21, 8.5.6

Red Hat 2 advisories

  • RHSA-2026:33449 Released 2026-06-30 · Red Hat rating Important
    php security update
    • Red Hat Enterprise Linux AppStream (v. 9) php-8.0.30-6.el9_8, php-bcmath-8.0.30-6.el9_8, php-cli-8.0.30-6.el9_8 +22
  • RHSA-2026:23388 Released 2026-06-04 · Red Hat rating Important
    php security update
    • Red Hat Enterprise Linux AppStream (v. 10) php-8.3.31-1.el10_2, php-bcmath-8.3.31-1.el10_2, php-cli-8.3.31-1.el10_2 +22

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    PHP 8.2.31, 8.3.31 and 2 more versions

    8 records Highest priority Priority MEDIUM 1 MEDIUM, 7 LOW

    Other records, highest priority first

    • TI-2026-05890 Use-After-Free in SOAP using Apache mapPriority MEDIUM 45
    • TI-2025-12957 SQL injection in pdo_firebird via NUL bytes in quoted stringsPriority LOW 35
    • TI-2026-06375 SoapServer session-persisted object use-after-free via SOAP header faultPriority LOW 34

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 10AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 8AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 9AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux AppStream (v. 10)Fixed RHSA-2026:23388
Red Hat Enterprise Linux AppStream (v. 9)Fixed RHSA-2026:33449
Not affected: 4 products
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Hardened Images

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-7259

References

  • TI-2024-04260 Argument Injection in PHP-CGI KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-78794 PHP remote code execution via stale global state KEVCVSS 4.0CRITICAL 9.2
  • TI-2026-78793 Out-of-memory handling flaw in PHP allows remote code execution KEVCVSS 4.0CRITICAL 9.2
  • TI-2024-01743 Command injection via array-ish $command parameter of proc_open() CVSS 3.1CRITICAL 9.4
  • TI-2022-13555 PDO::quote() may return unquoted string CVSS 3.1CRITICAL 9.1
  • TI-2024-10408 Reference counting in php_request_shutdown causes Use-After-Free CVSS 4.0CRITICAL 9.2
See all 107 →

Sources