CVE-2012-1185Integer Overflow or Wraparound in Imagemagick

Severity
7.8HIGHNVD
OSV8.8
EPSS
1.3%
top 20.30%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedJun 5
Latest updateMay 13

Description

Multiple integer overflows in (1) magick/profile.c or (2) magick/property.c in ImageMagick 6.7.5 and earlier allow remote attackers to cause a denial of service (memory corruption) and possibly execute arbitrary code via crafted offset value in the ResolutionUnit tag in the EXIF IFD0 of an image. NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-0247.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitability: 1.8 | Impact: 5.9

Affected Packages4 packages

debiandebian/imagemagick< imagemagick 8:6.6.9.7-7 (bookworm)
Debianimagemagick/imagemagick< 8:6.6.9.7-7+3
NVDopensuse/opensuse11.4, 12.1+1

Also affects: Debian Linux 6.0, Ubuntu Linux 10.04, 11.04, 11.10, 12.04

Patches

🔴Vulnerability Details

2
GHSA
GHSA-6j5v-g8wm-9r98: Multiple integer overflows in (1) magick/profile2022-05-13
OSV
CVE-2012-1185: Multiple integer overflows in (1) magick/profile2012-06-05

📋Vendor Advisories

3
Ubuntu
ImageMagick vulnerabilities2012-05-01
Red Hat
ImageMagick: Incorrect fix for CVE-2012-02472012-03-19
Debian
CVE-2012-1185: imagemagick - Multiple integer overflows in (1) magick/profile.c or (2) magick/property.c in I...2012

💬Community

1
Bugzilla
CVE-2012-1185: ImageMagick: Incorrect fix for CVE-2012-02472012-03-19