{"id":"CVE-2012-3437","aliases":["DEBIAN-CVE-2012-3437","DLA-242-1","EUVD-2012-3404","GHSA-f7f6-4j5g-969q"],"status":"published","title":"The Magick_png_malloc function in coders/png.c in ImageMagick 6.7.8 and earlier does not use the...","description":"The Magick_png_malloc function in coders/png.c in ImageMagick 6.7.8 and earlier does not use the proper variable type for the allocation size, which might allow remote attackers to cause a denial of service (crash) via a crafted PNG file that triggers incorrect memory allocation.","severity":{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.02777,"percentile":0.86455,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2012-08-07T21:00:00Z","modified":"2026-10-23T17:47:48Z","fixes":[{"ecosystem":"Debian:12","package":"imagemagick","fixed_in":["8:6.7.7.10-3"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"imagemagick","fixed_in":["8:6.7.7.10-3"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"imagemagick","fixed_in":["8:6.7.7.10-3"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"imagemagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8:6.7.7.10-3"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"imagemagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8:6.7.7.10-3"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"imagemagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8:6.7.7.10-3"}]}]},{"source":"osv","ecosystem":"Debian:6.0","package":"imagemagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8:6.6.0.4-3+squeeze6"}]}],"versions":["8:6.6.0.4-3","8:6.6.0.4-3+squeeze1","8:6.6.0.4-3+squeeze2","8:6.6.0.4-3+squeeze3","8:6.6.0.4-3+squeeze4","8:6.6.0.4-3+squeeze5"],"bundled":4}],"products":[{"vendor":"imagemagick","product":"imagemagick"}],"references":[{"url":"http://www.securityfocus.com/bid/54714","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"https://wiki.mageia.org/en/Support/Advisories/MGASA-2012-0243","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/77260","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=844101","tags":["x_refsource_MISC","x_transferred","report"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2013:092","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred","advisory"]},{"url":"http://www.securitytracker.com/id?1027321","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","web"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2012:160","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred","advisory"]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-03/msg00101.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"http://secunia.com/advisories/50398","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/50091","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.ubuntu.com/usn/USN-1544-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-3437"},{"url":"https://github.com/advisories/GHSA-f7f6-4j5g-969q"},{"url":"https://security-tracker.debian.org/tracker/CVE-2012-3437","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2012-3437","description":"The Magick_png_malloc function in coders/png.c in ImageMagick 6.7.8 and earlier does not use the proper variable type for the allocation size, which might allow remote attackers to cause a denial of service (crash) via a crafted PNG file that triggers incorrect memory allocation.","status":"published","published":"2012-08-07T21:00:00Z","modified":"2024-08-06T20:05:12.55Z","updated_at":"2026-11-02T14:34:50.615647Z"}],"euvd":[{"id":"EUVD-2012-3404","description":"The Magick_png_malloc function in coders/png.c in ImageMagick 6.7.8 and earlier does not use the proper variable type for the allocation size, which might allow remote attackers to cause a denial of service (crash) via a crafted PNG file that triggers incorrect memory allocation.","status":"published","published":"2012-08-07T21:00:00Z","modified":"2024-08-06T20:05:12Z","updated_at":"2026-11-03T01:56:10.882899Z"}],"ghsa":[{"id":"GHSA-f7f6-4j5g-969q","title":"The Magick_png_malloc function in coders/png.c in ImageMagick 6.7.8 and earlier does not use the...","description":"The Magick_png_malloc function in coders/png.c in ImageMagick 6.7.8 and earlier does not use the proper variable type for the allocation size, which might allow remote attackers to cause a denial of service (crash) via a crafted PNG file that triggers incorrect memory allocation.","status":"published","published":"2022-05-17T01:44:02Z","modified":"2023-02-03T05:05:02Z","updated_at":"2026-11-02T14:53:40.557809Z"}],"nvd":[{"id":"CVE-2012-3437","description":"The Magick_png_malloc function in coders/png.c in ImageMagick 6.7.8 and earlier does not use the proper variable type for the allocation size, which might allow remote attackers to cause a denial of service (crash) via a crafted PNG file that triggers incorrect memory allocation.","status":"published","published":"2012-08-07T21:55:02.063Z","modified":"2026-06-16T23:43:13.427Z","cvss":[{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:02:15.188652Z"}],"osv":[{"id":"CVE-2012-3437","description":"The Magick_png_malloc function in coders/png.c in ImageMagick 6.7.8 and earlier does not use the proper variable type for the allocation size, which might allow remote attackers to cause a denial of service (crash) via a crafted PNG file that triggers incorrect memory allocation.","status":"published","published":"2012-08-07T21:55:02Z","modified":"2026-04-10T03:43:12.204458Z","updated_at":"2026-11-02T15:43:58.537032Z"},{"id":"DEBIAN-CVE-2012-3437","description":"The Magick_png_malloc function in coders/png.c in ImageMagick 6.7.8 and earlier does not use the proper variable type for the allocation size, which might allow remote attackers to cause a denial of service (crash) via a crafted PNG file that triggers incorrect memory allocation.","status":"published","published":"2012-08-07T21:55:02.063Z","modified":"2026-10-23T17:47:48.958016078Z","updated_at":"2026-11-02T15:45:24.92418Z"},{"id":"DLA-242-1","title":"imagemagick - security update","status":"published","published":"2015-06-10T00:00:00Z","modified":"2026-03-09T01:19:49.000674Z","updated_at":"2026-11-02T15:46:10.712745Z"}]}}
