CVE-2026-7258

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*

History

12 May 2026, 17:41

Type Values Removed Values Added
References () https://github.com/php/php-src/security/advisories/GHSA-m8rr-4c36-8gq4 - () https://github.com/php/php-src/security/advisories/GHSA-m8rr-4c36-8gq4 - Vendor Advisory
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
CPE cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
First Time Php
Php php

10 May 2026, 05:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-10 05:16

Updated : 2026-05-12 17:41


NVD link : CVE-2026-7258

Mitre link : CVE-2026-7258

CVE.ORG link : CVE-2026-7258


JSON object : View

Products Affected

php

  • php
CWE
CWE-125

Out-of-bounds Read