CVE-2026-23876
published high CVSS 3.1 · 8.1Heap buffer overflow with attacker-controlled data in XBM parser
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ImageMagick | — | ImageMagick< 7.1.2-13 · < 6.9.13-38 | Affected | Not stated | GitHub_M |
| Red Hat | — | ImageMagickRed Hat Enterprise Linux 7 Extended Lifecycle Support · 0:6.9.10.68-10.el7_9 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat Enterprise Linux | 6 | ImageMagick | Unknown | Not stated | redhat-SADP |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3132 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1383 | Fixed | Not stated | Amazon Linux assessment |
| Oracle Linux | 7 | ImageMagickx86_64 | Advisory build | 0:6.9.10.68-7.0.5.el7_9 | ELSA-2026-3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagicki686 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| SUSE / openSUSE | SLE-15-SP4 | ImageMagickaarch64 | Advisory build | 7.1.0.9-150400.6.64.1 | SUSE-SU-2026:0503-1 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Debian | bookworm | imagemagick | Advisory build | 8:6.9.11.60+dfsg-1.6+deb12u6 | DSA-6111-1 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagickppc | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagickppc64 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagickppc64le | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagicks390 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagicks390x | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagicksrc | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagickx86_64 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| SUSE / openSUSE | SLE-15-SP4 | ImageMagickppc64le | Advisory build | 7.1.0.9-150400.6.64.1 | SUSE-SU-2026:0503-1 |
| SUSE / openSUSE | SLE-15-SP4 | ImageMagicks390x | Advisory build | 7.1.0.9-150400.6.64.1 | SUSE-SU-2026:0503-1 |
| SUSE / openSUSE | SLE-15-SP4 | ImageMagickx86_64 | Advisory build | 7.1.0.9-150400.6.64.1 | SUSE-SU-2026:0503-1 |
| SUSE / openSUSE | SLE-15-SP5 | ImageMagickaarch64 | Advisory build | 7.1.0.9-150400.6.64.1 | SUSE-SU-2026:0503-1 |
| SUSE / openSUSE | SLE-15-SP5 | ImageMagickppc64le | Advisory build | 7.1.0.9-150400.6.64.1 | SUSE-SU-2026:0503-1 |
| SUSE / openSUSE | SLE-15-SP5 | ImageMagicks390x | Advisory build | 7.1.0.9-150400.6.64.1 | SUSE-SU-2026:0503-1 |
| SUSE / openSUSE | SLE-15-SP5 | ImageMagickx86_64 | Advisory build | 7.1.0.9-150400.6.64.1 | SUSE-SU-2026:0503-1 |
| SUSE / openSUSE | SLE-15-SP6 | ImageMagickaarch64 | Advisory build | 7.1.1.21-150600.3.38.1 | SUSE-SU-2026:0438-1 |
| SUSE / openSUSE | SLE-15-SP6 | ImageMagickppc64le | Advisory build | 7.1.1.21-150600.3.38.1 | SUSE-SU-2026:0438-1 |
| SUSE / openSUSE | SLE-15-SP6 | ImageMagicks390x | Advisory build | 7.1.1.21-150600.3.38.1 | SUSE-SU-2026:0438-1 |
| SUSE / openSUSE | SLE-15-SP6 | ImageMagickx86_64 | Advisory build | 7.1.1.21-150600.3.38.1 | SUSE-SU-2026:0438-1 |
| SUSE / openSUSE | SLE-15-SP7 | ImageMagickaarch64 | Advisory build | 7.1.1.43-150700.3.33.1 | SUSE-SU-2026:0437-1 |
| SUSE / openSUSE | SLE-15-SP7 | ImageMagickppc64le | Advisory build | 7.1.1.43-150700.3.33.1 | SUSE-SU-2026:0437-1 |
| SUSE / openSUSE | SLE-15-SP7 | ImageMagicks390x | Advisory build | 7.1.1.43-150700.3.33.1 | SUSE-SU-2026:0437-1 |
| SUSE / openSUSE | SLE-15-SP7 | ImageMagickx86_64 | Advisory build | 7.1.1.43-150700.3.33.1 | SUSE-SU-2026:0437-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ImageMagickaarch64 | Advisory build | 7.1.1.21-150600.3.38.1 | SUSE-SU-2026:0438-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ImageMagickppc64le | Advisory build | 7.1.1.21-150600.3.38.1 | SUSE-SU-2026:0438-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ImageMagicks390x | Advisory build | 7.1.1.21-150600.3.38.1 | SUSE-SU-2026:0438-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ImageMagickx86_64 | Advisory build | 7.1.1.21-150600.3.38.1 | SUSE-SU-2026:0438-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ImageMagickaarch64 | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ImageMagickppc64le | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ImageMagicks390x | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ImageMagickx86_64 | Advisory build | 7.1.2.0-160000.6.1 | OPENSUSE-SU-2026:20337-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ImageMagickaarch64 | Advisory build | 7.1.2.13-2.1 | OPENSUSE-SU-2026:10119-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ImageMagickppc64le | Advisory build | 7.1.2.13-2.1 | OPENSUSE-SU-2026:10119-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ImageMagicks390x | Advisory build | 7.1.2.13-2.1 | OPENSUSE-SU-2026:10119-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ImageMagickx86_64 | Advisory build | 7.1.2.13-2.1 | OPENSUSE-SU-2026:10119-1 |
| Debian | bullseye | imagemagick | Advisory build | 8:6.9.11.60+dfsg-1.3+deb11u9 | DLA-4448-1 |
| Debian | trixie | imagemagick | Advisory build | 8:7.1.1.43+dfsg1-1+deb13u5 | DSA-6111-1 |
| Oracle Linux | 7 | ImageMagick-c++x86_64 | Advisory build | 0:6.9.10.68-7.0.5.el7_9 | ELSA-2026-3058 |
| Oracle Linux | 7 | ImageMagick-c++-develx86_64 | Advisory build | 0:6.9.10.68-7.0.5.el7_9 | ELSA-2026-3058 |
| Oracle Linux | 7 | ImageMagick-develx86_64 | Advisory build | 0:6.9.10.68-7.0.5.el7_9 | ELSA-2026-3058 |
| Oracle Linux | 7 | ImageMagick-docx86_64 | Advisory build | 0:6.9.10.68-7.0.5.el7_9 | ELSA-2026-3058 |
| Oracle Linux | 7 | ImageMagick-perlx86_64 | Advisory build | 0:6.9.10.68-7.0.5.el7_9 | ELSA-2026-3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-c++i686 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-c++ppc | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-c++ppc64 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-c++ppc64le | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-c++s390 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-c++s390x | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-c++x86_64 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-c++-develi686 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-c++-develppc | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-c++-develppc64 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-c++-develppc64le | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-c++-devels390 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-c++-devels390x | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-c++-develx86_64 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-debuginfoi686 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-debuginfoppc | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-debuginfoppc64 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-debuginfoppc64le | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-debuginfos390 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-debuginfos390x | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-debuginfox86_64 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-develi686 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-develppc | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-develppc64 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-develppc64le | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-devels390 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-devels390x | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-develx86_64 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-docppc64 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-docppc64le | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-docs390x | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-docx86_64 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-perlppc64 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-perlppc64le | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-perls390x | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| Red Hat Enterprise Linux | RHEL-7 | ImageMagick-perlx86_64 | Advisory build | 6.9.10.68-10.el7_9 | RHSA-2026:3058 |
| SUSE / openSUSE | SLE-12-SP5 | ImageMagick-config-6-SUSEaarch64 | Advisory build | 6.8.8.1-71.227.1 | SUSE-SU-2026:0384-1 |
| SUSE / openSUSE | SLE-12-SP5 | ImageMagick-config-6-SUSEppc64le | Advisory build | 6.8.8.1-71.227.1 | SUSE-SU-2026:0384-1 |
| SUSE / openSUSE | SLE-12-SP5 | ImageMagick-config-6-SUSEs390x | Advisory build | 6.8.8.1-71.227.1 | SUSE-SU-2026:0384-1 |
| SUSE / openSUSE | SLE-12-SP5 | ImageMagick-config-6-SUSEx86_64 | Advisory build | 6.8.8.1-71.227.1 | SUSE-SU-2026:0384-1 |
| SUSE / openSUSE | SLE-12-SP5 | ImageMagick-config-6-upstreamaarch64 | Advisory build | 6.8.8.1-71.227.1 | SUSE-SU-2026:0384-1 |
| SUSE / openSUSE | SLE-12-SP5 | ImageMagick-config-6-upstreamppc64le | Advisory build | 6.8.8.1-71.227.1 | SUSE-SU-2026:0384-1 |
| SUSE / openSUSE | SLE-12-SP5 | ImageMagick-config-6-upstreams390x | Advisory build | 6.8.8.1-71.227.1 | SUSE-SU-2026:0384-1 |
| SUSE / openSUSE | SLE-12-SP5 | ImageMagick-config-6-upstreamx86_64 | Advisory build | 6.8.8.1-71.227.1 | SUSE-SU-2026:0384-1 |
| SUSE / openSUSE | SLE-12-SP5 | ImageMagick-develaarch64 | Advisory build | 6.8.8.1-71.227.1 | SUSE-SU-2026:0384-1 |
| SUSE / openSUSE | SLE-12-SP5 | ImageMagick-develppc64le | Advisory build | 6.8.8.1-71.227.1 | SUSE-SU-2026:0384-1 |
| SUSE / openSUSE | SLE-12-SP5 | ImageMagick-devels390x | Advisory build | 6.8.8.1-71.227.1 | SUSE-SU-2026:0384-1 |
| SUSE / openSUSE | SLE-12-SP5 | ImageMagick-develx86_64 | Advisory build | 6.8.8.1-71.227.1 | SUSE-SU-2026:0384-1 |
| SUSE / openSUSE | SLE-12-SP5 | libMagick++-develaarch64 | Advisory build | 6.8.8.1-71.227.1 | SUSE-SU-2026:0384-1 |
| SUSE / openSUSE | SLE-12-SP5 | libMagick++-develppc64le | Advisory build | 6.8.8.1-71.227.1 | SUSE-SU-2026:0384-1 |
| SUSE / openSUSE | SLE-12-SP5 | libMagick++-devels390x | Advisory build | 6.8.8.1-71.227.1 | SUSE-SU-2026:0384-1 |
| SUSE / openSUSE | SLE-12-SP5 | libMagick++-develx86_64 | Advisory build | 6.8.8.1-71.227.1 | SUSE-SU-2026:0384-1 |
| SUSE / openSUSE | SLE-12-SP5 | libMagickCore-6_Q16-1aarch64 | Advisory build | 6.8.8.1-71.227.1 | SUSE-SU-2026:0384-1 |
| SUSE / openSUSE | SLE-12-SP5 | libMagickCore-6_Q16-1ppc64le | Advisory build | 6.8.8.1-71.227.1 | SUSE-SU-2026:0384-1 |
| SUSE / openSUSE | SLE-12-SP5 | libMagickCore-6_Q16-1s390x | Advisory build | 6.8.8.1-71.227.1 | SUSE-SU-2026:0384-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-13 and 6.9.13-38, a heap buffer overflow vulnerability in the XBM image decoder (ReadXBMImage) allows an attacker to write controlled data past the allocated heap buffer when processing a maliciously crafted image file. Any operation that reads or identifies an image can trigger the overflow, making it exploitable via common image upload and processing pipelines. Versions 7.1.2-13 and 6.9.13-38 fix the issue.
A flaw was found in ImageMagick. A heap buffer overflow, a type of memory corruption, in the XBM image decoder (ReadXBMImage) allows a remote attacker to write controlled data beyond the allocated memory buffer when processing a maliciously crafted image file. This can lead to arbitrary code execution, information disclosure, or a denial of service. The vulnerability can be triggered by any operation that reads or identifies an image.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.1 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ImageMagick | ImageMagick | < 7.1.2-13 (affected)< 6.9.13-38 (affected) | GitHub_M · cna |
| Red Hat | Red Hat Enterprise Linux 7 Extended Lifecycle Support | 0:6.9.10.68-10.el7_9 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unknown | redhat-SADP · adp |
Weaknesses
3- CWE-122 CWE-122: Heap-based Buffer Overflow
- CWE-190 CWE-190: Integer Overflow or Wraparound
- CWE-787 Out-of-bounds Write
References
6- https://access.redhat.com/errata/RHSA-2026:3058
- https://access.redhat.com/security/cve/CVE-2026-23876
- RHBZ#2431038 https://bugzilla.redhat.com/show_bug.cgi?id=2431038
- https://github.com/ImageMagick/ImageMagick/commit/2fae24192b78fdfdd27d766fd21d90aeac6ea8b8
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-r49w-jqq3-3gx8
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23876.json
Provider assertions
3GitHub_M · cna
Heap buffer overflow with attacker-controlled data in XBM parser
redhat-SADP · adp
ImageMagick: ImageMagick: Arbitrary code execution via a crafted XBM image file
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- fd8d31068c6ee6dbd23df45ab6220f6a6407824f6f4950e7f41cf081cf53985a
- Ingested
- 23 Sep 2026, 09:06:03 UTC
- Source record
- Official CVE record