Upstream information

CVE-2026-6104 at MITRE

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.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having important severity.

CVSS v3 Scores
CVSS detail National Vulnerability Database SUSE
Base Score 9.1 8.2
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Attack Vector Network Network
Attack Complexity Low Low
Privileges Required None None
User Interaction None None
Scope Unchanged Unchanged
Confidentiality Impact High Low
Integrity Impact None None
Availability Impact High High
CVSSv3 Version 3.1 3.1
CVSS v4 Scores
CVSS detail CNA (PHP Group) SUSE
Base Score 6.3 8.3
Vector 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:M/U:Amber CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
Attack Vector Network Network
Attack Complexity Low Low
Attack Requirements Present Present
Privileges Required None None
User Interaction None None
Vulnerable System Confidentiality Impact Low Low
Vulnerable System Integrity Impact None None
Vulnerable System Availability Impact Low High
Subsequent System Confidentiality Impact Low None
Subsequent System Integrity Impact None None
Subsequent System Availability Impact Low None
CVSSv4 Version 4.0 4.0
SUSE Bugzilla entry: 1264777 [NEW]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
SUSE Linux Enterprise Server 16.0
SUSE Linux Enterprise Server for SAP applications 16.0
  • apache2-mod_php8 >= 8.4.21-160000.1.1
  • php8 >= 8.4.21-160000.1.1
  • php8-bcmath >= 8.4.21-160000.1.1
  • php8-bz2 >= 8.4.21-160000.1.1
  • php8-calendar >= 8.4.21-160000.1.1
  • php8-cli >= 8.4.21-160000.1.1
  • php8-ctype >= 8.4.21-160000.1.1
  • php8-curl >= 8.4.21-160000.1.1
  • php8-dba >= 8.4.21-160000.1.1
  • php8-devel >= 8.4.21-160000.1.1
  • php8-dom >= 8.4.21-160000.1.1
  • php8-embed >= 8.4.21-160000.1.1
  • php8-enchant >= 8.4.21-160000.1.1
  • php8-exif >= 8.4.21-160000.1.1
  • php8-fastcgi >= 8.4.21-160000.1.1
  • php8-ffi >= 8.4.21-160000.1.1
  • php8-fileinfo >= 8.4.21-160000.1.1
  • php8-fpm >= 8.4.21-160000.1.1
  • php8-fpm-apache >= 8.4.21-160000.1.1
  • php8-ftp >= 8.4.21-160000.1.1
  • php8-gd >= 8.4.21-160000.1.1
  • php8-gettext >= 8.4.21-160000.1.1
  • php8-gmp >= 8.4.21-160000.1.1
  • php8-iconv >= 8.4.21-160000.1.1
  • php8-intl >= 8.4.21-160000.1.1
  • php8-ldap >= 8.4.21-160000.1.1
  • php8-mbstring >= 8.4.21-160000.1.1
  • php8-mysql >= 8.4.21-160000.1.1
  • php8-odbc >= 8.4.21-160000.1.1
  • php8-opcache >= 8.4.21-160000.1.1
  • php8-openssl >= 8.4.21-160000.1.1
  • php8-pcntl >= 8.4.21-160000.1.1
  • php8-pdo >= 8.4.21-160000.1.1
  • php8-pgsql >= 8.4.21-160000.1.1
  • php8-phar >= 8.4.21-160000.1.1
  • php8-posix >= 8.4.21-160000.1.1
  • php8-readline >= 8.4.21-160000.1.1
  • php8-shmop >= 8.4.21-160000.1.1
  • php8-snmp >= 8.4.21-160000.1.1
  • php8-soap >= 8.4.21-160000.1.1
  • php8-sockets >= 8.4.21-160000.1.1
  • php8-sodium >= 8.4.21-160000.1.1
  • php8-sqlite >= 8.4.21-160000.1.1
  • php8-sysvmsg >= 8.4.21-160000.1.1
  • php8-sysvsem >= 8.4.21-160000.1.1
  • php8-sysvshm >= 8.4.21-160000.1.1
  • php8-tidy >= 8.4.21-160000.1.1
  • php8-tokenizer >= 8.4.21-160000.1.1
  • php8-xmlreader >= 8.4.21-160000.1.1
  • php8-xmlwriter >= 8.4.21-160000.1.1
  • php8-xsl >= 8.4.21-160000.1.1
  • php8-zip >= 8.4.21-160000.1.1
  • php8-zlib >= 8.4.21-160000.1.1
