Skip to content
Heist/ feed
Back to feed
UnratedFix available

libxfont — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-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.

Products
libxfont
Affected versions
Not specified
Fixed versions
1:1.4.4-1
CVEs
CVE-2011-2895
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 23:11 UTC · Revision 1

Source evidence

DEBIAN-CVE-2011-2895

core-osv · Original source

Published 19 Aug 2011, 17:55 UTC

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.

osv:DEBIAN-CVE-2011-2895

libxfont

Fixed versions: 1:1.4.4-1

libxfont

Fixed versions: 1:1.4.4-1

libxfont

Fixed versions: 1:1.4.4-1

Complete source record
{
  "id": "a6eb96fa7aa1f1b0284e712451f1a0e9dff12486123732fe4ec5092066c414de",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2011-2895",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2011-2895",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2011-2895",
    "products": [
      {
        "name": {
          "value": "libxfont",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1:1.4.4-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libxfont",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1:1.4.4-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libxfont",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1:1.4.4-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "DEBIAN-CVE-2011-2895",
      "aliases": [
        "DEBIAN-CVE-2011-2895"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1:1.4.4-1"
                }
              ]
            }
          ],
          "package": {
            "name": "libxfont",
            "purl": "pkg:deb/debian/libxfont?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2011-2895.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1:1.4.4-1"
                }
              ]
            }
          ],
          "package": {
            "name": "libxfont",
            "purl": "pkg:deb/debian/libxfont?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2011-2895.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1:1.4.4-1"
                }
              ]
            }
          ],
          "package": {
            "name": "libxfont",
            "purl": "pkg:deb/debian/libxfont?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2011-2895.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-23T17:47:37.104031574Z",
      "provider": "osv",
      "upstream": [
        "CVE-2011-2895"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2011-2895"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2011-2895",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 417951,
  "published_at": "2011-08-19T17:55:03.037+00:00"
}