What’s Vulnerable › Vulnerabilities
CVE-2023-34474
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-06-16 · updated 2026-06-17
- Weakness: CWE-122
Description
A heap-based buffer overflow issue was discovered in ImageMagick's ReadTIM2ImageData() function in coders/tim2.c. A local attacker could trick the user in opening specially crafted file, triggering an out-of-bounds read error, allowing an application to crash, resulting in a denial of service.
Affected products
- Fedoraproject Extra Packages For Enterprise Linux: 8.0
- Fedoraproject Fedora: 37, 38
- ImageMagick: before 7.1.1-10 — fixed in 7.1.1-10
How to fix
Upgrade to a fixed version: ImageMagick 7.1.1-10. Check the vendor advisory for mitigations.
References
- https://access.redhat.com/security/cve/CVE-2023-34474
- https://bugzilla.redhat.com/show_bug.cgi?id=2214148
- https://github.com/ImageMagick/ImageMagick/commit/1061db7f80fdc9ef572ac60b55f408f7bab6e1b0
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/45DUUXYMAEEAW55GSLAXN25VPKCRAIDA/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4UFQJCYJ23HWHNDOVKBHZQ7HCXXL6MM3/
- https://access.redhat.com/security/cve/CVE-2023-34474
- https://bugzilla.redhat.com/show_bug.cgi?id=2214148
- https://github.com/ImageMagick/ImageMagick/commit/1061db7f80fdc9ef572ac60b55f408f7bab6e1b0
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/45DUUXYMAEEAW55GSLAXN25VPKCRAIDA/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4UFQJCYJ23HWHNDOVKBHZQ7HCXXL6MM3/
Get alerted when CVE-2023-34474 or the next vulnerability affects your stack