Description
Multiple integer overflows in Cairo before 1.4.12 might allow remote attackers to execute arbitrary code, as demonstrated using a crafted PNG image with large width and height values, which is not properly handled by the read_png function.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 5.0 | libcairo | 1.4.10-1+lenny2 | DTSA-96-1 |
| Debian 4.0 | libcairo | 1.2.4-4.1+etch1 | DSA-1542-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | cairo +1 | 1.2.4-3.el5_1 | RHSA-2007:1078 |
Advisories 3
- RHSA-2007:1078 Red Hat Security Advisory: cairo security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-1542-1 libcairo - arbitrary code execution Debian Security (DSA / DLA) · Mar 9, 2026
- DTSA-96-1 libcairo - multiple integer overflows Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://issues.rpath.com/browse/RPL-1966
- USN-550-2 vendor-advisory
- GLSA-201209-25 vendor-advisory
- http://www.vmware.com/security/advisories/VMSA-2008-0014.html
- 28529 third-party-advisory
- 28555 third-party-advisory
- 27985 third-party-advisory
- 27880 third-party-advisory
- http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0015
- https://bugzilla.redhat.com/show_bug.cgi?id=387431
- SSA:2007-337-01 vendor-advisory
- http://gitweb.freedesktop.org/?p=cairo%3Ba=commitdiff%3Bh=e49bcde27f88e21d5b8037a0089a226096f6514b
- DSA-1542 vendor-advisory
- 28289 third-party-advisory
- http://www.vmware.com/support/server/doc/releasenotes_server.html
- 28476 third-party-advisory
- 27887 third-party-advisory
- http://bugs.gentoo.org/show_bug.cgi?id=201860
- 26650 vdb-entry
- cario-readpng-bo(38771) vdb-entry
- http://www.vmware.com/support/player2/doc/releasenotes_player2.html
- GLSA-200712-24 vendor-advisory
- MDVSA-2008:019 vendor-advisory
- 27819 third-party-advisory
- USN-550-1 vendor-advisory
- http://bugs.gentoo.org/show_bug.cgi?id=200350
- FEDORA-2007-3818 vendor-advisory
- GLSA-200712-04 vendor-advisory
- http://www.vmware.com/support/ws6/doc/releasenotes_ws6.html
- ADV-2007-4045 vdb-entry
- 20080830 VMSA-2008-0014 Updates to VMware Workstation, VMware Player, VMware ACE, VMware Server, VMware ESX address information disclosure, privilege escalation and other security issues. mailing-list
- 31711 third-party-advisory
- http://gitweb.freedesktop.org/?p=cairo%3Ba=commitdiff_plain%3Bh=6020f67f1a49cfe3844c4938d4af24c63c8424cc%3Bhp=c79fc9af334fd6f2d1078071d64178125561b187
- http://gitweb.freedesktop.org/?p=cairo%3Ba=commitdiff%3Bh=5c7d2d14d78e4dfb1ef6d2c40f0910f177e07360
- 20080830 VMSA-2008-0014 Updates to VMware Workstation, VMware Player, VMware ACE, VMware Server, VMware ESX address information disclosure, privilege escalation and other security issues. mailing-list
- 31707 third-party-advisory
- oval:org.mitre.oval:def:11251 vdb-entry signature
- 1019027 vdb-entry
- 28838 third-party-advisory
- 27775 third-party-advisory
- SUSE-SR:2008:003 vendor-advisory
- 29767 third-party-advisory
- 20080115 rPSA-2008-0015-1 cairo mailing-list
- RHSA-2007:1078 vendor-advisory
- ADV-2008-2466 vdb-entry