Off-by-one Error Affecting fontconfig package, versions [,2.17.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.01% (2nd 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-CONAN-FONTCONFIG-15850774
  • published31 Mar 2026
  • disclosed25 Mar 2026
  • creditUnknown

Introduced: 25 Mar 2026

NewCVE-2026-34085  (opens in a new tab)
CWE-193  (opens in a new tab)

How to fix?

Upgrade fontconfig to version 2.17.1 or higher.

Overview

Affected versions of this package are vulnerable to Off-by-one Error via the FcFontCapabilities function in fcfreetype.c. An attacker can cause a one-byte out-of-bounds write, potentially leading to a crash or execution of arbitrary code by supplying crafted input that triggers the off-by-one error during sfnt capability handling.

CVSS Base Scores

version 4.0
version 3.1