AT&T Labs Xmill XML decompression LabelDict::Load heap-based buffer overflow vulnerability
A heap-based buffer overflow exists in the XML decompression routine of Xmill 0.7, specifically in LabelDict::Load, due to a missing accounting for memory alignment. An attacker can provide a malicious XMI file to trigger the overflow, potentially leading to remote code execution.
A heap-based buffer overflow vulnerability exists in the XML Decompression LabelDict::Load functionality of AT&T Labs’ Xmill 0.7. A specially crafted XMI file can lead to remote code execution.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely, the code fails to account for padding bytes added by WordAlign when calculating the required buffer size, leading to a heap overflow during memcpy.
Impact
This could allow remote code execution when a malicious XMI file is processed.
What the attacker needed
Malicious XMI file; victim opens file with vulnerable software
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
This report describes a memory corruption bug in a file decompression tool. When the tool processes a specially crafted compressed XML file, it writes more data into a memory buffer than was allocated, which can crash the program or allow an attacker to run their own code.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.