CVE-2026-6104 Vulnerability Analysis & Exploit Details

CVE-2026-6104
Vulnerability Scoring

9.1
/10
Critical Risk

As a catastrophic security flaw, CVE-2026-6104 has severe implications, demanding immediate intervention.

Attack Complexity Details

  • Attack Complexity: Low
    Exploits can be performed without significant complexity or special conditions.
  • Attack Vector: Network
    Vulnerability is exploitable over a network without physical access.
  • Privileges Required: None
    No privileges are required for exploitation.
  • Scope: Unchanged
    Exploit remains within the originally vulnerable component.
  • User Interaction: None
    No user interaction is necessary for exploitation.

CVE-2026-6104 Details

Status: Analyzed

Last updated: 🕠 12 May 2026, 17:35 UTC
Originally published on: 🕕 10 May 2026, 06:16 UTC

Time between publication and last update: 2 days

CVSS Release: version 3

CVSS3 Source

nvd@nist.gov

CVSS3 Type

Primary

CVSS3 Vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

CVE-2026-6104 Vulnerability Summary

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.

Assessing the Risk of CVE-2026-6104

Access Complexity Graph

The exploitability of CVE-2026-6104 depends on two key factors: attack complexity (the level of effort required to execute an exploit) and privileges required (the access level an attacker needs).

Exploitability Analysis for CVE-2026-6104

With low attack complexity and no required privileges, CVE-2026-6104 is an easy target for cybercriminals. Organizations should prioritize immediate mitigation measures to prevent unauthorized access and data breaches.

Understanding AC and PR

A lower complexity and fewer privilege requirements make exploitation easier. Security teams should evaluate these aspects to determine the urgency of mitigation strategies, such as patch management and access control policies.

Attack Complexity (AC) measures the difficulty in executing an exploit. A high AC means that specific conditions must be met, making an attack more challenging, while a low AC means the vulnerability can be exploited with minimal effort.

Privileges Required (PR) determine the level of system access necessary for an attack. Vulnerabilities requiring no privileges are more accessible to attackers, whereas high privilege requirements limit exploitation to authorized users with elevated access.

CVSS Score Breakdown Chart

Above is the CVSS Sub-score Breakdown for CVE-2026-6104, illustrating how Base, Impact, and Exploitability factors combine to form the overall severity rating. A higher sub-score typically indicates a more severe or easier-to-exploit vulnerability.

CIA Impact Analysis

Below is the Impact Analysis for CVE-2026-6104, showing how Confidentiality, Integrity, and Availability might be affected if the vulnerability is exploited. Higher values usually signal greater potential damage.

  • Confidentiality: High
    Exploiting CVE-2026-6104 can result in unauthorized access to sensitive data, severely compromising data privacy.
  • Integrity: None
    CVE-2026-6104 poses no threat to data integrity.
  • Availability: High
    CVE-2026-6104 can disrupt system operations, potentially causing complete denial of service (DoS).

CVE-2026-6104 References

External References

CWE Common Weakness Enumeration

CWE-125

CAPEC Common Attack Pattern Enumeration and Classification

  • Overread Buffers CAPEC-540 An adversary attacks a target by providing input that causes an application to read beyond the boundary of a defined buffer. This typically occurs when a value influencing where to start or stop reading is set to reflect positions outside of the valid memory location of the buffer. This type of attack may result in exposure of sensitive information, a system crash, or arbitrary code execution.

Vulnerable Configurations

  • cpe:2.3:a:php:php:8.4.0:-:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.0:-:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.0:rc1:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.0:rc1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.0:rc2:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.0:rc2:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.0:rc3:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.0:rc3:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.0:rc4:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.0:rc4:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.0:beta1:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.0:beta1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.0:beta2:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.0:beta2:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.0:beta3:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.0:beta3:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.0:beta4:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.0:beta4:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.0:beta5:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.0:beta5:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.0:alpha1:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.0:alpha1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.0:alpha2:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.0:alpha2:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.0:alpha3:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.0:alpha3:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.0:alpha4:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.0:alpha4:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.1:*:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.1:*:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.2:-:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.2:-:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.2:rc1:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.2:rc1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.3:-:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.3:-:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.3:rc1:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.3:rc1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.4:-:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.4:-:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.4:rc1:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.4:rc1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.4:rc2:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.4:rc2:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.5:*:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.5:*:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.5:-:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.5:-:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.5:rc1:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.5:rc1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.6:-:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.6:-:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.6:rc1:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.6:rc1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.7:-:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.7:-:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.7:rc1:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.7:rc1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.7:rc2:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.7:rc2:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.8:-:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.8:-:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.8:rc1:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.8:rc1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.9:-:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.9:-:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.9:rc1:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.9:rc1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.10:*:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.10:*:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.11:rc1:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.11:rc1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.12:-:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.12:-:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.12:rc1:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.12:rc1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.13:-:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.13:-:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.13:rc1:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.13:rc1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.14:-:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.14:-:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.14:rc1:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.14:rc1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.15:-:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.15:-:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.15:rc1:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.15:rc1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.16:-:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.16:-:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.4.16:rc1:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.4.16:rc1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.5.0:rc1:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.5.0:rc1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.5.0:rc2:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.5.0:rc2:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.5.0:rc3:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.5.0:rc3:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.5.0:rc4:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.5.0:rc4:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.5.0:rc5:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.5.0:rc5:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.5.0:beta1:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.5.0:beta1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.5.0:beta2:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.5.0:beta2:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.5.0:beta3:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.5.0:beta3:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.5.0:alpha1:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.5.0:alpha1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.5.0:alpha2:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.5.0:alpha2:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.5.0:alpha3:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.5.0:alpha3:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.5.0:alpha4:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.5.0:alpha4:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.5.1:-:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.5.1:-:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.5.1:rc1:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.5.1:rc1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.5.1:rc2:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.5.1:rc2:*:*:*:*:*:*

Protect Your Infrastructure against CVE-2026-6104: Combat Critical CVE Threats

Stay updated with real-time CVE vulnerabilities and take action to secure your systems. Enhance your cybersecurity posture with the latest threat intelligence and mitigation techniques. Develop the skills necessary to defend against CVEs and secure critical infrastructures. Join the top cybersecurity professionals safeguarding today's infrastructures.

Other 5 Recently Published CVEs Vulnerabilities

  • CVE-2026-9757 – The GEO my WP plugin for WordPress is vulnerable to SQL Injection via the 'swlatlng' and 'nelatlng' parameters in all versions up to, and including...
  • CVE-2026-7465 – The Spectra Gutenberg Blocks – Website Builder for the Block Editor plugin for WordPress is vulnerable to Remote Code Execution in all versions up ...
  • CVE-2026-7459 – The Simple History – Track, Log, and Audit WordPress Changes plugin for WordPress is vulnerable to authenticated (Subscriber+) account takeover in ...
  • CVE-2026-10113 – A vulnerability was found in Open5GS up to 2.7.7. Affected by this vulnerability is an unknown functionality in the library lib/sbi/nnrf-handler.c ...
  • CVE-2026-5071 – The SocketCAN implementation validates the length of a user-provided buffer containing a socketcan_frame object using only a NET_ASSERT statement i...