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, res…
- CVSS
- 6.5Medium
- Chance of exploitation (EPSS)
- —
- Published
- May 10, 2026
- In the news
- Not yet
What to do
A moderate security flaw in PHP that can be attacked over the network without logging in, if someone is tricked into an action. No attacks are reported yet; it can go in your normal patch cycle.
Action: Apply the vendor's update or follow its advisory.
Fixed in: 8.2.31, 8.3.31, 8.4.21, 8.5.6
Affected versions
- PHP
- 8.2.* to before 8.2.31; 8.3.* to before 8.3.31; 8.4.* to before 8.4.21; 8.5.* to before 8.5.6
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 products
Get alerts for these →Timeline 1
Latest change: CVE-2026-7259 published (CVSS 6.5) (May 10, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Sun, May 10, 2026
- CVECVE-2026-7259 published (CVSS 6.5)CVE Program · 05:16 UTC
References 1
- github.com Vendor Advisory /php/php-src/security/advisories/GHSA-wm6j-2649-pv75