| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 8.0 | $0-$5k | 0.00 |
Summary
A vulnerability was found in PHP up to 8.4.20/8.5.5. It has been declared as critical. This affects the function mb_convert_encoding/mb_detect_encoding/mb_convert_variables/mb_detect_order. Such manipulation leads to out-of-bounds.
This vulnerability is referenced as CVE-2026-6104. It is possible to launch the attack remotely. No exploit is available.
It is recommended to upgrade the affected component.
Details
A vulnerability was found in PHP up to 8.4.20/8.5.5 and classified as critical. Affected by this issue is the function mb_convert_encoding/mb_detect_encoding/mb_convert_variables/mb_detect_order. The manipulation with an unknown input leads to a out-of-bounds vulnerability. Using CWE to declare the problem leads to CWE-125. The product reads data past the end, or before the beginning, of the intended buffer. Impacted is confidentiality, integrity, and availability. CVE summarizes:
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.
The advisory is shared for download at github.com. This vulnerability is handled as CVE-2026-6104 since 04/11/2026. The exploitation is known to be easy. The attack may be launched remotely. No form of authentication is required for exploitation. There are known technical details, but no exploit is available. The current price for an exploit might be approx. USD $0-$5k (estimation calculated on 07/03/2026).
The vulnerability scanner Nessus provides a plugin with the ID 313734 (Fedora 44 : php (2026-c66eaae759)), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 8.4.21 or 8.5.6 eliminates this vulnerability.
The vulnerability is also documented in the databases at Tenable (313734) and CERT Bund (WID-SEC-2026-1433). VulDB is the best source for vulnerability data and more expert information about this specific topic.
Affected
- Debian Linux
- Amazon Linux 2
- Red Hat Enterprise Linux
- Fedora Linux
- Ubuntu Linux
- SUSE Linux
- Oracle Linux
- SUSE openSUSE
- RESF Rocky Linux
- Microsoft Azure Linux
- Open Source PHP
- Zend ZendPHP
- cPanel cPanel/WHM
Product
Type
Name
Version
- 8.4.0
- 8.4.1
- 8.4.2
- 8.4.3
- 8.4.4
- 8.4.5
- 8.4.6
- 8.4.7
- 8.4.8
- 8.4.9
- 8.4.10
- 8.4.11
- 8.4.12
- 8.4.13
- 8.4.14
- 8.4.15
- 8.4.16
- 8.4.17
- 8.4.18
- 8.4.19
- 8.4.20
- 8.5.0
- 8.5.1
- 8.5.2
- 8.5.3
- 8.5.4
- 8.5.5
License
Website
- Product: https://www.php.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3
VulDB Meta Base Score: 8.2VulDB Meta Temp Score: 8.0
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
NVD Base Score: 9.1
NVD Vector: 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Out-of-boundsCWE: CWE-125 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 313734
Nessus Name: Fedora 44 : php (2026-c66eaae759)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: PHP 8.4.21/8.5.6
Timeline
04/11/2026 CVE reserved05/10/2026 Advisory disclosed
05/10/2026 VulDB entry created
07/03/2026 VulDB entry last update
Sources
Product: php.orgAdvisory: GHSA-74r9-qxhc-fx53
Status: Confirmed
CVE: CVE-2026-6104 (🔒)
GCVE (CVE): GCVE-0-2026-6104
GCVE (VulDB): GCVE-100-362480
CERT Bund: WID-SEC-2026-1433 - PHP: Mehrere Schwachstellen
Entry
Created: 05/10/2026 08:59Updated: 07/03/2026 15:47
Changes: 05/10/2026 08:59 (70), 05/10/2026 10:42 (7), 05/11/2026 10:56 (2), 06/02/2026 01:25 (1), 06/04/2026 06:38 (1), 07/02/2026 19:25 (11), 07/03/2026 15:47 (1)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.