GLSA-201006-02 : CamlImages: User-assisted execution of arbitrary code

High Nessus Plugin ID 46769


The remote Gentoo host is missing one or more security-related patches.


The remote host is affected by the vulnerability described in GLSA-201006-02 (CamlImages: User-assisted execution of arbitrary code)

Tielei Wang reported multiple integer overflows, possibly leading to heap-based buffer overflows in the (1) read_png_file() and read_png_file_as_rgb24() functions, when processing a PNG image (CVE-2009-2295) and (2) gifread.c and jpegread.c files when processing GIF or JPEG images (CVE-2009-2660).
Other integer overflows were also found in tiffread.c (CVE-2009-3296).
Impact :

A remote attacker could entice a user to open a specially crafted, overly large PNG, GIF, TIFF, or JPEG image using an application that uses the CamlImages library, possibly resulting in the execution of arbitrary code with the privileges of the user running the application.
Workaround :

There is no known workaround at this time.


All CamlImages users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose =dev-ml/camlimages-3.0.2

See Also

Plugin Details

Severity: High

ID: 46769

File Name: gentoo_GLSA-201006-02.nasl

Version: $Revision: 1.8 $

Type: local

Published: 2010/06/02

Modified: 2015/04/13

Dependencies: 12634

Risk Information

Risk Factor: High


Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Temporal Vector: CVSS2#E:ND/RL:OF/RC:ND

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:camlimages, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2010/06/01

Reference Information

CVE: CVE-2009-2295, CVE-2009-2660, CVE-2009-3296

BID: 35556, 36713

OSVDB: 56092, 56793, 56794, 59083

GLSA: 201006-02

CWE: 189