Buffer Overflow Vulnerability in CUPS Package - CVE-2019-8842

cups Updated 02 Oct 2025

Summary

27/10/2020
N/A
Yes i
Low
3.3

ALPINE-CVE-2019-8842: A buffer overflow was addressed with improved bounds checking. Affects cups versions < 2.2.12-r1. Fixed in 2.2.12-r1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

CUPS (Common Unix Printing System) is an open-source printing system for Unix-like operating systems that allows a computer to act as a print server. It provides a standard printing interface and supports various printing protocols. The CUPS package is widely used in many Linux distributions, including Alpine Linux. However, it has been identified to have a buffer overflow vulnerability, which could allow remote attackers to exploit certain configurations.

Vulnerability Detail

The vulnerability, identified as CVE-2019-8842, arises from inadequate bounds checking in the CUPS package. This flaw can lead to a buffer overflow, allowing a remote attacker to submit arbitrary print jobs under specific configurations. The potential ramifications include unauthorized access to system resources and the ability to execute arbitrary code, which could compromise the integrity and confidentiality of the affected system.

How To Fix

Minimum fixed version

2.2.12-r1

This is the first release that contains the fix.

sudo apk add --upgrade cups

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can restrict access to the CUPS service by configuring firewall rules to limit incoming connections or disabling the CUPS service until the package is updated.

Conclusion

CVE-2019-8842 is a significant vulnerability in the CUPS package that poses risks of unauthorized access and code execution. Users are strongly advised to update their CUPS installations to the patched versions to mitigate these risks. Temporary workarounds can be employed until updates are applied.

See every vulnerability recorded for cups →

Share this vulnerability

FAQ

CVE-2019-8842 is a buffer overflow vulnerability in the CUPS package that could allow remote attackers to submit arbitrary print jobs.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

As a temporary measure, consider restricting access to the CUPS service or disabling it until you can apply the necessary updates.

The vulnerability can lead to unauthorized access and execution of arbitrary code, which may compromise system integrity and confidentiality.

The CVSS score for CVE-2019-8842 is 3.3, indicating a moderate severity level.

Related vulnerabilities

Recent vulnerabilities recorded for cups.

How To Fix

Minimum fixed version

2.2.12-r1

This is the first release that contains the fix.

sudo apk add --upgrade cups

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback