Skip to main content

Fontconfig CVE-2026-34085

| EUVDEUVD-2026-15934 MEDIUM
Off-by-one Error (CWE-193)
2026-03-25 mitre
5.9
CVSS 3.1 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Off-by-one prevention
Impact

The CVSS 3.1 score of 5.9 with vector CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L indicates a medium-severity local vulnerability requiring no privileges or user interaction, with low attack complexity and limited scope. The attack vector being Local (AV:L) reduces real-world risk for internet-facing services but elevates concern for multi-tenant systems, desktops, and container environments where local code execution is a realistic threat. The vulnerability's technical impact spans confidentiality, integrity, and availability (C:L/I:L/A:L), suggesting potential for information leakage, code execution, or denial of service. The off-by-one nature of the defect is highly reliable to trigger and exploit, as it does not depend on complex heap state alignment; a malicious font file reliably corrupts one byte in the heap. While KEV status and EPSS scores are not explicitly provided in the intelligence, the combination of a known patch (commit b9bec06d7334), proof-of-concept references available via merge request #446, local-only attack vector, and the deterministic nature of the buffer overflow suggest moderate-to-high exploitation probability among sophisticated attackers. However, the one-byte limitation and local-only vector mean widespread automatic exploitation across internet infrastructure is unlikely; real-world impact is highest in scenarios where untrusted fonts are processed by fontconfig-dependent applications (web browsers, document renderers, font managers).

Exploit ScenarioDerived

An attacker crafts a malicious SFNT font file with capability structures that trigger the off-by-one allocation error in FcFontCapabilities. When a user opens this font file directly in a font manager, previews it in a document containing the embedded font, or loads it through a web browser's font-loading mechanism, fontconfig processes the font and writes one byte beyond the allocated buffer on the heap. This one-byte write corrupts adjacent heap metadata or data structures, enabling the attacker to either crash the application (denial of service) or, with careful heap grooming, corrupt pointers or function dispatch tables to achieve arbitrary code execution with the privileges of the user running the fontconfig-dependent application. Proof-of-concept details are referenced in the GitLab merge request #446, indicating the defect is well-understood and reproducible by security researchers.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 25, 2026

An off-by-one error in fontconfig before version 2.17.1 allows a one-byte out-of-bounds write in the FcFontCapabilities function within fcfreetype.c during sfnt capability handling. This vulnerability affects all versions of fontconfig prior to 2.17.1 across multiple platforms, potentially enabling local attackers without special privileges to crash the application or execute arbitrary code. A patch is available through the official fontconfig GitLab repository, and given the memory corruption nature of the defect, exploitation is feasible on systems with fontconfig-dependent applications.

RemediationAI

Immediately upgrade fontconfig to version 2.17.1 or later using your system package manager (apt upgrade fontconfig on Debian/Ubuntu, dnf upgrade fontconfig on Fedora, etc.) or by building from the official repository at https://gitlab.freedesktop.org/fontconfig/fontconfig/-/merge_requests/446. For systems where immediate patching is not feasible, restrict processing of untrusted font files by disabling custom font loading in user-facing applications, implementing strict file type validation before passing fonts to fontconfig, and enforcing sandboxing or containerization to limit the scope of local code execution. Web browsers should enable sandbox profiles that restrict font file access, and systems processing user-supplied documents (PDF readers, office suites) should be updated as a priority since they commonly invoke fontconfig for font discovery.

Affected VersionsENISA

fontconfig 0 <2.17.1

Affected Packages

euvd fontconfig fix: 2.17.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Fontconfig is a fundamental font configuration and customization library used across Linux desktop environments and applications for font discovery and rendering. The vulnerability resides in the FcFontCapabilities function in fcfreetype.c, which handles SFNT (Spline Font) capability detection—a standard font format that includes TrueType and OpenType fonts. The root cause is classified as CWE-193 (Off-by-one Error), a boundary condition weakness that results in an allocation being one byte smaller than required. When processing specially crafted SFNT font files, the insufficient buffer causes a write operation to exceed allocated memory by exactly one byte, triggering potential heap corruption. The affected CPE (cpe:2.3:a:fontconfig:fontconfig:*:*:*:*:*:*:*:*) indicates all versions prior to 2.17.1 are vulnerable, making this a widespread concern across Linux distributions and applications embedding fontconfig.

Know when Fontconfig gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.9 MEDIUM
AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
SUSE MEDIUM
Red Hat 6.6 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

Lifecycle Timeline

2
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Mar 25, 2026 - 16:54 nvd
MEDIUM 5.9

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Organizations using fontconfig before 2.17.1 should be aware of moderate risk from CVE-2026-34085 rated CVSS 5.9. Exploitation could compromise the security of affected deployments. Organizations should apply vendor updates when available and monitor for exploitation.

Business Impact: Low
Compensating Controls

Apply vendor patch. If patching is delayed: restrict network access and enable monitoring.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
Low
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed
SUSE Linux Enterprise Micro 5.2 Fixed
SUSE Linux Enterprise Micro 5.3 Fixed
SUSE Linux Enterprise Micro 5.4 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy