# CVE-2026-7258: Out-of-bounds read in urldecode() on NetBSD

- Priority: **Routine**
- Reason: Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-05-10 · Modified: 2026-05-11
- Aliases: UBUNTU-CVE-2026-7258, DEBIAN-CVE-2026-7258, CGA-5794-2652-j7h7, CGA-m8x5-pjpw-vr94, ALPINE-CVE-2026-7258
- Record: https://cvemate.com/vulnerability/CVE-2026-7258 · JSON: https://cvemate.com/vulnerability/CVE-2026-7258/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.363%, percentile 32.159%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine php81 (Alpine Linux): \< 8.1.34-r0
- alpine php82 (Alpine Linux): \< 8.2.31-r0
- alpine php83 (Alpine Linux): \< 8.3.36-r0 \| \< 8.3.31-r0
- alpine php84 (Alpine Linux): \< 8.4.27-r0 \| \< 8.4.21-r0
- alpine php85 (Alpine Linux): \< 8.5.6-r0
- chainguard php-8.2 (Chainguard): \< 8.2.31-r0
- wolfi php-8.2 (Wolfi): \< 8.2.31-r0
- debian php8.2 (Debian): \< 8.2.31-1~deb12u1
- debian php8.4 (Debian): \< 8.4.21-1~deb13u1 \| \< 8.4.21-1
- ubuntu php8.3 (Ubuntu): \< 8.3.6-0ubuntu0.24.04.9
- ubuntu php8.4 (Ubuntu): \< 8.4.11-1ubuntu1.2
- ubuntu php8.5 (Ubuntu): \< 8.5.4-0ubuntu1.1
- php group php: ≥ 8.2.\*, \< 8.2.31 \| ≥ 8.3.\*, \< 8.3.31 \| ≥ 8.4.\*, \< 8.4.21 \| ≥ 8.5.\*, \< 8.5.6
- php php: ≥ 8.2.0, \< 8.2.21 \| ≥ 8.3.0, \< 8.3.31 \| ≥ 8.4.0, \< 8.4.21 \| ≥ 8.5.0, \< 8.5.6

## References

- <https://github.com/php/php-src/security/advisories/GHSA-m8rr-4c36-8gq4>
- <https://ubuntu.com/security/CVE-2026-7258>
- <https://www.cve.org/CVERecord?id=CVE-2026-7258>
- <https://security-tracker.debian.org/tracker/CVE-2026-7258>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/7xxx/CVE-2026-7258.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-7258>
- <https://security.alpinelinux.org/vuln/CVE-2026-7258>

---

Data as of 2026-12-05T03:32:31.321Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
