# CVE-2026-109261: ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 Memory Leak in GIF Encoder

- Severity: Medium 6.3 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- 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.42%, higher than 38% of CVEs (2026-12-01)
- Published: 2026-10-12T16:04:31.299Z
- Modified: 2026-11-03T16:14:37.893Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 contains a memory leak in the GIF encoder because allocated memory is not released when color quantization fails during encoding. Attackers can supply images whose GIF conversion causes quantization to fail, leaking memory with each attempt and degrading availability.

(As written by CVE List.)

## Affected

- ImageMagick ImageMagick: from 7.0.0-0 before 7.1.2-32; before 6.9.13-57 (not affected: 7.1.2-32; 6.9.13-57)

## Every score

- VulnCheck: CVSS:4.0 6.3 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-w68r-6fmr-cvg4> (vendor-advisory)
- <https://github.com/ImageMagick/ImageMagick/commit/1c7763266cfedc635005a965169bc2ddcc650221> (patch)
- <https://github.com/ImageMagick/ImageMagick6/commit/93aa075f0fa5a6ae6a83a63acc7c84283aa6d31b> (patch)
- <https://www.vulncheck.com/advisories/imagemagick-before-6.9.13-57-and-7-x-before-7.1.2-32-memory-leak-in-gif-encoder> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-109261](https://www.cve.org/CVERecord?id=CVE-2026-109261), CVE Terms of Use, modified 2026-10-18
- NVD: [CVE-2026-109261](https://nvd.nist.gov/vuln/detail/CVE-2026-109261), Public domain, modified 2026-11-03

---

Page: https://cve.day/CVE-2026-109261 · Whole record: https://cve.day/CVE-2026-109261.json · Rebuilt by cve.day 2026-11-25T22:59:43.614Z
