CVE-2023-34474
A heap-based buffer overflow issue was discovered in ImageMagick's ReadTIM2ImageData() function...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
5.5
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.
- Record
CVE-2023-34474- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-122, CWE-787
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2023-34474- Weakness
- CWE-122
- Updated
- 2026-11-02
EUVDEUVD-2023-38532 No score
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.
- Record
EUVD-2023-38532- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-prvr-4vr9-qmvh
5.5
A heap-based buffer overflow issue was discovered in ImageMagick's ReadTIM2ImageData() function...
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.
- Record
GHSA-prvr-4vr9-qmvh- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-122, CWE-787
- Updated
- 2026-11-02
OSVJLSEC-2026-909
5.5
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.
- Record
JLSEC-2026-909- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVOESA-2023-1407
5.5
ImageMagick security update
Use ImageMagick to create, edit, compose, or convert bitmap images. It can read and write images in a variety of formats (over 200) including PNG, JPEG, GIF, HEIC, TIFF, DPX, EXR, WebP, Postscript, PDF, and SVG. Use ImageMagick to resize, flip, mirror, rotate, distort, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves.
Security Fix(es):
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.(CVE-2023-34474)
A heap use after free issue was discovered in ImageMagick's ReplaceXmpValue() function in MagickCore/profile.c. An attacker could trick user to open a specially crafted file to convert, triggering an heap-use-after-free write error, allowing an application to crash, resulting in a denial of service.(CVE-2023-34475)
- Record
OESA-2023-1407- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 5 moreShow less
OSVOESA-2023-1408
5.5
ImageMagick security update
Use ImageMagick to create, edit, compose, or convert bitmap images. It can read and write images in a variety of formats (over 200) including PNG, JPEG, GIF, HEIC, TIFF, DPX, EXR, WebP, Postscript, PDF, and SVG. Use ImageMagick to resize, flip, mirror, rotate, distort, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves.
Security Fix(es):
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.(CVE-2023-34474)
A heap use after free issue was discovered in ImageMagick's ReplaceXmpValue() function in MagickCore/profile.c. An attacker could trick user to open a specially crafted file to convert, triggering an heap-use-after-free write error, allowing an application to crash, resulting in a denial of service.(CVE-2023-34475)
- Record
OESA-2023-1408- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVOESA-2023-1409
5.5
ImageMagick security update
Use ImageMagick to create, edit, compose, or convert bitmap images. It can read and write images in a variety of formats (over 200) including PNG, JPEG, GIF, HEIC, TIFF, DPX, EXR, WebP, Postscript, PDF, and SVG. Use ImageMagick to resize, flip, mirror, rotate, distort, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves.
Security Fix(es):
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.(CVE-2023-34474)
A heap use after free issue was discovered in ImageMagick's ReplaceXmpValue() function in MagickCore/profile.c. An attacker could trick user to open a specially crafted file to convert, triggering an heap-use-after-free write error, allowing an application to crash, resulting in a denial of service.(CVE-2023-34475)
- Record
OESA-2023-1409- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2023-34474- Weakness
- CWE-122
- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:13000-1 No score
ImageMagick-7.1.1.11-2.1 on GA media
These are all security issues fixed in the ImageMagick-7.1.1.11-2.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:13000-1- Updated
- 2026-11-02
OSVSUSE-SU-2023:2878-1 No score
Security update for ImageMagick
This update for ImageMagick fixes the following issues:
- CVE-2023-34474: Fixed heap-based buffer overflow in ReadTIM2ImageData() function in coders/tim2.c (bsc#1212237).
- Record
SUSE-SU-2023:2878-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
ImageMagick_jllJulia |
before 7.1.1+0 | 7.1.1+0 |
ImageMagickopenEuler:22.03-LTS From an advisory covering 2 CVEs |
before 7.1.1.8-3.oe2203 | 7.1.1.8-3.oe2203 |
ImageMagickopenEuler:22.03-LTS-SP1 From an advisory covering 2 CVEs |
before 7.1.1.8-3.oe2203sp1 | 7.1.1.8-3.oe2203sp1 |
ImageMagickopenEuler:22.03-LTS-SP2 From an advisory covering 2 CVEs |
before 7.1.1.8-3.oe2203sp2 | 7.1.1.8-3.oe2203sp2 |
ImageMagickSUSE:Linux Enterprise Module for Desktop Applications 15 SP4 |
before 7.1.0.9-150400.6.24.1 | 7.1.0.9-150400.6.24.1 |
ImageMagickSUSE:Linux Enterprise Module for Desktop Applications 15 SP5 |
before 7.1.0.9-150400.6.24.1 | 7.1.0.9-150400.6.24.1 |
ImageMagickSUSE:Linux Enterprise Module for Development Tools 15 SP4 |
before 7.1.0.9-150400.6.24.1 | 7.1.0.9-150400.6.24.1 |
ImageMagickSUSE:Linux Enterprise Module for Development Tools 15 SP5 |
before 7.1.0.9-150400.6.24.1 | 7.1.0.9-150400.6.24.1 |
ImageMagickopenSUSE:Leap 15.4 |
before 7.1.0.9-150400.6.24.1 | 7.1.0.9-150400.6.24.1 |
ImageMagickopenSUSE:Leap 15.5 |
before 7.1.0.9-150400.6.24.1 | 7.1.0.9-150400.6.24.1 |
ImageMagickopenSUSE:Tumbleweed From an advisory covering 2 CVEs |
before 7.1.1.11-2.1 | 7.1.1.11-2.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-34474 is a medium vulnerability (CVSS 5.5) in Imagemagick, published June 16, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.37%, the 31st percentile. Fixed in ImageMagick_jll 7.1.1+0.
References
github.com/ImageMagick/ImageMagick/commit/1061db7f80fdc9ef572ac60b55f408f7bab6e1b0
bugzilla.redhat.com/show_bug.cgi?id=2214148
access.redhat.com/security/cve/CVE-2023-34474
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/45DUUXYMAEEAW55GSLAXN25VPKCRAIDA
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4UFQJCYJ23HWHNDOVKBHZQ7HCXXL6MM3
nvd.nist.gov/vuln/detail/CVE-2023-34474
Show 12 moreShow less
lists.fedoraproject.org/archives/list/[email protected]/message/45DUUXYMAEEAW55GSLAXN25VPKCRAIDA
lists.fedoraproject.org/archives/list/[email protected]/message/4UFQJCYJ23HWHNDOVKBHZQ7HCXXL6MM3
github.com/advisories/GHSA-prvr-4vr9-qmvh
github.com/CVEProject/cvelistV5/tree/main/cves/2023/34xxx/CVE-2023-34474.json
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1407
nvd.nist.gov/vuln/detail/CVE-2023-34475
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1408
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1409
suse.com/support/update/announcement/2023/suse-su-20232878-1
bugzilla.suse.com/1212237
suse.com/security/cve/CVE-2023-34474
suse.com/security/cve/CVE-2023-34475