# CVE-2026-140352: ImageMagick before 7.1.2-36 Use After Free in ASHLAR Encoder

- Severity: Low 2.1 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:L/AC:H/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
- Published: 2026-12-01T14:30:12.338Z
- Modified: 2026-12-01T15:17:56.963Z
- Weaknesses: CWE-416
- Assigned by: VulnCheck

## Description

ImageMagick before 7.1.2-36 contains a use after free vulnerability in the ASHLAR encoder caused by multi-threading when a specific failure occurs. Attackers can trigger the failure condition while encoding ASHLAR images to access freed memory, causing crashes or memory corruption.

(As written by CVE List.)

## Affected

- ImageMagick ImageMagick: before 7.1.2-36 (not affected: 7.1.2-36)

## Every score

- VulnCheck: CVSS:4.0 2.1 Low `CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 2.9 Low `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-5545-xpgp-wj32> (vendor-advisory)
- <https://www.vulncheck.com/advisories/imagemagick-before-7.1.2-36-use-after-free-in-ashlar-encoder> (third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2026-140352 · Whole record: https://cve.day/CVE-2026-140352.json · Rebuilt by cve.day 2026-12-01T15:32:15.525Z
