Vulnerabilities

CVE-2026-7259

Medium 6.5 CVSS 3.1

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

Description as published by the source, in English.

Key facts

Published
2026-05-10
Last modified
2026-07-24
Assigned by
security@php.net
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.2 % higher than 10 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Php Php ≥ 8.2.0, < 8.2.31 Affected
Php Php ≥ 8.3.0, < 8.3.31 Affected
Php Php ≥ 8.4.0, < 8.4.21 Affected
Php Php ≥ 8.5.0, < 8.5.6 Affected

Weakness type

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities