CVE-2026-6104
php php
Patch priority
This weekHigh severity or noticeable probability of exploitation.
- CVSS
- 9.1
- Severity
- 9.1
- EPSS
- 0.5 %
- Percentile
- 42
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Only those who run php php. The vendor name tells you whether the product is in use at your place.
How dangerous is it?
- Attackable over the network – including from the internet if the device or service is reachable there.
- No login is needed for it.
- Nobody has to click anything.
What to do?
- Update within the next few days.
- The vendor’s advisories (linked below) name the fixed version.
- If there is no update yet: keep the device or service off the internet (no port forwarding) and watch for the vendor’s announcement.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDIn PHP versions 8.4.* before 8.4.21 and 8.5.* before 8.5.6, when an encoding name containing an embedded NUL byte is passed to mb_convert_encoding() or related mbstring functions, the code incorrectly assumes that when strncasecmp() returns 0 it means the strings have the same length. This can lead to out-of-bounds read of global memory, potentially causing a crash or information disclosure or crash. Affected functions include mb_convert_encoding(), mb_detect_encoding(), mb_convert_variables(), and mb_detect_order(), as well as the mbstring.detect_order and mbstring.http_output INI settings.
- Vendor / product
- php php
- Published
- 10.05.2026
- Modified
- 24.07.2026
- CWE
- CWE-125
- Status
- Modified
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Vendor updates
4- Microsoft: Mariner 13.11.2026 · Critical · Patch day
- Red Hat: RHSA-2026:22649 – RHSA-2026:22649 php8.4 security update 03.06.2026 · Patch day
- Ubuntu: USN-8336-1 – PHP vulnerabilities 28.05.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:21612-1 – Security update for php8 15.05.2026 · Critical · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.