# CVE-2023-34474: A heap-based buffer overflow issue was discovered in ImageMagick's ReadTIM2ImageData() function in coders/tim2.c.

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 33% of CVEs (2026-12-01)
- Published: 2023-06-16T00:00:00.000Z
- Modified: 2026-06-17T06:03:43.683Z
- Weaknesses: CWE-122, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- ImageMagick: 7.1.1-10
- imagemagick imagemagick: before 7.1.1-10
- fedoraproject extra_packages_for_enterprise_linux: 8.0
- fedoraproject fedora: 37; 38

## References

- <https://github.com/ImageMagick/ImageMagick/commit/1061db7f80fdc9ef572ac60b55f408f7bab6e1b0> (patch)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2214148> (issue-tracking, patch, third-party-advisory)
- <https://access.redhat.com/security/cve/CVE-2023-34474> (third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/45DUUXYMAEEAW55GSLAXN25VPKCRAIDA/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4UFQJCYJ23HWHNDOVKBHZQ7HCXXL6MM3/> (vendor-advisory)

## Sources

- CVE List: [CVE-2023-34474](https://www.cve.org/CVERecord?id=CVE-2023-34474), CVE Terms of Use, modified 2024-08-02
- NVD: [CVE-2023-34474](https://nvd.nist.gov/vuln/detail/CVE-2023-34474), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-34474 · Whole record: https://cve.day/CVE-2023-34474.json · Rebuilt by cve.day 2026-11-25T22:58:24.913Z
