CVE-2026-34979

OpenPrinting CUPS: Heap overflow in `get_options()`

Published Apr 3, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. In versions 2.4.16 and prior, there is a heap-based buffer overflow in the CUPS scheduler when building filter option strings from job attribute. At time of publication, there are no publicly available patches.

Analysis

AI-generated

Technical impact

A heap‑based buffer overflow occurs in the CUPS scheduler while building filter option strings from job attributes. The overflow exposes a vulnerability that could lead to arbitrary memory corruption, potentially allowing an attacker to execute code or cause a denial of service. The weakness falls under CWE‑120 and CWE‑122.

Affected Systems

OpenPrinting CUPS version 2.4.16 and earlier on Linux and other Unix‑like operating systems are affected. This includes all distributions that ship the default CUPS scheduler component.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity, and the EPSS score is not publicly available, leaving the likelihood of exploitation uncertain. The vulnerability is not listed in the CISA KEV catalog. Based on the description, the likely attack vector is remote via the printing service, though local privilege escalation cannot be ruled out.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Restrict external print job submissions and limit access to the CUPS service to trusted users
  • Configure firewalls or network segmentation to block unauthenticated access to the printer service
  • Monitor vendor security advisories for a patch; once a newer CUPS version is released, upgrade promptly

Generated by OpenCVE AI on April 4, 2026 at 04:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8405-1 CUPS vulnerabilities
History
Type Values Removed Values Added
CPEs cpe:2.3:a:openprinting:cups:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Openprinting
Openprinting cups
Vendors & Products Openprinting
Openprinting cups
Type Values Removed Values Added
Description OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. In versions 2.4.16 and prior, there is a heap-based buffer overflow in the CUPS scheduler when building filter option strings from job attribute. At time of publication, there are no publicly available patches.
Title OpenPrinting CUPS: Heap overflow in `get_options()`
Weaknesses CWE-122
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}

Weaknesses
  • CWE-120

    Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

  • CWE-122

    Heap-based Buffer Overflow

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 7, 2026, 2:19 PM
Reserved
Mar 31, 2026, 7:38 PM
Status
Analyzed
Published
Apr 3, 2026, 10:16 PM
Modified
Jul 24, 2026, 9:10 PM
Severity
Moderate
Public date
Apr 3, 2026, 9:16 PM