Skip to content
Noroxi
CVE-2011-2895· NVD / CVE Program· CNA redhat

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

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.

CriticalCVSS 9.3 · v2.0—No exploit Fix available
Published
Aug 19, 2011
Updated
Jun 16, 2026
EPSS
8.4% · 95th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

40

Plan

Add it to your regular patch cycle.

CVSS
37 / 40 · 9.3 / 10
CISA KEV
0 / 30 · Not listed
EPSS
3 / 30 · 8.4%

Affected systems

VendorProduct
xlibxfont
freetypefreetype
freebsdfreebsd
netbsdnetbsd
openbsdopenbsd

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • freebsd freebsdall versions
  • freetype freetype2.1.9
  • netbsd netbsdall versions
  • openbsd openbsdup to 3.7 inclusive
  • 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

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12libxfontbefore 1:1.4.4-11:1.4.4-1
Debian:5.0libxfontbefore 1:1.3.3-21:1.3.3-2
Debian:6.0libxfontbefore 1:1.4.1-31:1.4.1-3
Red Hat:enterprise_linux:4::asfreetypebefore 0:2.1.9-19.el40:2.1.9-19.el4
Red Hat:enterprise_linux:4::asfreetype-debuginfobefore 0:2.1.9-19.el40:2.1.9-19.el4
Red Hat:enterprise_linux:4::asfreetype-demosbefore 0:2.1.9-19.el40:2.1.9-19.el4
Red Hat:enterprise_linux:4::asfreetype-develbefore 0:2.1.9-19.el40:2.1.9-19.el4
Red Hat:enterprise_linux:4::asfreetype-utilsbefore 0:2.1.9-19.el40:2.1.9-19.el4
Red Hat:enterprise_linux:4::asxorg-x11before 0:6.8.2-1.EL.690:6.8.2-1.EL.69
Red Hat:enterprise_linux:4::asxorg-x11-deprecated-libsbefore 0:6.8.2-1.EL.690:6.8.2-1.EL.69
Red Hat:enterprise_linux:4::asxorg-x11-deprecated-libs-develbefore 0:6.8.2-1.EL.690:6.8.2-1.EL.69
Red Hat:enterprise_linux:4::asxorg-x11-develbefore 0:6.8.2-1.EL.690:6.8.2-1.EL.69
Red Hat:enterprise_linux:4::asxorg-x11-docbefore 0:6.8.2-1.EL.690:6.8.2-1.EL.69
Red Hat:enterprise_linux:4::asxorg-x11-font-utilsbefore 0:6.8.2-1.EL.690:6.8.2-1.EL.69
Red Hat:enterprise_linux:4::asxorg-x11-libsbefore 0:6.8.2-1.EL.690:6.8.2-1.EL.69
Red Hat:enterprise_linux:4::asxorg-x11-Mesa-libGLbefore 0:6.8.2-1.EL.690:6.8.2-1.EL.69
Red Hat:enterprise_linux:4::asxorg-x11-Mesa-libGLUbefore 0:6.8.2-1.EL.690:6.8.2-1.EL.69
Red Hat:enterprise_linux:4::asxorg-x11-sdkbefore 0:6.8.2-1.EL.690:6.8.2-1.EL.69
Red Hat:enterprise_linux:4::asxorg-x11-toolsbefore 0:6.8.2-1.EL.690:6.8.2-1.EL.69
Red Hat:enterprise_linux:4::asxorg-x11-twmbefore 0:6.8.2-1.EL.690:6.8.2-1.EL.69
Red Hat:enterprise_linux:4::asxorg-x11-xauthbefore 0:6.8.2-1.EL.690:6.8.2-1.EL.69
Red Hat:enterprise_linux:4::asxorg-x11-xdmbefore 0:6.8.2-1.EL.690:6.8.2-1.EL.69
Red Hat:enterprise_linux:4::asxorg-x11-Xdmxbefore 0:6.8.2-1.EL.690:6.8.2-1.EL.69
Red Hat:enterprise_linux:4::asxorg-x11-xfsbefore 0:6.8.2-1.EL.690:6.8.2-1.EL.69

+11

Same product

x: all records

Other highest-scoring records for the same primary product.

  • CVE-2007-5199A single byte overflow in catalogue.c in X.Org libXfont 1.3.1 allows remote attackers to have unspecified impact.
    40Plan
  • CVE-2013-6462Stack-based buffer overflow in the bdfReadCharacters function in bitmap/bdfread.c in X.Org libXfont 1.1 through 1.4.6 allows remote attacker
    40Plan
  • CVE-2026-56003libXfont2 computeProps Property Buffer Heap Buffer Overflow
    35Monitor
  • CVE-2026-56002libXfont2 PCF Font Parsing Heap Buffer Overflow
    35Monitor
  • CVE-2026-56001libXfont2 BitmapScaleBitmaps Integer Overflow Heap Buffer Overflow
    35Monitor
  • CVE-2015-1804The bdfReadCharacters function in bitmap/bdfread.c in X.Org libXfont before 1.4.9 and 1.5.x before 1.5.1 does not properly perform type conv
    35Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:libxfont1:1.4.4-1 · Debian:12Package registry (OSV)
red hat:libXfont0:1.2.2-1.0.4.el5_7 · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:libXfont-debuginfo0:1.2.2-1.0.4.el5_7 · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:libXfont-devel0:1.2.2-1.0.4.el5_7 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)
red hat:xorg-x110:6.8.2-1.EL.69 · Red Hat:enterprise_linux:4::asPackage registry (OSV)
red hat:xorg-x11-deprecated-libs0:6.8.2-1.EL.69 · Red Hat:enterprise_linux:4::asPackage registry (OSV)
red hat:xorg-x11-deprecated-libs-devel0:6.8.2-1.EL.69 · Red Hat:enterprise_linux:4::asPackage registry (OSV)
red hat:xorg-x11-devel0:6.8.2-1.EL.69 · Red Hat:enterprise_linux:4::asPackage registry (OSV)
red hat:xorg-x11-Mesa-libGL0:6.8.2-1.EL.69 · Red Hat:enterprise_linux:4::asPackage registry (OSV)
red hat:xorg-x11-Mesa-libGLU0:6.8.2-1.EL.69 · Red Hat:enterprise_linux:4::asPackage registry (OSV)
red hat:xorg-x11-Xdmx0:6.8.2-1.EL.69 · Red Hat:enterprise_linux:4::asPackage registry (OSV)
red hat:xorg-x11-Xnest0:6.8.2-1.EL.69 · Red Hat:enterprise_linux:4::asPackage registry (OSV)
red hat:xorg-x11-Xvfb0:6.8.2-1.EL.69 · Red Hat:enterprise_linux:4::asPackage registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

    If successful

    Confidentiality
    C · data can be read
    Integrity
    C · data or configuration can be modified
    Availability
    C · the service can be disrupted
    Attack complexity
    M
    Confidentiality impact
    C
    Integrity impact
    C
    Availability impact
    C

    CVSS vector

    AV:N/AC:M/Au:N/C:C/I:C/A:C

    nvd-primary

    Noroxi analysis

    No Noroxi analysis for this record yet

    We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

    We use this product, ask for help

    Change log

    1. Fix✗ → ✓

    For records you follow, these changes also arrive as notifications. →

    References

    All records