CVE-2026-7258
Last modified
CVE-2026-7258 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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.. EPSS estimates a 0.34% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Amber
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Php | Php | >= 8.2.0, < 8.2.21 |
| Php | Php | >= 8.3.0, < 8.3.31 |
| Php | Php | >= 8.4.0, < 8.4.21 |
| Php | Php | >= 8.5.0, < 8.5.6 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-7258?
How severe is CVE-2026-7258?
How do I fix CVE-2026-7258?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-72574A host header injection vulnerability in picocms/Pico throug…6.1
- CVE-2026-72575An improper authorization vulnerability in daptin through v0…9.1
- CVE-2026-72576A stored cross-site scripting (XSS) vulnerability in Bludit …5.4
- CVE-2026-72577Multiple vulnerabilities in NASA fprime-gds through 3.4.3 al…9.8
- CVE-2026-72578A cross-site request forgery (CSRF) vulnerability in FreePBX…8.8
- CVE-2026-72579An OS command injection vulnerability in NASA HyperCP (main …7.5
- CVE-2026-72580An OS command injection vulnerability in duhow/xiaoai-patch …9.8
- CVE-2026-72581A server-side request forgery (SSRF) vulnerability in duhow/…8.6
- CVE-2026-72582A NULL pointer dereference vulnerability in fastschema throu…7.5
- CVE-2026-72583A stored cross-site scripting (XSS) vulnerability in fastsch…5.4
- CVE-2026-72584A time-of-check/time-of-use (TOCTOU) race condition in fasts…7.4
- CVE-2026-72585An authorization bypass vulnerability in Grafana through 13.…6.5
Are you affected by CVE-2026-7258?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
