CVE-2026-7258
Published:May 10, 2026
Updated:May 16, 2026
In PHP versions 8.2.* before 8.2.31, 8.3.* before 8.3.31, 8.4.* before 8.4.21, and 8.5.* before 8.5.6, some functions, including urldecode(), pass signed char to ctype functions (like isxdigit()). On the systems with default signed char and optimized table-lookup ctype functions - such as NetBSD - this can lead to accessing array with negative offset, which can trigger a denial of service.
Affected Packages
https://github.com/php/php-src.git (GITHUB):
Affected version(s) >=php-8.4.0 <php-8.4.21Fix Suggestion:
Update to version php-8.4.21https://github.com/php/php-src.git (GITHUB):
Affected version(s) >=php-8.5.0 <php-8.5.6Fix Suggestion:
Update to version php-8.5.6https://github.com/php/php-src.git (GITHUB):
Affected version(s) >=php-8.3.0 <php-8.3.31Fix Suggestion:
Update to version php-8.3.31https://github.com/php/php-src.git (GITHUB):
Affected version(s) >=php-8.2.0 <php-8.2.31Fix Suggestion:
Update to version php-8.2.31Related Resources (1)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.3
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
LOW
CVSS v3
Base Score:
4
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Weakness Type (CWE)
Out-of-bounds Read
EPSS
Base Score:
0.02