CUPS: Integer overflow vulnerability — GLSA 200804-23

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

Affected packages

net-print/cups on all architectures
Affected versions < 1.2.12-r8
Unaffected versions >= 1.2.12-r8

Background

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

Description

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

Impact

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.

Workaround

There is no known workaround at this time.

Resolution

All CUPS users should upgrade to the latest version:

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

References

Release date
April 18, 2008

Latest revision
April 18, 2008: 01

Severity
high

Exploitable
remote, local

Bugzilla entries