CVE-2026-41079: 
Alma Linux vulnerability analysis and mitigation

Overview

CVE-2026-41079 is an out-of-bounds read vulnerability in the OpenPrinting CUPS SNMP backend that allows a network-adjacent unauthenticated attacker to leak up to 176 bytes of stack memory, which is subsequently exposed to authenticated users via IPP and the CUPS web interface. It affects all CUPS versions prior to 2.4.17 (i.e., ≤ 2.4.16). The vulnerability was published on April 24, 2026, and fixed in CUPS 2.4.17. It carries a CVSS v3.1 base score of 5.4 (Medium) per Feedly/NVD, though the GitHub advisory scores it 4.3 (Moderate) (GitHub Advisory).

Technical details

The root cause (CWE-125: Out-of-bounds Read; CWE-200: Exposure of Sensitive Information) lies in cups/snmp.c, function asn1_decode_snmp(). When processing an ASN.1 OCTET_STRING, the num_bytes field of the cups_snmp_string_t struct is set to the raw attacker-controlled ASN.1 length value before asn1_get_string() clamps the actual copy to min(length, 1023) bytes — but num_bytes is never updated to reflect the clamped value. In backend/snmp-supplies.c, backend_walk_cb() then passes this inflated num_bytes to utf16_to_utf8(), which reads up to 176 bytes past the 1024-byte string.bytes buffer into adjacent stack memory (including the num_bytes field itself, struct padding, and stack variables). The leaked bytes are converted from UTF-16 to UTF-8 and stored as printer supply description strings, propagated via cupsd to the printer-supply-description IPP attribute and the CUPS web UI. Exploitation requires the attacker to be on the same LAN segment and respond to CUPS SNMP GetRequest broadcasts with a crafted GetResponse setting prtLocalizationCharacterSet=1015 (UTF-16BE) and an OCTET_STRING with an inflated length field (e.g., 1200) (GitHub Advisory, Patch Commit).

Impact

The primary impact is information disclosure: up to 176 bytes of stack memory — potentially containing return addresses, local variables, or pointers — are leaked and made visible to any authenticated CUPS user via IPP Get-Printer-Attributes responses and the CUPS web interface at https://localhost:631/printers/. A secondary availability impact exists in hardened builds (compiled with ASan or run under Valgrind), where the out-of-bounds read can crash the supply monitoring function, constituting a denial-of-service of that component. There is no integrity impact, and the vulnerability does not directly enable remote code execution or lateral movement (GitHub Advisory).

Exploitability

A proof-of-concept exploit is publicly available in the GitHub security advisory, including both a Python SNMP responder (poc_snmp_oob_read.py) and a C program with full ASan crash output (poc_snmp_e2e.c). Exploitation requires no authentication and no user interaction, but the attacker must be on the same LAN segment as the CUPS host and SNMP printer discovery must be enabled (the default configuration). There is no evidence of in-the-wild exploitation as of the time of publication, and the vulnerability is not listed in the CISA KEV catalog. The EPSS score is approximately 0.012% (0.000120), reflecting low probability of near-term exploitation (GitHub Advisory, Feedly).

Exploitation steps

  1. Reconnaissance: Identify CUPS hosts on the local network segment that have SNMP printer discovery enabled (default). Use network scanning tools (e.g., nmap -sU -p 161) to find hosts listening on UDP/161 or observe SNMP GetRequest broadcasts from CUPS backends.
  2. Set up SNMP listener: Deploy a crafted SNMP responder (e.g., poc_snmp_oob_read.py from the advisory) on the attacker's machine, binding to UDP port 161 and listening for SNMP GetRequest broadcasts from the CUPS SNMP backend.
  3. Craft malicious SNMP response: When a CUPS SNMP GetRequest is received, respond with a crafted GetResponse containing:
    • prtLocalizationCharacterSet = 1015 (CUPS_TC_csUTF16BE) to trigger UTF-16 processing
    • prtMarkerSuppliesDescription as an ASN.1 OCTET_STRING with the length field set to 1200 (exceeding the 1024-byte buffer), but only 1023 bytes of actual data
  4. Trigger out-of-bounds read: CUPS processes the response, sets num_bytes=1200, copies only 1023 bytes into string.bytes, then calls utf16_to_utf8() with the inflated num_bytes, reading 176 bytes past the buffer into adjacent stack memory.
  5. Observe leaked data: The leaked stack bytes are converted to UTF-8 and stored as printer supply description strings. An authenticated user (or the attacker if they have CUPS credentials) can retrieve the leaked data via an IPP Get-Printer-Attributes request or by visiting the CUPS web UI at https://<target>:631/printers/ (GitHub Advisory).

