{"id":"CVE-2023-34474","details":"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.","modified":"2026-10-28T10:33:01.635616416Z","published":"2023-06-16T00:00:00Z","related":["SUSE-SU-2023:2878-1","openSUSE-SU-2024:13000-1"],"database_specific":{"cna_assigner":"redhat","cwe_ids":["CWE-122"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/34xxx/CVE-2023-34474.json"},"references":[{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2023-34474"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/34xxx/CVE-2023-34474.json"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/45DUUXYMAEEAW55GSLAXN25VPKCRAIDA/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4UFQJCYJ23HWHNDOVKBHZQ7HCXXL6MM3/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34474"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2214148"},{"type":"FIX","url":"https://github.com/ImageMagick/ImageMagick/commit/1061db7f80fdc9ef572ac60b55f408f7bab6e1b0"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/imagemagick/imagemagick","events":[{"introduced":"fa1d7e6f1d026d1d70072b04a57857afdb47c29a"},{"fixed":"1061db7f80fdc9ef572ac60b55f408f7bab6e1b0"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion","range":[{"introduced":"7.1.1-10"},{"last_affected":"7.1.1-10"}]},{"range":[{"fixed":"1061db7f80fdc9ef572ac60b55f408f7bab6e1b0"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["7.1.1-10"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-34474.json","vanir_signatures":[{"id":"CVE-2023-34474-17fc5bc3","signature_type":"Function","signature_version":"v1","source":"https://github.com/imagemagick/imagemagick/commit/1061db7f80fdc9ef572ac60b55f408f7bab6e1b0","target":{"function":"ReplaceXmpValue","file":"MagickCore/profile.c"},"deprecated":false,"digest":{"function_hash":"171567989700768452765650365685696257796","length":481}},{"target":{"file":"coders/tim2.c"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["22211026835068585537754408172933685949","305560711222727864673546601845497661638","331606509492598926290568334711269548846","10510050901168058350228538308109414239","135315936994984284765146138195974061769","181184953458520071222920967365759424460","226977974569748199814886386790936448289"]},"id":"CVE-2023-34474-99bd0ae9","signature_type":"Line","signature_version":"v1","source":"https://github.com/imagemagick/imagemagick/commit/1061db7f80fdc9ef572ac60b55f408f7bab6e1b0"},{"signature_version":"v1","source":"https://github.com/imagemagick/imagemagick/commit/1061db7f80fdc9ef572ac60b55f408f7bab6e1b0","target":{"file":"coders/tim2.c","function":"ReadTIM2ImageData"},"deprecated":false,"digest":{"function_hash":"87345629618235112121043596209577695085","length":8959},"id":"CVE-2023-34474-c64ae380","signature_type":"Function"},{"id":"CVE-2023-34474-f4be3dac","signature_type":"Line","signature_version":"v1","source":"https://github.com/imagemagick/imagemagick/commit/1061db7f80fdc9ef572ac60b55f408f7bab6e1b0","target":{"file":"MagickCore/profile.c"},"deprecated":false,"digest":{"line_hashes":["19399147262927814588554657290477507206","42798428699592628236704212154180795440","282262402358237943148986389786849953435","228797678242689511128049501619693945729","255740693454369074708659765605604384296","77874217997952722464023705920901433153","236700820451864648629110424788764936674","284698092494841477017966307982874969136"],"threshold":0.9}}],"vanir_signatures_modified":"2026-10-28T10:33:01Z"}}],"schema_version":"1.9.2"}