Patchnames:
SUSE-SLES-16.0-738
openSUSE Tumbleweed
  • php8 >= 8.5.6-1.1
  • php8-bcmath >= 8.5.6-1.1
  • php8-bz2 >= 8.5.6-1.1
  • php8-calendar >= 8.5.6-1.1
  • php8-cli >= 8.5.6-1.1
  • php8-ctype >= 8.5.6-1.1
  • php8-curl >= 8.5.6-1.1
  • php8-dba >= 8.5.6-1.1
  • php8-devel >= 8.5.6-1.1
  • php8-dom >= 8.5.6-1.1
  • php8-enchant >= 8.5.6-1.1
  • php8-exif >= 8.5.6-1.1
  • php8-ffi >= 8.5.6-1.1
  • php8-fileinfo >= 8.5.6-1.1
  • php8-ftp >= 8.5.6-1.1
  • php8-gd >= 8.5.6-1.1
  • php8-gettext >= 8.5.6-1.1
  • php8-gmp >= 8.5.6-1.1
  • php8-iconv >= 8.5.6-1.1
  • php8-intl >= 8.5.6-1.1
  • php8-ldap >= 8.5.6-1.1
  • php8-mbstring >= 8.5.6-1.1
  • php8-mysql >= 8.5.6-1.1
  • php8-odbc >= 8.5.6-1.1
  • php8-openssl >= 8.5.6-1.1
  • php8-pcntl >= 8.5.6-1.1
  • php8-pdo >= 8.5.6-1.1
  • php8-pgsql >= 8.5.6-1.1
  • php8-phar >= 8.5.6-1.1
  • php8-posix >= 8.5.6-1.1
  • php8-readline >= 8.5.6-1.1
  • php8-shmop >= 8.5.6-1.1
  • php8-snmp >= 8.5.6-1.1
  • php8-soap >= 8.5.6-1.1
  • php8-sockets >= 8.5.6-1.1
  • php8-sodium >= 8.5.6-1.1
  • php8-sqlite >= 8.5.6-1.1
  • php8-sysvmsg >= 8.5.6-1.1
  • php8-sysvsem >= 8.5.6-1.1
  • php8-sysvshm >= 8.5.6-1.1
  • php8-tidy >= 8.5.6-1.1
  • php8-tokenizer >= 8.5.6-1.1
  • php8-xmlreader >= 8.5.6-1.1
  • php8-xmlwriter >= 8.5.6-1.1
  • php8-xsl >= 8.5.6-1.1
  • php8-zip >= 8.5.6-1.1
  • php8-zlib >= 8.5.6-1.1
Patchnames:
openSUSE-Tumbleweed-2026-10747

List of packages in QA

