Buffer overflow in FreeBSD
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 used in zopen.c in OpenBSD before 3.8, FreeBSD, NetBSD 4.0.x and 5.0.x before 5.0.3 and 5.1.x before 5.1.1, FreeType 2.1.9, and other products, does not properly handle code words that are absent from the decompression table when encountered, which allows context-dependent attackers to trigger an infinite loop or a heap-based buffer overflow, and possibly execute arbitrary code, via a crafted compressed stream, a related issue to CVE-2006-1168 and CVE-2011-2896.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v2 metric
CVSS v2 base score 9.3 (High). Vector: AV:N/AC:M/Au:N/C:C/I:C/A:C. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS: 0.084 (94.8th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 95th percentile — 94.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.084 · newest: 0.084 · change: 0.000
Affected products
- FreeBSD
- Freetype — versions 2.1.9
- NetBSD
- OpenBSD — versions 2.0, 2.1, 2.2
- X Libxfont — versions 1.2.0, 1.2.1, 1.2.2
Weakness classification (CWE)
References
- support.apple.com/HT205635
- www.redhat.com/support/errata/RHSA-2011-1154.html (vendor-advisory, Vendor Advisory)
- www.ubuntu.com/usn/USN-1191-1 (vendor-advisory)
- www.openwall.com/lists/oss-security/2011/08/10/10 (mailing-list)
- bugzilla.redhat.com/show_bug.cgi (Patch)
- secunia.com/advisories/45544 (Vendor Advisory, third-party-advisory)
- support.apple.com/HT205637
- support.apple.com/kb/HT5130
- lists.apple.com/archives/security-announce/2015/Dec/msg00002.html (vendor-advisory)
- www.mandriva.com/security/advisories (vendor-advisory)