fontconfig before 2.17.1 has an off-by-one error in allocation during sfnt capability handling, leading to a one-byte out-of-bounds write, and potentially a crash or code execution. This is in FcFontCapabilities in fcfreetype.c.

Subscriptions

No data.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 25 Mar 2026 22:00:00 +0000

Type Values Removed Values Added
Title Off-by-One Vulnerability in Fontconfig May Enable Code Execution

Wed, 25 Mar 2026 17:15:00 +0000

Type Values Removed Values Added
Description fontconfig before 2.17.1 has an off-by-one error in allocation during sfnt capability handling, leading to a one-byte out-of-bounds write, and potentially a crash or code execution. This is in FcFontCapabilities in fcfreetype.c.
Weaknesses CWE-193
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L'}


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-03-25T16:56:57.003Z

Reserved: 2026-03-25T16:54:36.761Z

Link: CVE-2026-34085

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-03-25T17:17:09.210

Modified: 2026-03-25T17:17:09.210

Link: CVE-2026-34085

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-03-25T21:46:45Z

Weaknesses