CVE-2012-3438
CVE-2012-3438 is a medium-severity vulnerability in Graphicsmagick with a CVSS 2.0 base score of 4.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-119.
Key facts
- Severity: Medium (CVSS 2.0 base score 4.3)
- EPSS exploit prediction: 2% (83rd percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-119
- Affected product: Graphicsmagick
- Published:
- Last modified:
Description
The Magick_png_malloc function in coders/png.c in GraphicsMagick 6.7.8-6 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.
Frequently asked questions
- What is CVE-2012-3438?
- The Magick_png_malloc function in coders/png.c in GraphicsMagick 6.7.8-6 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.
- How severe is CVE-2012-3438?
- CVE-2012-3438 has a CVSS 2.0 base score of 4.3, rated medium severity.
- Is CVE-2012-3438 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (83rd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2012-3438?
- CVE-2012-3438 affects Graphicsmagick. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2012-3438?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2012-3438 published?
- CVE-2012-3438 was published on 2012-08-07 and last updated on 2026-06-16.
References
- http://graphicsmagick.hg.sourceforge.net/hgweb/graphicsmagick/graphicsmagick/rev/d6e469d02cd2
- http://lists.opensuse.org/opensuse-updates/2013-03/msg00102.html
- http://secunia.com/advisories/50090
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:165
- http://www.securityfocus.com/bid/54716
- https://bugzilla.redhat.com/show_bug.cgi?id=844105
- https://exchange.xforce.ibmcloud.com/vulnerabilities/77259
Affected products (1)
- cpe:2.3:a:graphicsmagick:graphicsmagick:1.3.16:*:*:*:*:*:*:*
More vulnerabilities in Graphicsmagick
- CVE-2008-6071 — Critical (CVSS 10.0): Heap-based buffer overflow in the DecodeImage function in coders/pict.c in GraphicsMagick before 1.1.14, and 1.2.x…
- CVE-2020-10938 — Critical (CVSS 9.8): GraphicsMagick before 1.3.35 has an integer overflow and resultant heap-based buffer overflow in HuffmanDecodeImage in…
- CVE-2019-19951 — Critical (CVSS 9.8): In GraphicsMagick 1.4 snapshot-20190423 Q8, there is a heap-based buffer overflow in the function ImportRLEPixels of…
- CVE-2019-19950 — Critical (CVSS 9.8): In GraphicsMagick 1.4 snapshot-20190403 Q8, there is a use-after-free in ThrowException and ThrowLoggedException of…
- CVE-2019-11005 — Critical (CVSS 9.8): In GraphicsMagick 1.4 snapshot-20190322 Q8, there is a stack-based buffer overflow in the function SVGStartElement of…
- CVE-2017-11643 — Critical (CVSS 9.8): GraphicsMagick 1.3.26 has a heap overflow in the WriteCMYKImage() function in coders/cmyk.c when processing multiple…
All CVEs affecting Graphicsmagick →
Other CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities
- CVE-2026-2778 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the DOM: Core & HTML component. This vulnerability was fixed in…
- CVE-2026-2776 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the Telemetry component in External Software. This vulnerability…
- CVE-2025-1866 — Critical (CVSS 10.0): Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in warmcat libwebsockets allows…
- CVE-2022-27625 — Critical (CVSS 10.0): A vulnerability regarding improper restriction of operations within the bounds of a memory buffer is found in the…
- CVE-2022-27624 — Critical (CVSS 10.0): A vulnerability regarding improper restriction of operations within the bounds of a memory buffer is found in the…
- CVE-2020-11896 — Critical (CVSS 10.0): The Treck TCP/IP stack before 6.0.1.66 allows Remote Code Execution, related to IPv4 tunneling.