CVE-2026-87875
Cups: openprinting cups: heap out-of-bounds read in cupsutf32toutf8() via missing source-length bound
Statance checks for CVE-2026-87875. Connected servers are checked automatically against the fixed versions their distribution or package ecosystem has published for it, including app dependency lockfiles. Check my servers ↗
Monitor this CVE ↗Full CVE monitoring on Pro and Business
What happened?
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.
Affected software and versions
| Software | Version information | Fixed version |
|---|---|---|
| cups-mainRed Hat | unaffected: 2.4.19-4.1.hum1 to < * | See vendor advisory |
| cupsRed Hat | Default status: affected | See vendor advisory |
| cupsRed Hat | Default status: affected | See vendor advisory |
| cupsRed Hat | Default status: affected | See vendor advisory |
| cupsRed Hat | Default status: affected | See vendor advisory |
| cupsRed Hat | Default status: affected | See vendor advisory |
| rhel9/cupsRed Hat | Default status: affected | See vendor advisory |
| openshift/ose-rhel-coreos-8Red Hat | Default status: affected | See vendor advisory |
Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.
Is it being exploited?
This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.
How to respond
- Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
- Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
- Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.
Sources and remediation references
- https://www.cve.org/CVERecord?id=CVE-2026-87875
- 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