Product(s) Package(s)
SUSE Linux Enterprise Server 16.0
  • apache2-mod_php8 >= 8.4.21-160000.1.1
  • php8 >= 8.4.21-160000.1.1
  • php8-bcmath >= 8.4.21-160000.1.1
  • php8-bz2 >= 8.4.21-160000.1.1
  • php8-calendar >= 8.4.21-160000.1.1
  • php8-cli >= 8.4.21-160000.1.1
  • php8-ctype >= 8.4.21-160000.1.1
  • php8-curl >= 8.4.21-160000.1.1
  • php8-dba >= 8.4.21-160000.1.1
  • php8-devel >= 8.4.21-160000.1.1
  • php8-dom >= 8.4.21-160000.1.1
  • php8-embed >= 8.4.21-160000.1.1
  • php8-enchant >= 8.4.21-160000.1.1
  • php8-exif >= 8.4.21-160000.1.1
  • php8-fastcgi >= 8.4.21-160000.1.1
  • php8-ffi >= 8.4.21-160000.1.1
  • php8-fileinfo >= 8.4.21-160000.1.1
  • php8-fpm >= 8.4.21-160000.1.1
  • php8-fpm-apache >= 8.4.21-160000.1.1
  • php8-ftp >= 8.4.21-160000.1.1
  • php8-gd >= 8.4.21-160000.1.1
  • php8-gettext >= 8.4.21-160000.1.1
  • php8-gmp >= 8.4.21-160000.1.1
  • php8-iconv >= 8.4.21-160000.1.1
  • php8-intl >= 8.4.21-160000.1.1
  • php8-ldap >= 8.4.21-160000.1.1
  • php8-mbstring >= 8.4.21-160000.1.1
  • php8-mysql >= 8.4.21-160000.1.1
  • php8-odbc >= 8.4.21-160000.1.1
  • php8-opcache >= 8.4.21-160000.1.1
  • php8-openssl >= 8.4.21-160000.1.1
  • php8-pcntl >= 8.4.21-160000.1.1
  • php8-pdo >= 8.4.21-160000.1.1
  • php8-pgsql >= 8.4.21-160000.1.1
  • php8-phar >= 8.4.21-160000.1.1
  • php8-posix >= 8.4.21-160000.1.1
  • php8-readline >= 8.4.21-160000.1.1
  • php8-shmop >= 8.4.21-160000.1.1
  • php8-snmp >= 8.4.21-160000.1.1
  • php8-soap >= 8.4.21-160000.1.1
  • php8-sockets >= 8.4.21-160000.1.1
  • php8-sodium >= 8.4.21-160000.1.1
  • php8-sqlite >= 8.4.21-160000.1.1
  • php8-sysvmsg >= 8.4.21-160000.1.1
  • php8-sysvsem >= 8.4.21-160000.1.1
  • php8-sysvshm >= 8.4.21-160000.1.1
  • php8-tidy >= 8.4.21-160000.1.1
  • php8-tokenizer >= 8.4.21-160000.1.1
  • php8-xmlreader >= 8.4.21-160000.1.1
  • php8-xmlwriter >= 8.4.21-160000.1.1
  • php8-xsl >= 8.4.21-160000.1.1
  • php8-zip >= 8.4.21-160000.1.1
  • php8-zlib >= 8.4.21-160000.1.1


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Linux Enterprise High Performance Computing 15 SP7 php7 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP7 php8 Not affected
SUSE Linux Enterprise Module for Legacy 15 SP7 php7 Not affected
SUSE Linux Enterprise Module for Package Hub 15 SP7 php7 Not affected
SUSE Linux Enterprise Module for Web and Scripting 15 SP7 php8 Not affected
SUSE Linux Enterprise Server 15 SP7 php7 Not affected
SUSE Linux Enterprise Server 15 SP7 php8 Not affected
SUSE Linux Enterprise Server 16.0 apache2-mod_php8 In progress
SUSE Linux Enterprise Server 16.0 php8 In progress
SUSE Linux Enterprise Server 16.0 php8-embed In progress
SUSE Linux Enterprise Server 16.0 php8-fastcgi In progress
SUSE Linux Enterprise Server 16.0 php8-fpm In progress
SUSE Linux Enterprise Server 16.1 php8 Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP7 php7 Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP7 php8 Not affected
SUSE Linux Enterprise Server for SAP applications 16.0 apache2-mod_php8 Released
SUSE Linux Enterprise Server for SAP applications 16.0 php8 Released
SUSE Linux Enterprise Server for SAP applications 16.0 php8-embed Released
SUSE Linux Enterprise Server for SAP applications 16.0 php8-fastcgi Released
SUSE Linux Enterprise Server for SAP applications 16.0 php8-fpm Released
SUSE Linux Enterprise Server for SAP applications 16.1 php8 Affected
Products under Long Term Service Pack support and receiving important and critical security fixes.
SUSE Linux Enterprise High Performance Computing 15 SP4 php7 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP4 php8 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS php7 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS php8 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP5 php7 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP5 php8 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS php8 Not affected
SUSE Linux Enterprise Module for Legacy 15 SP4 php7 Not affected
SUSE Linux Enterprise Module for Legacy 15 SP5 php7 Not affected
SUSE Linux Enterprise Module for Legacy 15 SP6 php7 Not affected
SUSE Linux Enterprise Module for Web and Scripting 15 SP4 php8 Not affected
SUSE Linux Enterprise Module for Web and Scripting 15 SP5 php8 Not affected
SUSE Linux Enterprise Module for Web and Scripting 15 SP6 php8 Not affected
SUSE Linux Enterprise Server 15 SP4 php7 Not affected
SUSE Linux Enterprise Server 15 SP4 php8 Not affected
SUSE Linux Enterprise Server 15 SP4-LTSS php7 Not affected
SUSE Linux Enterprise Server 15 SP4-LTSS php8 Not affected
SUSE Linux Enterprise Server 15 SP5 php7 Not affected
SUSE Linux Enterprise Server 15 SP5 php8 Not affected
SUSE Linux Enterprise Server 15 SP5-LTSS php7 Not affected
SUSE Linux Enterprise Server 15 SP5-LTSS php8 Not affected
SUSE Linux Enterprise Server 15 SP6 php7 Not affected
SUSE Linux Enterprise Server 15 SP6 php8 Not affected
SUSE Linux Enterprise Server 15 SP6-LTSS php7 Not affected
SUSE Linux Enterprise Server 15 SP6-LTSS php8 Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP6 php7 Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP6 php8 Not affected
SUSE Manager Proxy 4.3 php7 Not affected
SUSE Manager Proxy 4.3 php8 Not affected
SUSE Manager Retail Branch Server 4.3 php7 Not affected
SUSE Manager Retail Branch Server 4.3 php8 Not affected
SUSE Manager Server 4.3 php7 Not affected
SUSE Manager Server 4.3 php8 Not affected
SUSE Manager Server LTS 4.3 php8 Not affected
Products past their end of life and not receiving proactive updates anymore.
SUSE CaaS Platform 4.0 php7 Not affected
SUSE Enterprise Storage 6 php7 Not affected
SUSE Enterprise Storage 7 php7 Not affected
SUSE Enterprise Storage 7.1 php7 Not affected
SUSE Linux Enterprise High Performance Computing 15 php7 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP1 php7 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS php7 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS php7 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP2 php7 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS php7 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS php7 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP3 php7 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS php7 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS php7 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS php7 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS php8 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS php8 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP6 php7 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP6 php8 Not affected
SUSE Linux Enterprise High Performance Computing 15-ESPOS php7 Not affected
SUSE Linux Enterprise High Performance Computing 15-LTSS php7 Not affected
SUSE Linux Enterprise Module for Package Hub 15 php7 Not affected
SUSE Linux Enterprise Module for Package Hub 15 SP1 php7 Not affected
SUSE Linux Enterprise Module for Package Hub 15 SP2 php7 Not affected
SUSE Linux Enterprise Module for Package Hub 15 SP3 php7 Not affected
SUSE Linux Enterprise Module for Web and Scripting 15 php7 Not affected
SUSE Linux Enterprise Module for Web and Scripting 15 SP1 php7 Not affected
SUSE Linux Enterprise Module for Web and Scripting 15 SP2 php7 Not affected
SUSE Linux Enterprise Module for Web and Scripting 15 SP3 php7 Not affected
SUSE Linux Enterprise Server 15 php7 Not affected
SUSE Linux Enterprise Server 15 SP1 php7 Not affected
SUSE Linux Enterprise Server 15 SP1-BCL php7 Not affected
SUSE Linux Enterprise Server 15 SP1-LTSS php7 Not affected
SUSE Linux Enterprise Server 15 SP2 php7 Not affected
SUSE Linux Enterprise Server 15 SP2-BCL php7 Not affected
SUSE Linux Enterprise Server 15 SP2-LTSS php7 Not affected
SUSE Linux Enterprise Server 15 SP3 php7 Not affected
SUSE Linux Enterprise Server 15 SP3-BCL php7 Not affected
SUSE Linux Enterprise Server 15 SP3-LTSS php7 Not affected
SUSE Linux Enterprise Server 15-LTSS php7 Not affected
SUSE Linux Enterprise Server for SAP Applications 15 php7 Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP1 php7 Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP2 php7 Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP3 php7 Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP4 php7 Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP4 php8 Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP5 php7 Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP5 php8 Not affected
SUSE Manager Proxy 4.0 php7 Not affected
SUSE Manager Proxy 4.1 php7 Not affected
SUSE Manager Proxy 4.2 php7 Not affected
SUSE Manager Retail Branch Server 4.0 php7 Not affected
SUSE Manager Retail Branch Server 4.1 php7 Not affected
SUSE Manager Retail Branch Server 4.2 php7 Not affected
SUSE Manager Server 4.0 php7 Not affected
SUSE Manager Server 4.1 php7 Not affected
SUSE Manager Server 4.2 php7 Not affected
openSUSE Leap 15.3 php7 Not affected
openSUSE Leap 15.4 php7 Not affected
openSUSE Leap 15.4 php8 Not affected
openSUSE Leap 15.5 php7 Not affected
openSUSE Leap 15.5 php8 Not affected
openSUSE Leap 15.6 php7 Not affected
openSUSE Leap 15.6 php8 Not affected
Container Status
bci/php
bci/php-apache
bci/php-apache:8
bci/php-fpm
bci/php-fpm:8
bci/php:8
php8Not affected


SUSE Timeline for this CVE

CVE page created: Sun May 10 10:00:10 2026
CVE page last modified: Fri May 15 17:24:14 2026