Heap-based buffer overflow in autotrace - #VU170538

 

Heap-based buffer overflow in autotrace - #VU170538

Published: November 25, 2026


Vulnerability identifier: #VU170538
CSH Severity: Medium
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-122
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to corrupt heap memory, potentially crashing the application or executing arbitrary code.

The vulnerability exists due to a heap-based buffer overflow in the AutoTrace ImageMagick/GraphicsMagick, PNM, and PNG readers when they allocate buffers using truncated image dimensions but decode using the original dimensions. A remote attacker can trick a victim into opening a crafted image to corrupt heap memory.


Affected software

autotrace

Remediation

Install security update from vendor's website.

autotrace - update to 0.31.12

External References

Related Security Bulletins