Indicators of compromise

  • Network: Unexpected SNMP GetResponse packets (UDP/161) originating from non-printer hosts on the LAN, particularly responses containing unusually large OCTET_STRING length fields (>1024); SNMP traffic from hosts not in the authorized printer inventory.
  • Logs: CUPS error log (/var/log/cups/error_log) entries showing unexpected or garbled printer supply description strings for SNMP-discovered printers; repeated SNMP backend activity for printers not physically present.
  • File System / Process: Unusual cups-snmp backend process activity; garbled or non-printable characters appearing in printer-supply-description attributes visible via ipptool or the CUPS web UI at https://localhost:631/printers/.
  • IPP Attributes: Get-Printer-Attributes responses containing printer-supply-description values with garbled, non-UTF-8-clean, or binary-looking strings for SNMP-discovered printers (GitHub Advisory).

Mitigation and workarounds

Upgrade OpenPrinting CUPS to version 2.4.17 or later, which clamps num_bytes to the actual buffer size after asn1_get_string() in cups/snmp.c (Patch Commit, Patch Commit master). As a workaround where upgrading is not immediately possible: disable SNMP printer discovery by editing /etc/cups/snmp.conf and setting Address to an empty value or removing SNMP backend entries, and restrict UDP/161 traffic to authorized printer management hosts using firewall rules. Distribution-specific patches are available for SUSE (SUSE-SU-2026:21787-1), Ubuntu (USN-8405-1), and Amazon Linux 2023 (ALAS2023-2026-1668) (SUSE Advisory, Ubuntu Advisory).

Community reactions

The vulnerability was reported by researcher Tomer-PL and published via the OpenPrinting GitHub security advisory program on April 17, 2026. Distribution vendors including SUSE, Ubuntu, and Amazon Linux have issued security updates. The Yocto Project security mailing list also tracked the issue across multiple messages. No significant broader media coverage or notable social media discussion has been identified beyond standard vulnerability tracking and distribution patch announcements (GitHub Advisory, SUSE Advisory, Ubuntu Advisory).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

cups

Affected

sid

cups: 2.4.17-1

Fixed

trixie

cups

Affected

Ubuntu

Fixed

bionic (esm-infra)

cups

Affected

devel

cups

Not Affected

focal (esm-infra)

cups

Affected

jammy

cups: 2.4.1op1-1ubuntu4.20

Fixed

noble

cups: 2.4.7-1.2ubuntu7.13

Fixed

questing

cups: 2.4.12-0ubuntu3.9

Fixed

resolute

cups: 2.4.16-1ubuntu1.2

Fixed

xenial (esm-infra-legacy)

cups

Affected

RHEL / CentOS

Affected

OpenShift

openshift/ose-rhel-coreos-8

Affected

RHEL 8

cups.src

Affected

RHEL 9

cups.src

Affected

RHEL 10

cups.src

Affected

Source: This report was generated using AI

Related Alma Linux vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-93546HIGH8.8
  • Apache HTTP Server logoApache HTTP Server
  • cpe:2.3:a:apache:http_server
NoYesOct 01, 2026
CVE-2026-73636HIGH8.1
  • Apache HTTP Server logoApache HTTP Server
  • httpd:2.4::mod_proxy_html
NoYesOct 01, 2026
CVE-2026-63718HIGH7.5
  • Apache HTTP Server logoApache HTTP Server
  • httpd:2.4::httpd-manual
NoYesOct 01, 2026
CVE-2026-73637HIGH7.3
  • Apache HTTP Server logoApache HTTP Server
  • httpd
NoYesOct 01, 2026
CVE-2026-79768MEDIUM5.3
  • Apache HTTP Server logoApache HTTP Server
  • httpd:2.4::mod_session
NoYesOct 01, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management