ZeroDay Brief
CVE-2026-7258

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.

CVSS
7.5High
Chance of exploitation (EPSS)
0.36%
Published
May 10, 2026
In the news
Not yet
Vendor advisory More from this vendor

What to do

A serious memory read flaw in PHP that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.

Action: Apply the vendor's update or follow its advisory.

Fixed in: 8.2.31, 8.3.31, 8.4.21, 8.5.6

Affected versions
PHP
8.2.* to before 8.2.31; 8.3.* to before 8.3.31; 8.4.* to before 8.4.21; 8.5.* to before 8.5.6

Description

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.

CWE-125

Affected products

Get alerts for these →

Timeline 2

Latest change: Nessus plugin 370448: Oracle Linux 8 : php:7.4 (ELSA-2026-87080) (Nov 16, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

Sun, May 10, 2026

  1. CVECVE-2026-7258 published (CVSS 7.5)CVE Program · 05:16 UTC

References 1

  • github.com Vendor Advisory /php/php-src/security/advisories/GHSA-m8rr-4c36-8gq4

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”