BIT-php-min-2026-6104

See a problem?
Import Source
https://github.com/bitnami/vulndb/tree/main/data/php-min/BIT-php-min-2026-6104.json
JSON Data
https://api.osv.dev/v1/vulns/BIT-php-min-2026-6104
Aliases
Published
2026-05-12T08:56:09.226Z
Modified
2026-05-12T10:56:26.382382553Z
Summary
Global buffer over-read in mb_convert_encoding() with attacker-supplied encoding
Details

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 out-of-bounds read of global memory, potentially causing a crash or information disclosure or crash. Affected functions include mbconvertencoding(), mbdetectencoding(), mbconvertvariables(), and mbdetectorder(), as well as the mbstring.detectorder and mbstring.httpoutput INI settings.

Database specific
{
    "severity": "Medium",
    "cpes": [
        "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*"
    ]
}
References

Affected packages

Bitnami / php-min

Package

Name
php-min
Purl
pkg:bitnami/php-min

Severity

  • 6.3 (Medium) CVSS_V4 - 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 Calculator

Affected ranges

Type
SEMVER
Events
Introduced
8.4.0
Fixed
8.4.21
Introduced
8.5.0
Fixed
8.5.6

Database specific

source
"https://github.com/bitnami/vulndb/tree/main/data/php-min/BIT-php-min-2026-6104.json"