CVE-2026-6104

CRITICALNVD 9.19.1
EchelonGraph scoreMEDIUM confidence

This critical-severity CVE scores 9.1 under NVD CVSS v3. EPSS exploit probability: 0.5%, top 61% 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).

Triggered by: NVD CVSS baseline
Sources: epss, nvd
9.1EG
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS PROB: 0%CVSS: 9.1Exploit: None knownExposed: 0

A fix is available — apply it.

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
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 computed
Severity91% × 45%
Exploitation0% × 40%
Automatability100% × 15%
Action: Routine — remediate on your standard cadence.
EPSS PROB
0%
EPSS %ILE
39%
KEV
Not listed

Published

May 10, 2026

Last Modified

July 24, 2026

Advisory Details (5)

Auto-updated Sep 7, 2026
Patch available. Sources: github, redhat.
redhat Patch Available

Affected: Red Hat Enterprise Linux 10",

https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6104.json
redhat Patch Available

2468573 – (CVE-2026-6104) CVE-2026-6104 php: global buffer over-read in mb_convert_encoding() with attacker-supplied encoding

Affected: Red Hat Enterprise Linux 10

https://bugzilla.redhat.com/show_bug.cgi?id=2468573
redhat Patch Available

CVE-2026-6104 - Red Hat Customer Portal

Affected: Red Hat Enterprise Linux 8 or OpenShift Container Platform 4, is affected by this vulnerability and a fix may be released to a

https://access.redhat.com/security/cve/CVE-2026-6104
redhat Patch Available

Affected: Red Hat Enterprise Linux 10.

https://access.redhat.com/errata/RHSA-2026:22649
github Patch Available

Global 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-fx53

Vendor 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 / EcosystemFixed in / PatchReleasedSource
ubuntuphp8.5-zip (8.5.4-0ubuntu1.1) @ resolute2026-08-23ubuntu
redhatphp8.4-0:8.4.21-1.el10_22026-06-02redhat

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.

Affected Packages

(2 across 2 ecosystems)
Debian:13(1)
PackageVulnerable rangeFixed inDependents
php8.48.4.11-1, 8.4.16-1, 8.4.16-1~deb13u1, 8.4.20-18.4.21-1~deb13u1
Debian:14(1)
PackageVulnerable rangeFixed inDependents
php8.48.4.11-1, 8.4.16-1, 8.4.16-1~deb13u1, 8.4.20-1, 8.4.21-1~deb13u18.4.21-1

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 3× in last 7d / 30× 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 310 total refreshes for this CVE.

  1. 2026-09-11 14:53 UTCEPSS rescore
  2. 2026-09-11 09:37 UTCEPSS rescore
  3. 2026-09-08 22:01 UTCEPSS rescore
  4. 2026-09-07 16:01 UTCEPSS rescore
  5. 2026-09-06 13:47 UTCEPSS rescore
  6. 2026-09-05 15:31 UTCEPSS rescore
  7. 2026-09-04 05:07 UTCEPSS rescore
  8. 2026-09-02 14:12 UTCEPSS rescore
  9. 2026-09-01 13:54 UTCEPSS rescore
  10. 2026-09-01 04:40 UTCEPSS rescore
  11. 2026-08-30 19:17 UTCEPSS rescore
  12. 2026-08-30 01:22 UTCEPSS rescore
  13. 2026-08-28 21:42 UTCEPSS rescore
  14. 2026-08-26 14:47 UTCEPSS rescore
  15. 2026-08-25 13:49 UTCEPSS rescore
  16. 2026-08-23 18:48 UTCEG score recompute
  17. 2026-08-23 18:48 UTCVendor advisory
  18. 2026-08-23 00:19 UTCEPSS rescore
  19. 2026-08-21 23:49 UTCEPSS rescore
  20. 2026-08-20 22:56 UTCEPSS rescore
  21. 2026-08-19 17:04 UTCEPSS rescore
  22. 2026-08-18 13:49 UTCEPSS rescore
  23. 2026-08-18 13:49 UTCEPSS rescore
  24. 2026-08-17 13:47 UTCEPSS rescore
  25. 2026-08-17 11:21 UTCEG score recompute
