CVE-2026-7258: PHP - Denial of Service
- Cve: CVE-2026-7258
- Name: PHP - Denial of Service
- 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.
- Impact: Attackers can cause a denial of service by triggering application crashes via crafted input.
- Remediation: Upgrade to PHP 8.2.31, 8.3.31, 8.4.21, 8.5.6 or later.
- Vulnerability type: denial_of_service
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.00363
- Epss percentile: 0.30768
- Assignee: [email protected]
- Published at: 2026-05-10T05:16:11Z
- Age in days: 198
- Modified at: 2026-07-24T08:10:00Z
- Patch available: yes
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-7258
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-125 | Out-of-bounds Read |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/php/php-src/security/advisories/GHSA-m8rr-4c36-8gq4 | nvd | Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| php:php | >= 8.5.0, < 8.5.6; >= 8.4.0, < 8.4.21; >= 8.3.0, < 8.3.31; >= 8.2.0, < 8.2.21 | no | nvd | /v1/products/php/php |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| php/php-src | fix, security_advisory | yes | /v1/repositories/php/php-src |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Exposed hosts: 6200906
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports