CVE-2007-1797
CVE-2007-1797 is a medium-severity vulnerability in Imagemagick with a CVSS 2.0 base score of 6.8. 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-189.
Key facts
- Severity: Medium (CVSS 2.0 base score 6.8)
- EPSS exploit prediction: 4% (88th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-189
- Affected product: Imagemagick
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2007-1797?
- 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.
- How severe is CVE-2007-1797?
- CVE-2007-1797 has a CVSS 2.0 base score of 6.8, rated medium severity.
- Is CVE-2007-1797 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 4% (88th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2007-1797?
- CVE-2007-1797 primarily affects Imagemagick. In total, 30 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2007-1797?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2007-1797 published?
- CVE-2007-1797 was published on 2007-04-02 and last updated on 2026-06-16.
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
- https://issues.rpath.com/browse/RPL-1205
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9254
Affected products (30)
- cpe:2.3:a:imagemagick:imagemagick:6.3.0.0:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:6.3.0.1:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:6.3.0.2:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:6.3.0.3:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:6.3.0.4:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:6.3.0.5:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:6.3.0.7:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:6.3.0.8:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:6.3.1.0:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:6.3.1.1:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:6.3.1.2.:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:6.3.1.3:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:6.3.1.4:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:6.3.1.5:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:6.3.1.6:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:6.3.1.7:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:6.3.2.0:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:6.3.2.1:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:6.3.2.2:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:6.3.2.3:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:6.3.2.4:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:6.3.2.5:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:6.3.2.6:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:6.3.2.7:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:6.3.2.8:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:6.3.3.0:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:6.3.3.1:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:6.3.3.2:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:6.3.3.3:*:*:*:*:*:*:*
- cpe:2.3:a:imagemagick:imagemagick:6.3.3.4:*:*:*:*:*:*:*
More vulnerabilities in Imagemagick
- CVE-2004-0981 — Critical (CVSS 10.0): Buffer overflow in the EXIF parsing routine in ImageMagick before 6.1.0 allows remote attackers to execute arbitrary…
- CVE-2023-34152 — Critical (CVSS 9.8): A vulnerability was found in ImageMagick. This security flaw cause a remote code execution vulnerability in OpenBlob…
- CVE-2019-19952 — Critical (CVSS 9.8): In ImageMagick 7.0.9-7 Q16, there is a use-after-free in the function MngInfoDiscardObject of coders/png.c, related to…
- CVE-2019-19948 — Critical (CVSS 9.8): In ImageMagick 7.0.8-43 Q16, there is a heap-based buffer overflow in the function WriteSGIImage of coders/sgi.c.
- CVE-2018-16329 — Critical (CVSS 9.8): In ImageMagick before 7.0.8-8, a NULL pointer dereference exists in the GetMagickProperty function in…
- CVE-2018-16328 — Critical (CVSS 9.8): In ImageMagick before 7.0.8-8, a NULL pointer dereference exists in the CheckEventLogging function in MagickCore/log.c.
All CVEs affecting Imagemagick →
Other CWE-189 (Numeric Errors) vulnerabilities
- CVE-2015-8396 — Critical (CVSS 10.0): Integer overflow in the ImageRegionReader::ReadIntoBuffer function in…
- CVE-2015-7205 — Critical (CVSS 10.0): Integer underflow in the RTPReceiverVideo::ParseRtpPacket function in Mozilla Firefox before 43.0 and Firefox ESR 38.x…
- CVE-2015-6575 — Critical (CVSS 10.0): SampleTable.cpp in libstagefright in Android before 5.1.1 LMY48I does not properly consider integer promotion, which…
- CVE-2015-3864 — Critical (CVSS 10.0): Integer underflow in the MPEG4Extractor::parseChunk function in MPEG4Extractor.cpp in libstagefright in mediaserver in…
- CVE-2015-3836 — Critical (CVSS 10.0): The Parse_wave function in arm-wt-22k/lib_src/eas_mdls.c in the Sonivox DLS-to-EAS converter in Android before 5.1.1…
- CVE-2015-3834 — Critical (CVSS 10.0): Multiple integer overflows in the BnHDCP::onTransact function in media/libmedia/IHDCP.cpp in libstagefright in Android…