🛡️ CVE-2026-7258 — libphp
Description
Out-of-bounds read in urldecode() on NetBSD
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.
Affected software
CVE-2026-7258 is recorded against 4 packages.
- libphp
- php
- php-min
- unknown
Timeline and source
Published on 12 May 2026 and last revised on 8 July 2026. No public exploit is currently recorded for this entry. Record sourced from NVD.
References
CVE-2026-7258 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| libphp | — | — |
| php | — | — |
| php-min | — | — |
| unknown | — | — |
References
Similar Threats
- Critical CVE-2020-7059
- Critical CVE-2020-7060
- Critical CVE-2020-7061
- High CVE-2020-7062
- Medium CVE-2020-7063
More CVE 2026 advisories
Browse all of CVE 2026 in the advisory index.
Vulnerability Monitoring
Track new vulnerabilities in libphp
CVE-2026-7258 is rated CVSS 5.0 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.
Set Up Free Alerts →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.