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

24 Jul 2026, 08:10

Type Values Removed Values Added
Summary
  • (es) En las versiones de PHP 8.2.* anteriores a la 8.2.31, 8.3.* anteriores a la 8.3.31, 8.4.* anteriores a la 8.4.21, y 8.5.* anteriores a la 8.5.6, algunas funciones, incluyendo urldecode(), pasan signed char a funciones ctype (como isxdigit()). En los sistemas con signed char predeterminado y funciones ctype optimizadas por tabla de búsqueda - como NetBSD - esto puede llevar a acceder a un array con un desplazamiento negativo, lo que puede desencadenar una denegación de servicio.

12 May 2026, 17:41

Type Values Removed Values Added
First Time Php
Php php
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
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
CPE cpe:2.3:a:php:php:*:*:*:*:*:*:*:*

10 May 2026, 05:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-10 05:16

Updated : 2026-07-24 08:10


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