cve.bz

CVE-2011-2895

no score yetEPSS 8.4%Fix available

No CVSS score yet. EPSS 8.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.
EPSS
8.4% (unchanged from 8.4% a week ago; 8.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 95th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2011-2895 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2011-2895?via=ask-ai-copy and https://cve.bz/cve/CVE-2011-2895?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2011-2895 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
freetype:freetype2.1.9
x:libxfontthrough 1.4.3
x:libxfont1.2.0
x:libxfont1.2.1
x:libxfont1.2.2
x:libxfont1.2.3
x:libxfont1.2.4
x:libxfont1.2.5
x:libxfont1.2.6
x:libxfont1.2.7
x:libxfont1.2.8
x:libxfont1.2.9
x:libxfont1.3.0
x:libxfont1.3.1
x:libxfont1.3.2
x:libxfont1.3.3
x:libxfont1.3.4
x:libxfont1.4.0
x:libxfont1.4.1
x:libxfont1.4.2
openbsd:openbsdthrough 3.7
openbsd:openbsd2.0
openbsd:openbsd2.1
openbsd:openbsd2.2
openbsd:openbsd2.3
openbsd:openbsd2.4
openbsd:openbsd2.5
openbsd:openbsd2.6
openbsd:openbsd2.7
openbsd:openbsd2.8
openbsd:openbsd2.9
openbsd:openbsd3.0
openbsd:openbsd3.1
openbsd:openbsd3.2
openbsd:openbsd3.3
openbsd:openbsd3.4
openbsd:openbsd3.5
openbsd:openbsd3.6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian5.0libxfont1:1.3.3-2DSA-2293-1
Debian6.0libxfont1:1.4.1-3DSA-2293-1
Debian12, 13, 14libxfont1:1.4.4-1DEBIAN-CVE-2011-2895
Red Hatenterprise_linux:4::as, enterprise_linux:4::desktop, enterprise_linux:4::es and 1 morefreetype, freetype-demos, freetype-devel and 2 more0:2.1.9-19.el4RHSA-2011:1161
Red Hatenterprise_linux:4::as, enterprise_linux:4::desktop, enterprise_linux:4::es and 1 morexorg-x11, xorg-x11-doc, xorg-x11-sdk and 15 more0:6.8.2-1.EL.69RHSA-2011:1155
Red Hatenterprise_linux:5::clientlibXfont, libXfont-debuginfo0:1.2.2-1.0.4.el5_7RHSA-2011:1154
Red Hatenterprise_linux:5::client_workstation, enterprise_linux:5::serverlibXfont, libXfont-devel, libXfont-debuginfo0:1.2.2-1.0.4.el5_7RHSA-2011:1154
Red Hatenterprise_linux:6::serverlibXfont, libXfont-devel, libXfont-debuginfo0:1.4.1-2.el6_1RHSA-2011:1154
Red Hatrhel_eus:5.6libXfont, libXfont-devel, libXfont-debuginfo0:1.2.2-1.0.3.el5_6RHSA-2011:1834

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 4xorg-x11-0:6.8.2-1.EL.69Fixed 2011-08-11RHSA-2011:1155
Red Hat Enterprise Linux 4freetype-0:2.1.9-19.el4Fixed 2011-08-15RHSA-2011:1161
Red Hat Enterprise Linux 5libXfont-0:1.2.2-1.0.4.el5_7Fixed 2011-08-11RHSA-2011:1154
Red Hat Enterprise Linux 5.6 EUS - Server OnlylibXfont-0:1.2.2-1.0.3.el5_6Fixed 2011-12-19RHSA-2011:1834
Red Hat Enterprise Linux 6libXfont-0:1.4.1-2.el6_1Fixed 2011-08-11RHSA-2011:1154
Red Hat Enterprise Linux 4busyboxNot affected
Red Hat Enterprise Linux 4gzipNot affected
Red Hat Enterprise Linux 4mailxNot affected
Red Hat Enterprise Linux 4ncompressNot affected
Red Hat Enterprise Linux 5busyboxNot affected
Red Hat Enterprise Linux 5freetypeNot affected
Red Hat Enterprise Linux 5gzipNot affected
Red Hat Enterprise Linux 5mailxNot affected
Red Hat Enterprise Linux 5ncompressNot affected
Red Hat Enterprise Linux 6busyboxNot affected
Red Hat Enterprise Linux 6freetypeNot affected
Red Hat Enterprise Linux 6gzipNot affected
Red Hat Enterprise Linux 6libarchiveNot affected
Red Hat Enterprise Linux 6mailxWill not fix
Red Hat Enterprise Linux 6ncompressNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2011-2895.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).

References

Check your stackJSON