Back to CVE catalog
CVE-2012-3437

Improper variable type for allocation size in ImageMagick

Multiple products

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityMedium
ConfidentialityNone
IntegrityNone
AvailabilityPartial

CVSS summary v2.0

4.3Medium
Published:
Updated:
EPSS:
2.777%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Related CWE

Not specified

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:imagemagickimagemagickAffected versions:
6.7.8-6
Vendor:redhatImageMagick
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for ImageMagick
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatImageMagick-c++
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for ImageMagick-c++
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatImageMagick-c++-devel
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for ImageMagick-c++-devel
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatImageMagick-devel
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for ImageMagick-devel
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatImageMagick-doc
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for ImageMagick-doc
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatImageMagick-perl
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for ImageMagick-perl
  • Other versions are affected by default; consult the source for exceptions.
Vendor:Debianimagemagick
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 8:6.7.7.10-3
Vendor:Debianimagemagick-common
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 8:6.7.7.10-3
Vendor:Debianimagemagick-dbg
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 8:6.7.7.10-3

1–10 of 25 · Page 1 of 3

CVSS scores and metrics4
[email protected] · NVD (Primary)Primary4.3 / 10MediumCVSS 2.0Details
Attack complexity
Medium
Confidentiality
None
Integrity
None
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:N/I:N/A:P
nvd · Wazuh CTI (cna)4.3 / 10MediumCVSS 2.0Details
Attack complexity
Medium
Confidentiality
None
Integrity
None
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:N/I:N/A:P
redhat · Wazuh CTI (adp)4.3 / 10MediumCVSS 2.0Details
Attack complexity
Medium
Confidentiality
None
Integrity
None
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:N/I:N/A:P
Red Hat · Red Hat VEX (adp)4.3 / 10MediumCVSS 2.0Details
Attack complexity
Medium
Confidentiality
None
Integrity
None
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:N/I:N/A:P

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories20

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences