Heap-based Buffer Overflow Affecting libxfont2 package, versions <2.0.8-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.4% (33rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE324-LIBXFONT2-17892567
  • published8 Jul 2026
  • disclosed8 Jul 2026

Introduced: 8 Jul 2026

CVE-2026-56003  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Alpine:3.24 libxfont2 to version 2.0.8-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libxfont2 package and not the libxfont2 package as distributed by Alpine. See How to fix? for Alpine:3.24 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1