CVE-2026-7258: CWE-125 Out-of-bounds Read in PHP Group PHP
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.
AI Analysis
Technical Summary
This vulnerability arises from the use of signed char values passed to ctype functions in PHP, which on some systems with specific ctype implementations can result in out-of-bounds reads due to negative array indexing. Affected PHP versions include 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. The issue can trigger denial of service conditions but does not indicate code execution or data disclosure. The CVSS 4.0 score is 6.3, reflecting a medium severity with network attack vector and high attack complexity.
Potential Impact
The vulnerability can cause denial of service on affected PHP versions running on systems with default signed char and optimized ctype functions, such as NetBSD. There is no indication of privilege escalation, data corruption, or remote code execution. No known active exploitation has been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the PHP Group vendor advisory for current remediation guidance. Until an official fix is released, users should monitor vendor communications and consider mitigating exposure on affected systems, especially those running on NetBSD or similar environments. No vendor advisory or patch links are currently available.
CVE-2026-7258: CWE-125 Out-of-bounds Read in PHP Group PHP
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability arises from the use of signed char values passed to ctype functions in PHP, which on some systems with specific ctype implementations can result in out-of-bounds reads due to negative array indexing. Affected PHP versions include 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. The issue can trigger denial of service conditions but does not indicate code execution or data disclosure. The CVSS 4.0 score is 6.3, reflecting a medium severity with network attack vector and high attack complexity.
Potential Impact
The vulnerability can cause denial of service on affected PHP versions running on systems with default signed char and optimized ctype functions, such as NetBSD. There is no indication of privilege escalation, data corruption, or remote code execution. No known active exploitation has been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the PHP Group vendor advisory for current remediation guidance. Until an official fix is released, users should monitor vendor communications and consider mitigating exposure on affected systems, especially those running on NetBSD or similar environments. No vendor advisory or patch links are currently available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- php
- Date Reserved
- 2026-04-28T04:58:17.457Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a000b48cbff5d861022ac71
Added to database: 5/10/2026, 4:36:24 AM
Last enriched: 5/10/2026, 4:52:15 AM
Last updated: 5/11/2026, 4:48:10 AM
Views: 9
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.