# CVE-2026-87875: Cups: openprinting cups: heap out-of-bounds read in cupsutf32toutf8() via missing source-length bound

- Severity: Medium 4.3 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-09T16:06:27.371Z
- Modified: 2026-11-24T22:18:58.327Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- cups-main: no versions given (not affected: from 2.4.19-4.1.hum1 before *)
- cups: no versions given
- rhel9/cups: no versions given
- openshift/ose-rhel-coreos-8: no versions given

## References

- <https://github.com/OpenPrinting/cups/security/advisories/GHSA-559w-7676-3xrq> (exploit)
- <https://access.redhat.com/errata/RHSA-2026:66600> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2026-87875> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2530994> (issue-tracking)
- <https://github.com/OpenPrinting/cups/commit/0c6842fc615e8afa284136a092da8178abf5f142>
- <https://github.com/OpenPrinting/cups/commit/2b1dc178a2d2325135b855142e384f4e8c42d8e4>

## Sources

- CVE List: [CVE-2026-87875](https://www.cve.org/CVERecord?id=CVE-2026-87875), CVE Terms of Use, modified 2026-11-24
- NVD: [CVE-2026-87875](https://nvd.nist.gov/vuln/detail/CVE-2026-87875), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2026-87875 · Whole record: https://cve.day/CVE-2026-87875.json · Rebuilt by cve.day 2026-11-25T22:59:37.777Z
