Gentoo Logo

CUPS: Integer overflow vulnerability


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200804-23 / cups
Release Date April 18, 2008
Latest Revision April 18, 2008: 01
Impact high
Exploitable remote, local
Package Vulnerable versions Unaffected versions Architecture(s)
net-print/cups < 1.2.12-r8 >= 1.2.12-r8 All supported architectures

Related bugreports: #217232


A vulnerability in CUPS might allow for the execution of arbitrary code or a Denial of Service.

2.  Impact Information


CUPS provides a portable printing layer for UNIX-based operating systems.


Thomas Pollet reported a possible integer overflow vulnerability in the PNG image handling in the file filter/image-png.c.


A malicious user might be able to execute arbitrary code with the privileges of the user running CUPS (usually lp), or cause a Denial of Service by sending a specially crafted PNG image to the print server. The vulnerability is exploitable via the network if CUPS is sharing printers remotely.

3.  Resolution Information


There is no known workaround at this time.


All CUPS users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-print/cups-1.2.12-r8"

4.  References


Page updated April 18, 2008

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.