CVE-2011-2895

The LZW decompressor in (1) the BufCompressedFill function in fontfile/decompress.c in X.Org libXfont before 1.4.4 and (2) compress/compress.c in 4.3BSD, as…

published August 19, 2011

CVSS
—
EPSS
8%
Percentile
94.9
In the wild
Unconfirmed
What it is

⚠️ A crafty compressed stream could trigger infinite loops or even a buffer overflow in legacy systems! This LZW decompressor flaw is more than just a tangled yarn. 🧶 Think of it like a malfunctioning vending machine that keeps trying to dispense a snack that doesn’t exist. Instead of moving on to the next choice, it just gets stuck in a loop, potentially overflowing with error! An attacker could exploit this vulnerability to cause a denial of service by trapping the system in an infinite loop, or worse, execute arbitrary code with a carefully crafted input. This could lead to devastating consequences depending on the system at stake!

Put simply

Think of it like a malfunctioning vending machine that keeps trying to dispense a snack that doesn’t exist. Instead of moving on to the next choice, it just gets stuck in a loop, potentially overflowing with error! The LZW decompressor in affected versions mishandles code words that are not present in its decompression table, which can lead to infinite loops or heap-based buffer overflows.

What to do

An attacker could exploit this vulnerability to cause a denial of service by trapping the system in an infinite loop, or worse, execute arbitrary code with a carefully crafted input. This could lead to devastating consequences depending on the system at stake! Upgrade to libXfont version 1.4.4 or later, and ensure you’re using FreeBSD 5.0.3+, NetBSD 5.1.1+, and FreeType 2.1.10+ to mitigate the risk. Regularly review any dependencies for updates! You’ve got this! With the right upgrades, you can keep your systems safe and sound! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.08355 · 94.9th percentile
Published
2011-08-19T17:00Z
EPSS history
Timeline
  • 19 AUG 17:00Z
    The LZW decompressor in (1) the BufCompressedFill function in fontfile/decompress.c in X.Org libXfont before 1.4.4 and (2) compress/compress.c in 4.3BSD, as…
    cvelistv5