GLSA 200712-04: Cairo: User-assisted execution of arbitrary code
Severity: | normal |
Title: | Cairo: User-assisted execution of arbitrary code |
Date: | 12/09/2007 |
Bugs: |
|
ID: | 200712-04 |
Synopsis
Multiple integer overflows were discovered in Cairo, possibly leading to the execution of arbitrary code.Background
Cairo is a 2D vector graphics library with cross-device output support.
Affected packages
Package | Vulnerable | Unaffected | Architecture(s) |
---|---|---|---|
x11-libs/cairo | < 1.4.12 | >= 1.4.12 | All supported architectures |
Description
Multiple integer overflows were reported, one of which Peter Valchev (Google Security) found to be leading to a heap-based buffer overflow in the cairo_image_surface_create_from_png() function that processes PNG images.
Impact
A remote attacker could entice a user to view or process a specially crafted PNG image file in an application linked against Cairo, possibly leading to the execution of arbitrary code with the privileges of the user running the application.
Workaround
There is no known workaround at this time.
Resolution
All Cairo users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=x11-libs/cairo-1.4.12"
References
Availability
This GLSA and any updates to it are available for viewing at the Gentoo Security Website:
Concerns?
Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.
License
Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.