CVE-2026-87875
Cups: openprinting cups: heap out-of-bounds read in cupsutf32toutf8() via missing source-length bound
At a glance
- Severity
- MEDIUM 4.3
- EPSS
- EPSS 0.39 % · percentile 33 (2026-10-27)
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- NVD status
- Awaiting Analysis
Description
The cupsUTF32ToUTF8() function in CUPS's cups/transcode.c lacks a source-length bound and can read past the end of the source buffer, resulting in a heap out-of-bounds read. This is reachable via SNMP supply-description parsing in backend/snmp-supplies.c with attacker-controlled content.
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N | redhat |
| CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N | NVD · secalert@redhat.com (Secondary) |
Weaknesses (CWE)
European references
- ENISA EUVD · EUVD-2026-75085
- GCVE · GCVE-0-2026-87875
Affected products
References
- https://access.redhat.com/errata/RHSA-2026:66600
- https://access.redhat.com/security/cve/CVE-2026-87875
- https://bugzilla.redhat.com/show_bug.cgi?id=2530994
- https://github.com/OpenPrinting/cups/commit/0c6842fc615e8afa284136a092da8178abf5f142
- https://github.com/OpenPrinting/cups/commit/2b1dc178a2d2325135b855142e384f4e8c42d8e4
- https://github.com/OpenPrinting/cups/security/advisories/GHSA-559w-7676-3xrq
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |