CUPS - Buffer Overflow in Compressed Raster File Parsing

cups Updated 02 Oct 2025

Summary

25/02/2015
N/A
Yes i
Unrated
Not published

DSA-3172-1: cups - security update. Affects cups versions < 1.5.3-5+deb7u5. Fixed in 1.5.3-5+deb7u5. 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 Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

CUPS (Common UNIX Printing System) is a printing system that allows computers to act as print servers, providing printing services to other computers on a network. It is widely used in Unix-like operating systems. CUPS supports various file formats, including compressed raster files. These files contain image data that can be printed. However, a vulnerability has been discovered in CUPS that allows a remote attacker to trigger a buffer overflow by submitting a specially crafted compressed raster file.

Vulnerability Detail

The vulnerability in CUPS arises from a failure to correctly parse compressed raster files. By exploiting this flaw, a remote attacker can trigger a buffer overflow. This can lead to arbitrary code execution or a denial of service condition. The attacker can achieve this by submitting a specially crafted compressed raster file to a vulnerable CUPS installation. The buffer overflow occurs during the parsing of the file, allowing the attacker to overwrite adjacent memory and potentially execute malicious code.

How To Fix

Minimum fixed version

1.5.3-5+deb7u5

This is the first release that contains the fix.

sudo apt-get install --only-upgrade cups

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

Workaround

There is no specific workaround mentioned in the vulnerability details. However, users can consider implementing additional security measures such as restricting access to the CUPS service from untrusted networks or applying network-level protections to mitigate the risk of remote exploitation.

Conclusion

The vulnerability in CUPS that allows a buffer overflow in compressed raster file parsing can be mitigated by upgrading the CUPS package to the fixed version. Users should ensure they are running the appropriate fixed version to protect their systems from potential exploitation. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for cups →

Share this vulnerability

FAQ

CUPS (Common UNIX Printing System) is a printing system used in Unix-like operating systems to provide printing services.

A compressed raster file is a file format that contains image data in a compressed form, suitable for printing.

The vulnerability in CUPS occurs due to a failure to correctly parse compressed raster files, leading to a buffer overflow.

By exploiting this vulnerability, a remote attacker can trigger a buffer overflow, potentially leading to arbitrary code execution or a denial of service condition.

To fix this vulnerability, it is recommended to upgrade the CUPS package to a fixed version as mentioned in the 'how_to_fix' section.

Related vulnerabilities

Recent vulnerabilities recorded for cups.

How To Fix

Minimum fixed version

1.5.3-5+deb7u5

This is the first release that contains the fix.

sudo apt-get install --only-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