Home / Advisories / CVE-2026-7259 CVE-2026-7259: Null pointer dereference in php_mb_check_encoding() via mb_ereg_search_init() low Affects PHP engine . Feed 2026.11.29.1, updated 2026-11-28; published 2026-05-10 .
Null pointer dereference in php_mb_check_encoding() via mb_ereg_search_init() Package PHP engine PHP engine Affected branches 8.2 → fixed in 8.2.31; 8.3 → fixed in 8.3.31; 8.4 → fixed in 8.4.21; 8.5 → fixed in 8.5.6Severity low CVSS 2.1 Exploitation not on CISA KEV · EPSS 0% (20.5th percentile) Remediation Upgrade to 8.5.6 / 8.4.21 / 8.3.31 / 8.2.31. Branches older than 8.2 received no fix (end-of-life). Published 2026-05-10 Source php-src NEWS + NVD References Quick answers Is CVE-2026-7259 being actively exploited?
It is not on CISA's Known Exploited Vulnerabilities list today.
Which version fixes CVE-2026-7259?
The fixed release depends on your PHP branch; see the table above.
How do I check whether I am affected?
Run `phpwarden scan`. phpwarden checks the exact version you have installed against this advisory.
Am I affected? Find out in one command. phpwarden checks this host's PHP build against this advisory and 21,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.
# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden scan
# or, without Composer
pipx install phpwarden && phpwarden scanRunning a fleet? Aggregate hosts into one report .
Install docs How findings are ranked Related advisories CVE-2012-1823 KEV critical PHP-CGI treats a query string without '=' as command-line options, allowing remote code ex same package: PHP engine CVE-2019-11043 KEV critical PHP-FPM remote code execution via env_path_info buffer underflow same package: PHP engine CVE-2024-4577 KEV critical PHP-CGI argument injection to RCE on Windows via Best-Fit encoding same package: PHP engine CVE-2026-109618 KEV critical Upload-progress use-after-free and remote process-memory disclosure same package: PHP engine CVE-2026-109619 KEV critical Fatal-error backtrace use-after-free and OPcache type confusion same package: PHP engine CVE-2026-115560 critical Session serializer mismatch can lead to remote code execution same package: PHP engine