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.
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Thu, 26 Mar 2026 12:15:00 +0000

Type Values Removed Values Added
Title Off-by-One Vulnerability in Fontconfig May Enable Code Execution fontconfig: Fontconfig: Security flaw allows arbitrary code execution or system crash
References
Metrics threat_severity

None

threat_severity

Moderate


Thu, 26 Mar 2026 12:00:00 +0000

Type Values Removed Values Added
First Time appeared Fontconfig Project
Fontconfig Project fontconfig
Vendors & Products Fontconfig Project
Fontconfig Project fontconfig

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'}


Projects

Sign in to view the affected projects.

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 : Awaiting Analysis

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

Modified: 2026-03-26T15:13:15.790

Link: CVE-2026-34085

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-03-25T16:54:37Z

Links: CVE-2026-34085 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-03-26T11:34:28Z

Weaknesses