p PatchFirst

PatchFirst · Latest vulnerabilities

libxfont2 vulnerabilities

Vulnerabilities published for libxfont2 in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 8

  1. CVE-2026-44950

    Critical · CVSS 9.5EPSS 0.26%No fix published

    fs_read_glyphs() heap buffer overflow via cumulative glyph data overflow in libXfont2

    fs_read_glyphs() in the libXfont2 font-server client (src/fc/fserve.c) copies each glyph's bitmap into a single buffer. Existing checks validates only that the source slice (position, length) lies within the source bitmap buffer. It does not check whether the running destination cursor has exceeded the allocation. A malicious font server can send overlapping source offsets -- for example 1000 glyphs each referencing {position:0, length:64} with nbytes=64. Each individual source range passes the existing validation, but the cumulative writes total 64000 bytes into a 64-byte destination buffer. This is a heap buffer overflow with attacker-cont

    Published Updated
  2. CVE-2026-59679

    Critical · CVSS 9.2EPSS 0.26%No fix published

    fs_read_glyphs() heap OOB read/write via encoding array index mismatch in libXfont2

    fs_read_glyphs() in the libXfont2 font-server client (src/fc/fserve.c) indexes the per-character encoding[] array using num_chars from the FS_QueryXBitmaps16 reply, but that array was allocated with a size derived from num_extents in the separate FS_QueryXExtents16 reply. The two CARD32 fields are never cross-checked. A malicious or compromised font server can send a small num_extents (e.g. 1) in the extents reply, then a large num_chars (e.g. 100000) in the bitmaps reply. This causes attacker-controlled out-of-bounds heap read and writes.

    Published Updated
  3. CVE-2026-56003

    High · CVSS 8.5EPSS 0.4%No fix published

    libXfont2 computeProps Property Buffer Heap Buffer Overflow

    A heap buffer overflow due to missing size checking in the property buffer when parsing PCF files in libXfont2 ComputeScaledProperties() before libXfont2 before 2.0.8 could be used by attackers using authenticated X clients to execute code within the X server.

    Published Updated
  4. CVE-2017-13722

    High · CVSS 7.1EPSS 0.4%Fix available

    CVE-2017-13722

    In the pcfGetProperties function in bitmap/pcfread.c in libXfont through 1.5.2 and 2.x before 2.0.2, a missing boundary check (for PCF files) could be used by local attackers authenticated to an Xserver for a buffer over-read, for information disclosure or a crash of the X server.

    • Update to 1:2.0.1-3~ubuntu16.04.2
    Published Updated
  5. CVE-2017-13720

    High · CVSS 7.1EPSS 0.44%Fix available

    CVE-2017-13720

    In the PatternMatch function in fontfile/fontdir.c in libXfont through 1.5.2 and 2.x before 2.0.2, an attacker with access to an X connection can cause a buffer over-read during pattern matching of fonts, leading to information disclosure or a crash (denial of service). This occurs because '\0' characters are incorrectly skipped in situations involving ? characters.

    • Update to 1:2.0.1-3~ubuntu16.04.2
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →