Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-6104

published medium CVSS 4.0 · 6.3

Global buffer over-read in mb_convert_encoding() with attacker-supplied encoding

Published
10 May 2026, 04:35:17 UTC
Updated
15 Jul 2026, 00:41:42 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
PHP Group — mbstringPHP · 8.4.* to < 8.4.21 · 8.5.* to < 8.5.6 · Other versions: unaffected Affected Not stated php
Red Hat Enterprise Linux 10 php8.40:8.4.21-1.el10_2 and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat Enterprise Linux 6, 7, 9, 10 php Unaffected Not required redhat-SADP
Red Hat Enterprise Linux 8 php:7.4/php Unaffected Not required redhat-SADP
Amazon Linux AL2 Release evaluation Not Affected; No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation No Fix Planned; Not Affected Not stated Amazon Linux assessment
AlmaLinux 10 php8.4 Advisory build 8.4.21-1.el10_2 ALSA-2026:22649
Debian trixie php8.4 Advisory build 8.4.21-1~deb13u1 DSA-6256-1
Show 102 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat Enterprise Linux 8, 9 php:8.2/php Unaffected Not required redhat-SADP
Red Hat Enterprise Linux 9 php:8.3/php Unaffected Not required redhat-SADP
Red Hat — phpRed Hat Hardened Images Unaffected Not required redhat-SADP
Amazon Linux AL2023 Release evaluationALAS2023-2026-1726 Fixed Not stated Amazon Linux assessment
Oracle Linux 10 php8.4aarch64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Red Hat Enterprise Linux RHEL-10 php8.4aarch64 Advisory build 8.4.21-1.el10_2 RHSA-2026:22649
Ubuntu questing php8.4 Advisory build 8.4.11-1ubuntu1.2 USN-8336-1
Alpine Linux edge php85 Fixed 8.5.6-r0 Package fix record
Oracle Linux 10 php8.4x86_64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Red Hat Enterprise Linux RHEL-10 php8.4ppc64le Advisory build 8.4.21-1.el10_2 RHSA-2026:22649
Red Hat Enterprise Linux RHEL-10 php8.4s390x Advisory build 8.4.21-1.el10_2 RHSA-2026:22649
Red Hat Enterprise Linux RHEL-10 php8.4src Advisory build 8.4.21-1.el10_2 RHSA-2026:22649
Red Hat Enterprise Linux RHEL-10 php8.4x86_64 Advisory build 8.4.21-1.el10_2 RHSA-2026:22649
AlmaLinux 10 php8.4-bcmath Advisory build 8.4.21-1.el10_2 ALSA-2026:22649
AlmaLinux 10 php8.4-cli Advisory build 8.4.21-1.el10_2 ALSA-2026:22649
AlmaLinux 10 php8.4-common Advisory build 8.4.21-1.el10_2 ALSA-2026:22649
AlmaLinux 10 php8.4-dba Advisory build 8.4.21-1.el10_2 ALSA-2026:22649
AlmaLinux 10 php8.4-dbg Advisory build 8.4.21-1.el10_2 ALSA-2026:22649
AlmaLinux 10 php8.4-devel Advisory build 8.4.21-1.el10_2 ALSA-2026:22649
AlmaLinux 10 php8.4-embedded Advisory build 8.4.21-1.el10_2 ALSA-2026:22649
AlmaLinux 10 php8.4-enchant Advisory build 8.4.21-1.el10_2 ALSA-2026:22649
AlmaLinux 10 php8.4-ffi Advisory build 8.4.21-1.el10_2 ALSA-2026:22649
AlmaLinux 10 php8.4-fpm Advisory build 8.4.21-1.el10_2 ALSA-2026:22649
AlmaLinux 10 php8.4-gd Advisory build 8.4.21-1.el10_2 ALSA-2026:22649
AlmaLinux 10 php8.4-gmp Advisory build 8.4.21-1.el10_2 ALSA-2026:22649
AlmaLinux 10 php8.4-intl Advisory build 8.4.21-1.el10_2 ALSA-2026:22649
AlmaLinux 10 php8.4-ldap Advisory build 8.4.21-1.el10_2 ALSA-2026:22649
AlmaLinux 10 php8.4-mbstring Advisory build 8.4.21-1.el10_2 ALSA-2026:22649
AlmaLinux 10 php8.4-mysqlnd Advisory build 8.4.21-1.el10_2 ALSA-2026:22649
AlmaLinux 10 php8.4-odbc Advisory build 8.4.21-1.el10_2 ALSA-2026:22649
AlmaLinux 10 php8.4-opcache Advisory build 8.4.21-1.el10_2 ALSA-2026:22649
AlmaLinux 10 php8.4-pdo Advisory build 8.4.21-1.el10_2 ALSA-2026:22649
AlmaLinux 10 php8.4-pgsql Advisory build 8.4.21-1.el10_2 ALSA-2026:22649
AlmaLinux 10 php8.4-process Advisory build 8.4.21-1.el10_2 ALSA-2026:22649
AlmaLinux 10 php8.4-snmp Advisory build 8.4.21-1.el10_2 ALSA-2026:22649
AlmaLinux 10 php8.4-soap Advisory build 8.4.21-1.el10_2 ALSA-2026:22649
AlmaLinux 10 php8.4-xml Advisory build 8.4.21-1.el10_2 ALSA-2026:22649
Alpine Linux v3.22 php84 Fixed 8.4.27-r0 Package fix record
Alpine Linux v3.23 php84 Fixed 8.4.21-r0 Package fix record
Alpine Linux v3.23 php85 Fixed 8.5.6-r0 Package fix record
Alpine Linux v3.24 php85 Fixed 8.5.6-r0 Package fix record
Oracle Linux 10 php8.4-bcmathaarch64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-bcmathx86_64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-cliaarch64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-clix86_64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-commonaarch64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-commonx86_64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-dbaaarch64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-dbax86_64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-dbgaarch64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-dbgx86_64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-develaarch64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-develx86_64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-embeddedaarch64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-embeddedx86_64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-enchantaarch64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-enchantx86_64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-ffiaarch64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-ffix86_64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-fpmaarch64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-fpmx86_64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-gdaarch64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-gdx86_64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-gmpaarch64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-gmpx86_64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-intlaarch64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-intlx86_64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-ldapaarch64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-ldapx86_64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-mbstringaarch64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-mbstringx86_64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-mysqlndaarch64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-mysqlndx86_64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-odbcaarch64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-odbcx86_64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-opcacheaarch64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-opcachex86_64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-pdoaarch64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-pdox86_64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-pgsqlaarch64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-pgsqlx86_64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-processaarch64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-processx86_64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-snmpaarch64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-snmpx86_64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-soapaarch64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-soapx86_64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-xmlaarch64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Oracle Linux 10 php8.4-xmlx86_64 Advisory build 0:8.4.21-1.el10_2 ELSA-2026-22649
Red Hat Enterprise Linux RHEL-10 php8.4-bcmathaarch64 Advisory build 8.4.21-1.el10_2 RHSA-2026:22649
Red Hat Enterprise Linux RHEL-10 php8.4-bcmathppc64le Advisory build 8.4.21-1.el10_2 RHSA-2026:22649
Red Hat Enterprise Linux RHEL-10 php8.4-bcmaths390x Advisory build 8.4.21-1.el10_2 RHSA-2026:22649
Red Hat Enterprise Linux RHEL-10 php8.4-bcmathx86_64 Advisory build 8.4.21-1.el10_2 RHSA-2026:22649
Red Hat Enterprise Linux RHEL-10 php8.4-bcmath-debuginfoaarch64 Advisory build 8.4.21-1.el10_2 RHSA-2026:22649
Red Hat Enterprise Linux RHEL-10 php8.4-bcmath-debuginfoppc64le Advisory build 8.4.21-1.el10_2 RHSA-2026:22649
Red Hat Enterprise Linux RHEL-10 php8.4-bcmath-debuginfos390x Advisory build 8.4.21-1.el10_2 RHSA-2026:22649
Red Hat Enterprise Linux RHEL-10 php8.4-bcmath-debuginfox86_64 Advisory build 8.4.21-1.el10_2 RHSA-2026:22649
Red Hat Enterprise Linux RHEL-10 php8.4-cliaarch64 Advisory build 8.4.21-1.el10_2 RHSA-2026:22649
Red Hat Enterprise Linux RHEL-10 php8.4-clippc64le Advisory build 8.4.21-1.el10_2 RHSA-2026:22649
Red Hat Enterprise Linux RHEL-10 php8.4-clis390x Advisory build 8.4.21-1.el10_2 RHSA-2026:22649
Red Hat Enterprise Linux RHEL-10 php8.4-clix86_64 Advisory build 8.4.21-1.el10_2 RHSA-2026:22649
Red Hat Enterprise Linux RHEL-10 php8.4-cli-debuginfoaarch64 Advisory build 8.4.21-1.el10_2 RHSA-2026:22649

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · php · cna

