CVE-2007-1797
What it is
Multiple integer overflows in ImageMagick before 6.3.3-5 allow remote attackers to execute arbitrary code via (1) a crafted DCM image, which results in a heap-based overflow in the ReadDCMImage function, or (2) the (a) colors or (b) comments field in a crafted XWD image, which results in a heap-based overflow in the ReadXWDImage function, different issues than CVE-2007-1667.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 3.6% 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: 3.6% in the next 30 days (EPSS).
- Severity: 6.8 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 3.6% · EPSS, next 30 days
- Weakness
- CWE-189
- Record status
- Modified
Affected
- Imagemagick 6.3.0.0
- Imagemagick 6.3.0.1
- Imagemagick 6.3.0.2
- Imagemagick 6.3.0.3
- Imagemagick 6.3.0.4
- Imagemagick 6.3.0.5
- Imagemagick 6.3.0.7
- Imagemagick 6.3.0.8
Attack profile CVSS 2.0 · 6.8
- Attack vector
- Network
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:N/AC:M/Au:N/C:P/I:P/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-2007-1797.md and follow it. Check whether this project is affected by CVE-2007-1797. 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://labs.idefense.com/intelligence/vulnerabilities/display.php?id=496
- http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=496
References
- http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=496
- http://secunia.com/advisories/24721
- http://secunia.com/advisories/24739
- http://secunia.com/advisories/25072
- http://secunia.com/advisories/25206
- http://secunia.com/advisories/25992
- http://secunia.com/advisories/26177
- http://secunia.com/advisories/29786
- http://secunia.com/advisories/29857
- http://secunia.com/advisories/36260
- http://security.gentoo.org/glsa/glsa-200705-13.xml
- http://www.debian.org/security/2009/dsa-1858
- http://www.imagemagick.org/script/changelog.php
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:147
- http://www.novell.com/linux/security/advisories/2007_8_sr.html
- http://www.redhat.com/support/errata/RHSA-2008-0145.html
- http://www.redhat.com/support/errata/RHSA-2008-0165.html
- http://www.securityfocus.com/bid/23252
- http://www.securityfocus.com/bid/23347
- http://www.securitytracker.com/id?1017839
- http://www.ubuntu.com/usn/usn-481-1
- http://www.vupen.com/english/advisories/2007/1200
- https://exchange.xforce.ibmcloud.com/vulnerabilities/33376
- https://exchange.xforce.ibmcloud.com/vulnerabilities/33377
- https://issues.foresightlinux.org/browse/FL-222