Heap-based buffer over-read in fontforge

fontforge Updated 02 Oct 2025

Summary

26/08/2017
N/A
Yes i
Unrated
Not published

DLA-1065-1: fontforge - security update. Affects fontforge versions < 0.0.20120101+git-2+deb7u1. Fixed in 0.0.20120101+git-2+deb7u1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

FontForge is an open-source font editor that allows users to create and modify fonts. It supports various font formats and provides a range of editing tools. However, FontForge is vulnerable to a heap-based buffer over-read in several functions. This vulnerability can be exploited by an attacker through a crafted OpenType Font (OTF) file, leading to denial of service or potential code execution.

Vulnerability Detail

The vulnerability in FontForge arises from a heap-based buffer over-read in multiple functions. When processing a specially crafted OTF file, FontForge fails to properly handle certain data, resulting in the over-read. This can be exploited by an attacker to crash the application or potentially execute arbitrary code. The impact of this vulnerability depends on the context in which FontForge is used, but it could lead to unauthorized access, data loss, or further compromise of the system.

How To Fix

Minimum fixed version

0.0.20120101+git-2+deb7u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade fontforge

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to apply the security update provided by the Debian project to mitigate the risk.

Conclusion

FontForge is susceptible to a heap-based buffer over-read vulnerability that can be exploited through a specially crafted OTF file. To mitigate the risk, users should upgrade their fontforge package to the latest version provided by the Debian project. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for fontforge →

Share this vulnerability

FAQ

FontForge is an open-source font editor used for creating and modifying fonts.

A heap-based buffer over-read occurs when a program reads data from a buffer beyond its allocated size in the heap memory. This can lead to information disclosure, crashes, or potential code execution.

An attacker can exploit this vulnerability by crafting a malicious OTF file and tricking a user into opening it with FontForge. This can be done through various attack vectors, such as email attachments or compromised websites.

The impact of this vulnerability can vary depending on the context in which FontForge is used. It could lead to denial of service, unauthorized access, data loss, or further compromise of the system.

Yes, the Debian project has released a security update that addresses this vulnerability. Users are advised to upgrade their fontforge package to the patched version.

Related vulnerabilities

Recent vulnerabilities recorded for fontforge.

How To Fix

Minimum fixed version

0.0.20120101+git-2+deb7u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade fontforge

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback