ImageMagick: Heap Buffer Over-Write in MIFF encoder when using LZMA compression (ImageMagick ImageMagick)

CVE-2026-46521
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.11 % · percentile 2 ()
State
PUBLISHED
Published
Updated
Assigner
GitHub_M
Affected products
ImageMagick · ImageMagick
NVD status
Analyzed

Description

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-48 and 7.1.2-23, when using LZMA compression in the MIFF encoder an out of bounds write can occur due to a missing check. This issue has been patched in versions 6.9.13-48 and 7.1.2-23.

Weaknesses (CWE)

  • CWE-131 — Incorrect Calculation of Buffer Size
  • CWE-252 — Unchecked Return Value
  • CWE-787 — Out-of-bounds Write
  • CWE-835 — Loop with Unreachable Exit Condition

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HGitHub_M
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HNVD · security-advisories@github.com (Secondary)

Advisories

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductAffected versions
ImageMagick · ImageMagick
affected : < 6.9.13-48
affected : < 7.1.2-23

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD