CVE-2026-34085
Received Received - Intake

Off-by-One Write in fontconfig Sfnt Handling Causes Code Execution

Vulnerability report for CVE-2026-34085, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-03-25

Last updated on: 2026-03-27

Assigner: MITRE

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-03-25
Last Modified
2026-03-27
Generated
2026-07-06
AI Q&A
2026-03-25
EPSS Evaluated
2026-07-05
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
fontconfig_project fontconfig to 2.17.1 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-193 A product calculates or uses an incorrect maximum or minimum value that is 1 more, or 1 less, than the correct value.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability exists in fontconfig versions before 2.17.1. It is caused by an off-by-one error in memory allocation during the handling of sfnt capabilities in the function FcFontCapabilities within the file fcfreetype.c. This error leads to a one-byte out-of-bounds write, which can potentially cause a crash or allow code execution.

Impact Analysis

The vulnerability can lead to a one-byte out-of-bounds write, which may cause the affected application to crash or, in a worst-case scenario, allow an attacker to execute arbitrary code. This can compromise the stability and security of systems using vulnerable versions of fontconfig.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-34085. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart