Stack-memory disclosure via inflated SNMP string length
Published Apr 24, 2026 · Updated Apr 24, 2026
Out-of-bounds read in OpenPrinting CUPS before 2.4.17 allows remote attackers to expose stack memory through crafted SNMP replies. asn1_decode_snmp records the untrusted ASN.1 length before asn1_get_string truncates the copy, so backend_walk_cb passes an inflated byte count to utf16_to_utf8 and reads up to 176 bytes beyond the stack buffer. Exploitation requires the same LAN segment, enabled SNMP discovery, and an SNMP-discovered printer; leaked bytes become supply descriptions visible to authenticated users.
Summary
What happened
Out-of-bounds read in OpenPrinting CUPS before 2.4.17 allows remote attackers to expose stack memory through crafted SNMP replies. asn1_decode_snmp records the untrusted ASN.1 length before asn1_get_string truncates the copy, so backend_walk_cb passes an inflated byte count to utf16_to_utf8 and reads up to 176 bytes beyond the stack buffer. Exploitation requires the same LAN segment, enabled SNMP discovery, and an SNMP-discovered printer; leaked bytes become supply descriptions visible to authenticated users.
The record
- CVE
- CVE-2026-41079
- Published
- Apr 24, 2026
- Updated
- Apr 24, 2026
- Vendor
- OpenPrinting
- Product
- CUPS
- Classifications
- CWE-125, CWE-200
- Attack vector
- adjacent
- Privileges
- unauthenticated
Timeline
How it unfolded
- Apr 24, 2026CVE publishedPublication date reported by the CVE source.
- Apr 24, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 2.4.17
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- CUPS SNMP out-of-bounds read proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo