CVE-2026-7259
NVD
Vulnerability 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().
Affected & Patched Versions
- ext-mbstring < 8.5.6
- ext-mbstring < 8.4.21
- ext-mbstring < 8.3.31
- ext-mbstring < 8.2.31
- ext-mbstring 8.5.6
- ext-mbstring 8.4.21
- ext-mbstring 8.3.31
- ext-mbstring 8.2.31
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run ext-mbstring and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- May 10, 2026Published
- May 11, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new ext-mbstring CVEsYou are reading CVE-2026-7259. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
Data last checked: Nov 29, 2026 20:13 UTC