Back to CVE catalog
CVE-2011-2895

Improper handling of code words in the LZW decompressor

Multiple products

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityMedium
ConfidentialityComplete
IntegrityComplete
AvailabilityComplete

CVSS summary v2.0

9.3High
Published:
Updated:
EPSS:
8.355%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:freetypefreetypeAffected versions:
2.1.9
Vendor:xlibxfontAffected versions:
≤ 1.4.3Show full version range for libxfont
1.2.01.2.11.2.21.2.31.2.41.2.51.2.61.2.71.2.81.2.91.3.01.3.11.3.21.3.31.3.41.4.01.4.11.4.2
Vendor:freebsdfreebsdAffected versions:
Range not specifiedShow full version range for freebsd
  • Other versions are affected by default; consult the source for exceptions.
Vendor:netbsdnetbsdAffected versions:
Range not specifiedShow full version range for netbsd
  • Other versions are affected by default; consult the source for exceptions.
Vendor:openbsdopenbsdAffected versions:
≤ 3.7Show full version range for openbsd
2.02.12.22.32.42.52.62.72.82.93.03.13.23.33.43.53.6
Vendor:redhatmailx
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for mailx
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatlibXfont
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
< 0:1.4.1-2.el6_1
Vendor:redhatlibXfont-devel
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
< 0:1.4.1-2.el6_1
Vendor:Debianlibxfont-dev
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 1:1.4.4-1
Vendor:Debianlibxfont1
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 1:1.4.4-1

1–10 of 67 · Page 1 of 7

CVSS scores and metrics6
[email protected] · NVD (Primary)Primary9.3 / 10HighCVSS 2.0Details
Attack complexity
Medium
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:C/I:C/A:C
nvd · Wazuh CTI (cna)9.3 / 10HighCVSS 2.0Details
Attack complexity
Medium
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:C/I:C/A:C
redhat · Wazuh CTI (adp)6.9 / 10MediumCVSS 2.0Details
Attack complexity
Medium
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Local
Authentication
Not required

Source vector

AV:L/AC:M/Au:N/C:C/I:C/A:C
oraclelinux · Wazuh CTI (adp)9.3 / 10HighCVSS 2.0Details
Attack complexity
Medium
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:C/I:C/A:C
Red Hat · Red Hat VEX (adp)6.9 / 10MediumCVSS 2.0Details
Attack complexity
Medium
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Local
Authentication
Not required

Source vector

AV:L/AC:M/Au:N/C:C/I:C/A:C
Red Hat · Red Hat VEX (adp)5.1 / 10MediumCVSS 2.0Details
Attack complexity
High
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:H/Au:N/C:P/I:P/A:P

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories59

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences