Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-7259— Null pointer dereference in php_mb_check_encoding() via mb_ereg_search_init()

Quick assessment

Affected
PHP Group PHP
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

PHP是PHP开源的一种在服务器端执行的脚本语言。 PHP 8.2.31之前版本、8.3.31之前版本、8.4.21之前版本和8.5.6之前版本存在代码问题漏洞,该漏洞源于Oniguruma和mbfl之间的编码列表不匹配导致空指针取消引用,造成段错误和拒绝服务,当用户控制的输入可影响传递给mb_regex_encoding()的编码时可能被利用。

AI Predicted 7.5 Difficulty: Easy EPSS 0.34% · P26

Affected Version Matrix 4

VendorProduct Version RangeStatus
PHP Group PHP 8.2.*< 8.2.31 affected
8.3.*< 8.3.31 affected
8.4.*< 8.4.21 affected
8.5.*< 8.5.6 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-7259

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Null pointer dereference in php_mb_check_encoding() via mb_ereg_search_init()
Source: CVE Program / CVE List V5
Vulnerability 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().
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L/AU:Y/U:Amber
Source: CVE Program / CVE List V5
Vulnerability Type
空指针解引用
Source: CVE Program / CVE List V5
Vulnerability Title
PHP 代码问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
PHP是PHP开源的一种在服务器端执行的脚本语言。 PHP 8.2.31之前版本、8.3.31之前版本、8.4.21之前版本和8.5.6之前版本存在代码问题漏洞,该漏洞源于Oniguruma和mbfl之间的编码列表不匹配导致空指针取消引用,造成段错误和拒绝服务,当用户控制的输入可影响传递给mb_regex_encoding()的编码时可能被利用。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
PHP Group PHP 8.2.* ~ 8.2.31 -

II. Public POCs for CVE-2026-7259

# POC Description Source Link Shenlong Link
AI-Generated POC Verified env Premium
Reproduced successfully in a real sandbox · Below is the actual recording of building the environment and exploiting the vulnerability.
Reproduction recording is a Pro+ exclusive
Watch the full sandbox build + live exploit recording for this CVE. Limited-time ¥499/mo.
Upgrade to Pro+
claude_code · 2212 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-7259

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-7259 (1)

Same Patch Batch · PHP Group · 2026-05-10 · 10 CVEs total

CVE-2026-6722 9.5 CRITICAL Use-After-Free in SOAP using Apache map
CVE-2026-7258 Out-of-bounds read in urldecode() on NetBSD
CVE-2026-7262 NULL pointer dereference in SOAP apache:Map decoder with missing <value>
CVE-2026-7261 SoapServer session-persisted object use-after-free via SOAP header fault
CVE-2026-7568 Signed integer overflow in metaphone()
CVE-2026-6735 XSS within PHP-FPM status endpoint
CVE-2025-14179 SQL injection in pdo_firebird via NUL bytes in quoted strings
CVE-2026-7263 DoS attack via DOMNode::C14N()
CVE-2026-6104 Global buffer over-read in mb_convert_encoding() with attacker-supplied encoding

IV. Related Vulnerabilities

V. Comments for CVE-2026-7259

No comments yet


Leave a comment