Show 75 more
  1. 2026-08-17 11:21 UTCVendor advisory
  2. 2026-08-16 14:56 UTCEPSS rescore
  3. 2026-08-16 14:56 UTCEPSS rescore
  4. 2026-08-16 11:53 UTCVendor advisory
  5. 2026-08-16 08:11 UTCVendor advisory
  6. 2026-08-16 04:30 UTCEG score recompute
  7. 2026-08-16 04:30 UTCVendor advisory
  8. 2026-08-16 02:15 UTCEPSS rescore
  9. 2026-08-15 01:31 UTCEPSS rescore
  10. 2026-08-15 01:25 UTCVendor advisory
  11. 2026-08-14 21:43 UTCVendor advisory
  12. 2026-08-14 18:02 UTCVendor advisory
  13. 2026-08-14 14:08 UTCVendor advisory
  14. 2026-08-14 10:27 UTCVendor advisory
  15. 2026-08-14 06:45 UTCVendor advisory
  16. 2026-08-14 03:04 UTCEG score recompute
  17. 2026-08-14 03:04 UTCVendor advisory
  18. 2026-08-13 22:00 UTCEPSS rescore
  19. 2026-08-13 08:17 UTCVendor advisory
  20. 2026-08-13 03:47 UTCVendor advisory
  21. 2026-08-13 00:05 UTCVendor advisory
  22. 2026-08-12 20:24 UTCVendor advisory
  23. 2026-08-12 16:40 UTCEG score recompute
  24. 2026-08-12 16:40 UTCVendor advisory
  25. 2026-08-12 13:51 UTCEPSS rescore
  26. 2026-08-11 23:11 UTCVendor advisory
  27. 2026-08-11 19:30 UTCVendor advisory
  28. 2026-08-11 15:48 UTCEG score recompute
  29. 2026-08-11 15:48 UTCVendor advisory
  30. 2026-08-11 08:36 UTCVendor advisory
  31. 2026-08-11 04:54 UTCVendor advisory
  32. 2026-08-11 01:13 UTCEG score recompute
  33. 2026-08-11 01:13 UTCVendor advisory
  34. 2026-08-11 00:00 UTCEPSS rescore
  35. 2026-08-10 12:43 UTCVendor advisory
  36. 2026-08-10 08:37 UTCVendor advisory
  37. 2026-08-10 04:56 UTCVendor advisory
  38. 2026-08-10 01:14 UTCVendor advisory
  39. 2026-08-09 21:33 UTCVendor advisory
  40. 2026-08-09 17:51 UTCVendor advisory
  41. 2026-08-09 14:10 UTCEG score recompute
  42. 2026-08-09 14:10 UTCVendor advisory
  43. 2026-08-09 13:47 UTCEPSS rescore
  44. 2026-08-09 10:28 UTCVendor advisory
  45. 2026-08-09 06:01 UTCVendor advisory
  46. 2026-08-09 02:19 UTCEG score recompute
  47. 2026-08-09 02:19 UTCVendor advisory
  48. 2026-08-08 16:37 UTCEPSS rescore
  49. 2026-08-08 10:24 UTCVendor advisory
  50. 2026-08-08 06:42 UTCVendor advisory
  51. 2026-08-08 03:01 UTCVendor advisory
  52. 2026-08-07 23:19 UTCVendor advisory
  53. 2026-08-07 19:38 UTCEG score recompute
  54. 2026-08-07 19:38 UTCVendor advisory
  55. 2026-08-07 15:56 UTCVendor advisory
  56. 2026-08-07 12:14 UTCVendor advisory
  57. 2026-08-07 08:13 UTCVendor advisory
  58. 2026-08-07 01:40 UTCVendor advisory
  59. 2026-08-06 20:32 UTCVendor advisory
  60. 2026-08-06 16:51 UTCEG score recompute
  61. 2026-08-06 16:51 UTCVendor advisory
  62. 2026-08-06 13:47 UTCEPSS rescore
  63. 2026-08-06 12:49 UTCVendor advisory
  64. 2026-08-06 09:07 UTCVendor advisory
  65. 2026-08-06 05:26 UTCVendor advisory
  66. 2026-08-06 01:44 UTCVendor advisory
  67. 2026-08-05 22:02 UTCEG score recompute
  68. 2026-08-05 22:02 UTCVendor advisory
  69. 2026-08-05 19:17 UTCEPSS rescore
  70. 2026-08-05 19:17 UTCEPSS rescore
  71. 2026-08-04 15:10 UTCEPSS rescore
  72. 2026-08-04 10:39 UTCEPSS rescore
  73. 2026-08-04 03:00 UTCVendor advisory
  74. 2026-08-03 23:09 UTCVendor advisory
  75. 2026-08-03 19:28 UTCEG score recompute

Frequently asked(5)

What is CVE-2026-6104?
CVE-2026-6104 is a critical vulnerability published on May 10, 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 mbconvertencoding() 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…
When was CVE-2026-6104 disclosed?
CVE-2026-6104 was first published in the National Vulnerability Database on May 10, 2026, with the most recent update on July 24, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-6104 actively exploited?
CVE-2026-6104 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0% probability of exploitation in the next 30 days, which ranks it in the top 60.8% of all scored CVEs.
What is the CVSS score of CVE-2026-6104?
CVE-2026-6104 has a CVSS v3 base score of 9.1 (NVD).
How do I remediate CVE-2026-6104?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-6104, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-6104

Explore →

Is Your Infrastructure Affected by CVE-2026-6104?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.