CVE-2012-3438
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 2.5% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 2.5% in the next 30 days (EPSS).
- Severity: 4.3 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 2.5% · EPSS, next 30 days
- Weakness
- CWE-119 · Buffer errors
- Record status
- Modified
Affected
- Graphicsmagick 1.3.16
Attack profile CVSS 2.0 · 4.3
- Attack vector
- Network
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
Raw vector
AV:N/AC:M/Au:N/C:N/I:N/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2012-3438.md and follow it. Check whether this project is affected by CVE-2012-3438. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://graphicsmagick.hg.sourceforge.net/hgweb/graphicsmagick/graphicsmagick/rev/d6e469d02cd2
- http://secunia.com/advisories/50090
- https://bugzilla.redhat.com/show_bug.cgi?id=844105
- http://graphicsmagick.hg.sourceforge.net/hgweb/graphicsmagick/graphicsmagick/rev/d6e469d02cd2
- http://secunia.com/advisories/50090
- https://bugzilla.redhat.com/show_bug.cgi?id=844105
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
- 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