Integer Underflow (Wrap or Wraparound) Affecting OpenPrinting/cups package, versions [0, 2.4.17)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.15% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-OPENPRINTINGCUPS-16007268
  • published13 Apr 2026
  • disclosed7 Apr 2026
  • creditTomer-PL

Introduced: 7 Apr 2026

CVE-2026-39314  (opens in a new tab)
CWE-191  (opens in a new tab)

How to fix?

Upgrade OpenPrinting/cups to version 2.4.17 or higher.

Overview

Affected versions of this package are vulnerable to Integer Underflow (Wrap or Wraparound) via the _ppdCreateFromIPP function. An attacker can cause the root cupsd process to crash by supplying a negative value for the job-password-supported attribute, which bypasses bounds checking and results in an integer underflow. This value is then cast to an unsigned type and used as the length argument to memset on a fixed-size stack buffer, leading to a segmentation fault and process termination. This can be exploited repeatedly to cause sustained service disruption.

CVSS Base Scores

version 4.0
version 3.1