{"id":"CVE-2007-5503","aliases":["DEBIAN-CVE-2007-5503","DSA-1542-1","DTSA-96-1","EUVD-2007-5478","GHSA-8cvg-h746-3fgp","RHSA-2007:1078"],"status":"published","title":"Multiple integer overflows in Cairo before 1.4.12 might allow remote attackers to execute...","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.","severity":{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.05486,"percentile":0.92821,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-189"],"published":"2007-11-30T01:00:00Z","modified":"2026-06-26T12:18:25Z","fixes":[{"ecosystem":"Debian:4.0","package":"libcairo","fixed_in":["1.2.4-4.1+etch1"],"sources":["osv"]},{"ecosystem":"Debian:5.0","package":"libcairo","fixed_in":["1.4.10-1+lenny2"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","package":"cairo","fixed_in":["0:1.2.4-3.el5_1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","package":"cairo-debuginfo","fixed_in":["0:1.2.4-3.el5_1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","package":"cairo-devel","fixed_in":["0:1.2.4-3.el5_1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::client","package":"cairo","fixed_in":["0:1.2.4-3.el5_1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::client","package":"cairo-debuginfo","fixed_in":["0:1.2.4-3.el5_1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::server","package":"cairo","fixed_in":["0:1.2.4-3.el5_1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::server","package":"cairo-debuginfo","fixed_in":["0:1.2.4-3.el5_1"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::server","package":"cairo-devel","fixed_in":["0:1.2.4-3.el5_1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:4.0","package":"libcairo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.4-4.1+etch1"}]}],"versions":["1.2.4-4"]},{"source":"osv","ecosystem":"Debian:5.0","package":"libcairo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.10-1+lenny2"}]}],"versions":["0.3.0-1","0.4.0-1","0.5.1-2","0.6.0-1","0.9.2-1","0.9.2-2","1.0.0-1","1.0.0-2","1.0.0-3","1.0.2-1","1.0.2-2","1.0.2-3","1.0.4-0bpo1","1.0.4-1","1.0.4-1+b1","1.0.4-1+b2","1.0.4-1bpo1","1.0.4-2","1.0.4-2+b1","1.1.10-3","1.2.0-1","1.2.0-2","1.2.0-3","1.2.0-3+b1","1.2.0-4","1.2.0-5","1.2.2-1","1.2.4-1","1.2.4-2","1.2.4-3","1.2.4-3.1","1.2.4-3.2","1.2.4-4","1.2.4-4.1+etch1","1.2.6-1","1.4.10-1","1.4.2-1","1.4.4-1","1.4.6-1","1.4.6-1.1","1.4.8-1"]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client_workstation","package":"cairo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.2.4-3.el5_1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client_workstation","package":"cairo-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.2.4-3.el5_1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client_workstation","package":"cairo-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.2.4-3.el5_1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"cairo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.2.4-3.el5_1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"cairo-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.2.4-3.el5_1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"cairo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.2.4-3.el5_1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"cairo-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.2.4-3.el5_1"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"cairo-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.2.4-3.el5_1"}]}]}],"products":[{"vendor":"redhat","product":"cairo"}],"references":[{"url":"https://issues.rpath.com/browse/RPL-1966","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://usn.ubuntu.com/550-2/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://security.gentoo.org/glsa/glsa-201209-25.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"http://www.vmware.com/security/advisories/VMSA-2008-0014.html","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://secunia.com/advisories/28529","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://secunia.com/advisories/28555","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://secunia.com/advisories/27985","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://secunia.com/advisories/27880","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0015","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=387431","tags":["x_refsource_CONFIRM","x_transferred","report"]},{"url":"http://slackware.com/security/viewer.php?l=slackware-security\u0026y=2007\u0026m=slackware-security.362119","tags":["vendor-advisory","x_refsource_SLACKWARE","x_transferred"]},{"url":"http://gitweb.freedesktop.org/?p=cairo%3Ba=commitdiff%3Bh=e49bcde27f88e21d5b8037a0089a226096f6514b","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.debian.org/security/2008/dsa-1542","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://secunia.com/advisories/28289","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://www.vmware.com/support/server/doc/releasenotes_server.html","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://secunia.com/advisories/28476","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://secunia.com/advisories/27887","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://bugs.gentoo.org/show_bug.cgi?id=201860","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.securityfocus.com/bid/26650","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/38771","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://www.vmware.com/support/player2/doc/releasenotes_player2.html","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200712-24.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:019","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"]},{"url":"http://secunia.com/advisories/27819","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"https://usn.ubuntu.com/550-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://bugs.gentoo.org/show_bug.cgi?id=200350","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-January/msg00630.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"http://security.gentoo.org/glsa/glsa-200712-04.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"http://www.vmware.com/support/ws6/doc/releasenotes_ws6.html","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2007/4045","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Vendor Advisory"]},{"url":"http://www.securityfocus.com/archive/1/495869/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://secunia.com/advisories/31711","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://gitweb.freedesktop.org/?p=cairo%3Ba=commitdiff_plain%3Bh=6020f67f1a49cfe3844c4938d4af24c63c8424cc%3Bhp=c79fc9af334fd6f2d1078071d64178125561b187","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://gitweb.freedesktop.org/?p=cairo%3Ba=commitdiff%3Bh=5c7d2d14d78e4dfb1ef6d2c40f0910f177e07360","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://lists.grok.org.uk/pipermail/full-disclosure/2008-August/064118.html","tags":["mailing-list","x_refsource_FULLDISC","x_transferred"]},{"url":"http://secunia.com/advisories/31707","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11251","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred"]},{"url":"http://www.securitytracker.com/id?1019027","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"]},{"url":"http://secunia.com/advisories/28838","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://secunia.com/advisories/27775","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-02/msg00003.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://secunia.com/advisories/29767","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://www.securityfocus.com/archive/1/486405/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2007-1078.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Patch","Vendor Advisory"]},{"url":"http://www.vupen.com/english/advisories/2008/2466","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-5503","tags":["advisory"]},{"url":"http://gitweb.freedesktop.org/?p=cairo;a=commitdiff;h=5c7d2d14d78e4dfb1ef6d2c40f0910f177e07360"},{"url":"http://gitweb.freedesktop.org/?p=cairo;a=commitdiff;h=e49bcde27f88e21d5b8037a0089a226096f6514b"},{"url":"http://gitweb.freedesktop.org/?p=cairo;a=commitdiff_plain;h=6020f67f1a49cfe3844c4938d4af24c63c8424cc;hp=c79fc9af334fd6f2d1078071d64178125561b187"},{"url":"https://access.redhat.com/errata/RHSA-2007:1078","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2007-5503","tags":["report"]},{"url":"https://usn.ubuntu.com/550-1"},{"url":"https://usn.ubuntu.com/550-2"},{"url":"https://github.com/advisories/GHSA-8cvg-h746-3fgp"},{"url":"http://www.redhat.com/security/updates/classification/#important","tags":["article"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2007/rhsa-2007_1078.json","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-5503","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2007-5503","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.","status":"published","published":"2007-11-30T01:00:00Z","modified":"2024-08-07T15:31:58.821Z","updated_at":"2026-11-02T13:32:00.617893Z"}],"euvd":[{"id":"EUVD-2007-5478","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.","status":"published","published":"2007-11-30T01:00:00Z","modified":"2024-08-07T15:31:58Z","updated_at":"2026-11-03T01:16:16.701576Z"}],"ghsa":[{"id":"GHSA-8cvg-h746-3fgp","title":"Multiple integer overflows in Cairo before 1.4.12 might allow remote attackers to execute...","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.","status":"published","published":"2022-05-01T18:34:00Z","modified":"2025-04-09T03:48:52Z","updated_at":"2026-11-02T15:00:55.503486Z"}],"nvd":[{"id":"CVE-2007-5503","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.","status":"published","published":"2007-11-30T01:46:00Z","modified":"2026-06-16T22:46:17.11Z","cvss":[{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-189"],"updated_at":"2026-11-02T14:01:23.208914Z"}],"osv":[{"id":"DSA-1542-1","title":"libcairo - arbitrary code execution","status":"published","published":"2008-04-09T00:00:00Z","modified":"2026-03-09T01:19:47.867472Z","updated_at":"2026-11-02T15:46:14.734124Z"},{"id":"DTSA-96-1","title":"libcairo - multiple integer overflows","status":"published","published":"2007-12-08T00:00:00Z","modified":"2026-03-09T01:01:43.319736Z","updated_at":"2026-11-02T15:46:18.716547Z"},{"id":"RHSA-2007:1078","title":"Red Hat Security Advisory: cairo security update","status":"published","published":"2024-09-15T17:02:55Z","modified":"2026-06-26T12:18:25.12192839Z","updated_at":"2026-11-02T15:52:59.70892Z"}]}}