en · redhat-SADP · adp

A flaw was found in PHP. When an encoding name containing an embedded NUL byte is passed to `mb_convert_encoding()` or related mbstring functions, an out-of-bounds read of only 1 byte can occur due to the incorrect processing of string lengths. This issue can cause a denial of service or limited information disclosure.

Vendor advisories explicitly linked to this CVE.

16

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
6.3 / 10
Severity
medium
Provider
php · cna
Vector string
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:L/SI:N/SA:L/RE:M/U:Amber
Scenarios
en: GENERAL

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 8.2 high redhat-SADP · adp CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
PHP Group PHP 8.4.* to < 8.4.21 (affected · semver)8.5.* to < 8.5.6 (affected · semver)Default: unaffected php · cna
Red Hat Red Hat Enterprise Linux 10 0:8.4.21-1.el10_2 and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat Enterprise Linux 10 Default: unaffected redhat-SADP · adp
Red Hat Red Hat Enterprise Linux 6 Default: unaffected redhat-SADP · adp
Red Hat Red Hat Enterprise Linux 7 Default: unaffected redhat-SADP · adp
Red Hat Red Hat Enterprise Linux 8 Default: unaffected redhat-SADP · adp
Red Hat Red Hat Enterprise Linux 8 Default: unaffected redhat-SADP · adp
Red Hat Red Hat Enterprise Linux 9 Default: unaffected redhat-SADP · adp
Red Hat Red Hat Enterprise Linux 9 Default: unaffected redhat-SADP · adp
Red Hat Red Hat Enterprise Linux 9 Default: unaffected redhat-SADP · adp
Red Hat Red Hat Hardened Images Default: unaffected redhat-SADP · adp

Weaknesses

2
  • CWE-125 CWE-125 Out-of-bounds Read (php · cna)
  • CWE-125 Out-of-bounds Read (redhat-SADP · adp)

References

5

Provider assertions

3

php · cna

Global buffer over-read in mb_convert_encoding() with attacker-supplied encoding

redhat-SADP · adp

php: global buffer over-read in mb_convert_encoding() with attacker-supplied encoding

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
b3c3651a3e25cc0ac5d7aecdc0a0c2eb665f2c479af2edb8e62bc53e95eb4df9
Ingested
23 Sep 2026, 09:28:24 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected