Vulnerabilities
Vulnerable Software

Vulnerability Details CVE-2026-6104

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.
Exploit prediction scoring system (EPSS) score
EPSS Score 0.0
EPSS Ranking 7.8%
CVSS Severity
CVSS v3 Score 9.1
Products affected by CVE-2026-6104
  • Php » Php » Version: 8.4.0
    cpe:2.3:a:php:php:8.4.0
  • Php » Php » Version: 8.4.1
    cpe:2.3:a:php:php:8.4.1
  • Php » Php » Version: 8.4.10
    cpe:2.3:a:php:php:8.4.10
  • Php » Php » Version: 8.4.11
    cpe:2.3:a:php:php:8.4.11
  • Php » Php » Version: 8.4.12
    cpe:2.3:a:php:php:8.4.12
  • Php » Php » Version: 8.4.13
    cpe:2.3:a:php:php:8.4.13
  • Php » Php » Version: 8.4.14
    cpe:2.3:a:php:php:8.4.14
  • Php » Php » Version: 8.4.15
    cpe:2.3:a:php:php:8.4.15
  • Php » Php » Version: 8.4.16
    cpe:2.3:a:php:php:8.4.16
  • Php » Php » Version: 8.4.17
    cpe:2.3:a:php:php:8.4.17
  • Php » Php » Version: 8.4.18
    cpe:2.3:a:php:php:8.4.18
  • Php » Php » Version: 8.4.19
    cpe:2.3:a:php:php:8.4.19
  • Php » Php » Version: 8.4.2
    cpe:2.3:a:php:php:8.4.2
  • Php » Php » Version: 8.4.20
    cpe:2.3:a:php:php:8.4.20
  • Php » Php » Version: 8.4.3
    cpe:2.3:a:php:php:8.4.3
  • Php » Php » Version: 8.4.4
    cpe:2.3:a:php:php:8.4.4
  • Php » Php » Version: 8.4.5
    cpe:2.3:a:php:php:8.4.5
  • Php » Php » Version: 8.4.6
    cpe:2.3:a:php:php:8.4.6
  • Php » Php » Version: 8.4.7
    cpe:2.3:a:php:php:8.4.7
  • Php » Php » Version: 8.4.8
    cpe:2.3:a:php:php:8.4.8
  • Php » Php » Version: 8.4.9
    cpe:2.3:a:php:php:8.4.9
  • Php » Php » Version: 8.5.0
    cpe:2.3:a:php:php:8.5.0
  • Php » Php » Version: 8.5.1
    cpe:2.3:a:php:php:8.5.1
  • Php » Php » Version: 8.5.2
    cpe:2.3:a:php:php:8.5.2
  • Php » Php » Version: 8.5.3
    cpe:2.3:a:php:php:8.5.3
  • Php » Php » Version: 8.5.4
    cpe:2.3:a:php:php:8.5.4
  • Php » Php » Version: 8.5.5
    cpe:2.3:a:php:php:8.5.5


Contact Us

Shodan ® - All rights reserved