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.
CVE-2026-6104
This critical-severity CVE scores 9.1 under NVD CVSS v3. EPSS exploit probability: 0.5%, top 62% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 9.1
- EG Score
- 9.1(medium)
- EG Risk
- 56(Track)EG Risk 56/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity91% × 45%Exploitation0% × 40%Automatability100% × 15%Action: Routine — remediate on your standard cadence. - EPSS
- 37.9%
- KEV
- Not listed
Published
May 10, 2026
Last Modified
July 15, 2026
Advisory Details (1)
Auto-updated May 10, 2026Global buffer over-read in mb_convert_encoding() with attacker-supplied encoding · Advisory · php/php-src · GitHub
https://github.com/php/php-src/security/advisories/GHSA-74r9-qxhc-fx53Vendor Advisories for CVE-2026-6104(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Patch Availability(2)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | php8.1-zip (8.1.2-1ubuntu2.24) @ jammy | 2026-06-28 | ubuntu |
| redhat | php8.4-0:8.4.21-1.el10_2 | 2026-06-02 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(1)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
Data Freshness Timeline
(refreshed 10× in last 7d / 51× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 184 total refreshes for this CVE.
- 2026-07-23 03:21 UTCEG score recompute
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-21 15:25 UTCEPSS rescore
- 2026-07-21 15:25 UTCEPSS rescore
- 2026-07-20 17:08 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 02:29 UTCEPSS rescore
- 2026-07-18 10:04 UTCEPSS rescore
- 2026-07-16 17:03 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-15 01:23 UTCNVD updateCVSS v3 → 9.1 · severity → CRITICAL
- 2026-07-15 00:50 UTCMITRE cvelistV5CVSS v3 → 8.2 · severity → HIGH
- 2026-07-13 22:31 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-08 15:16 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 02:31 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-01 15:07 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 08:54 UTCVendor advisory
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 03:37 UTCVendor advisory
- 2026-06-27 14:08 UTCVendor advisory
- 2026-06-27 10:23 UTCVendor advisory
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-26 21:10 UTCVendor advisory
- 2026-06-26 05:31 UTCVendor advisory
- 2026-06-25 13:50 UTCEPSS rescore
- 2026-06-24 14:05 UTCEPSS rescore
- 2026-06-23 21:33 UTCEPSS rescore
- 2026-06-23 21:33 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-19 19:26 UTCEPSS rescore
- 2026-06-19 19:26 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-17 17:53 UTCEPSS rescore
- 2026-06-17 05:39 UTCVendor advisory
- 2026-06-17 01:10 UTCVendor advisory
- 2026-06-16 17:53 UTCEPSS rescore
- 2026-06-16 07:45 UTCVendor advisory
- 2026-06-15 17:49 UTCEPSS rescore
- 2026-06-15 17:49 UTCEPSS rescore
- 2026-06-15 05:45 UTCVendor advisory
- 2026-06-15 02:04 UTCVendor advisory
- 2026-06-14 23:18 UTCEPSS rescore
- 2026-06-14 22:22 UTCVendor advisory
- 2026-06-14 18:30 UTCVendor advisory
- 2026-06-14 14:37 UTCVendor advisory
- 2026-06-14 10:35 UTCVendor advisory
- 2026-06-14 06:43 UTCVendor advisory
- 2026-06-14 02:15 UTCVendor advisory
- 2026-06-13 23:00 UTCEPSS rescore
- 2026-06-13 08:56 UTCVendor advisory
- 2026-06-13 02:26 UTCVendor advisory
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 22:43 UTCVendor advisory
- 2026-06-12 18:28 UTCVendor advisory
- 2026-06-12 11:41 UTCVendor advisory
- 2026-06-12 08:00 UTCVendor advisory
- 2026-06-12 04:17 UTCVendor advisory
- 2026-06-12 00:29 UTCVendor advisory
- 2026-06-11 20:48 UTCVendor advisory
- 2026-06-11 17:07 UTCVendor advisory
- 2026-06-11 14:00 UTCEPSS rescore
- 2026-06-11 11:44 UTCVendor advisory
- 2026-06-11 08:02 UTCVendor advisory
- 2026-06-11 04:18 UTCVendor advisory
- 2026-06-11 00:36 UTCVendor advisory
- 2026-06-10 22:19 UTCEPSS rescore
- 2026-06-10 20:55 UTCVendor advisory
- 2026-06-10 17:08 UTCVendor advisory
- 2026-06-10 13:25 UTCVendor advisory
- 2026-06-10 13:22 UTCEPSS rescore
Related CVEs(same vendor + same CWE)
Same vendor
10 shownredhat
Same CWE
10 shownCWE-125
- CVE-2014-2898EG 9.8CRITICAL
- CVE-2014-2897EG 9.8CRITICAL
- CVE-2014-2896EG 9.8CRITICAL
- CVE-2015-9290EG 9.8CRITICAL
- CVE-2016-10749EG 9.8CRITICAL
- CVE-1999-0006EG 9.8EPSS 96%CRITICAL
- CVE-2014-3180EG 9.1CRITICAL
- CVE-2014-1508EG 9.1EPSS 90%CRITICAL
- CVE-2016-5198NVD 8.8EG 9.0 KEVEPSS 98%HIGH
- CVE-2016-4523NVD 7.5EG 9.0 KEVEPSS 98%HIGH
Frequently asked(5)
What is CVE-2026-6104?
When was CVE-2026-6104 disclosed?
Is CVE-2026-6104 actively exploited?
What is the CVSS score of CVE-2026-6104?
How do I remediate CVE-2026-6104?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-6104
Is Your Infrastructure Affected by CVE-2026-6104?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.