CVE-2026-7259

Null pointer dereference in php_mb_check_encoding() via mb_ereg_search_init()

MEDIUM
6.5
CVSS Score
Published: May 10, 2026 at 04:13 AM UTC
Updated: July 24, 2026 at 08:23 AM UTC
1 product affected across 1 vendorPHP

Using PHP by PHP Group?

Get instant alerts when new vulnerabilities affect PHP - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

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().

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

PHP· PHPdrupal
95%
8.2.* ≤ v < 8.2.318.2.0 ≤ v < 8.2.318.3.* ≤ v < 8.3.318.3.0 ≤ v < 8.3.318.4.* ≤ v < 8.4.218.4.0 ≤ v < 8.4.218.5.* ≤ v < 8.5.68.5.0 ≤ v < 8.5.68.2.*8.3.*8.4.*8.5.*
Affected range stops below 8.2.31, so it looks safe — our inference, not a vendor statement
Affected range stops below 8.3.31, so it looks safe — our inference, not a vendor statement
Affected range stops below 8.4.21, so it looks safe — our inference, not a vendor statement
Affected range stops below 8.5.6, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card