Search/CVE-2026-6104
● CVE — Critical

CVE-2026-6104

VendorphpProductphpDiscoveredMay 10, 2026UpdatedJul 24, 2026

In 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.

CVSS v3.1
9.1 CRITICAL
EPSS
0.47%
probability of exploitation in 30 days
CISA KEV
Not listed
no confirmed exploitation reported
News coverage
1
sources referencing this CVE
Related IOCs
0
seen in the same coverage
EPSS Trend
Sep 25, 2026 → Oct 24, 2026
▼ 0.13pp
0.60% → 0.47% over 2 tracked changes
CVSS v3.1 Detail
Attack VectorNETWORK
Attack ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
ScopeUNCHANGED
ConfidentialityHIGH
IntegrityNONE
AvailabilityHIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Connections
3 relationships
Timeline
disclosure → media coverage
May 10, 2026
Disclosure — published as a CVE record. · last revised by NVD Jul 24, 2026
May 28, 2026
ubuntu.com reports: USN-8336-1: PHP vulnerabilities