AT&T Labs Xmill XML decompression PlainTextUncompressor::UncompressItem heap-based buffer overflow vulnerability
A heap-based buffer overflow exists in the XML decompression functionality of AT&T Labs Xmill 0.7, specifically in PlainTextUncompressor::UncompressItem. A specially crafted XMI file can trigger the overflow, potentially leading to remote code execution.
A heap-based buffer overflow vulnerability exists in the XML Decompression PlainTextUncompressor::UncompressItem 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
The decompressor reads a length from the compressed file and uses it directly in a memcpy without validating that the length does not exceed the destination buffer size.
Impact
A malicious XMI file could cause a heap buffer overflow, potentially leading to remote code execution.
What the attacker needed
Victim opens a malicious XMI file
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 reads a compressed XML file, it trusts a length value from the file and copies that many bytes into a fixed-size buffer without checking if it fits, causing data to spill over and potentially allowing 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.