9.1

CVE-2026-6104: php_group php Out-of-bounds Read

CVSS: 9.1v3.1CriticalModified
AliasesUBUNTU-CVE-2026-6104DEBIAN-CVE-2026-6104
Published 10-05-2026Last modified 15-07-2026

Vulnerability summary

CVE-2026-6104 is a critical (CVSS 9.1) Out-of-bounds Read vulnerability in php_group php. EPSS estimates a 0.60% chance of exploitation in the next 30 days, higher than 47.8% of scored vulnerabilities.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.1/10
010
Critical · v3.1 (NVD)
EPSS score
0.60%
0%100%
Low · +0.13 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 2 · Related 2

Timeline

  1. 10-05-2026
    PublishedVulnerability first disclosed.
  2. 15-07-2026
    Last modifiedVulnerability information updated.

Description

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 metrics

7 scores · 4 sources · 2 versions

EPSS trend

Probability

0.60%

Chance of exploitation in the next 30 days

Percentile

48%

Versus all other CVEs

30-day change

+0.13 pp

From 0.47% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.60%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Ubuntu2 products
  • php8.4< 8.4.11-1ubuntu1.2
  • php8.5< 8.5.4-0ubuntu1.1
Debian1 product
  • php8.4< 8.4.21-1~deb13u1 | < 8.4.21-1
Php1 product
  • php≥ 8.4.0, < 8.4.21 | ≥ 8.5.0, < 8.5.6
Php_group1 product
  • php≥ 8.4.*, < 8.4.21 | ≥ 8.5.*, < 8.5.6

4 vendors · 5 products

References

9 links