Moderate Command Injection Vulnerabilities in FontForge Package

fontforge Updated 02 Oct 2025

Summary

07/05/2025
N/A
Yes i
Medium
4.2

RLSA-2024:4267: Moderate: fontforge security update. Affects fontforge versions < 0:20200314-6.el8_10. Fixed in 0:20200314-6.el8_10. 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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

FontForge is an open-source font editor that allows users to create and edit outline and bitmap fonts. It supports various font formats, including PostScript, TrueType, OpenType, and CID-keyed fonts. Despite its robust functionality, FontForge has been found to be vulnerable to command injection attacks, which can be exploited through crafted filenames and archives.

Vulnerability Detail

The vulnerabilities identified in FontForge are classified as command injection flaws. Specifically, CVE-2024-25081 allows attackers to execute arbitrary commands by manipulating filenames, while CVE-2024-25082 enables similar exploitation through crafted archives or compressed files. These vulnerabilities can lead to unauthorized access, data corruption, or system compromise, making it critical for users to address them promptly.

How To Fix

Minimum fixed version

0:20200314-6.el8_10

This is the first release that contains the fix.

sudo dnf update fontforge

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

Workaround

As a temporary workaround, users can avoid opening untrusted files or archives with FontForge until the update is applied. Additionally, consider running FontForge in a controlled environment or sandbox to mitigate potential risks.

Conclusion

The command injection vulnerabilities in FontForge pose a significant risk to users, allowing potential attackers to execute arbitrary commands. It is essential to update to the latest patched version to mitigate these risks. Users are also encouraged to employ workarounds until they can apply the update.

See every vulnerability recorded for fontforge →

Share this vulnerability

FAQ

Command injection is a security vulnerability that allows an attacker to execute arbitrary commands on a host operating system via a vulnerable application.

You can check your version of FontForge by running 'fontforge --version' in the terminal. If it is earlier than 0:20200314-6.el8_10, it is affected.

If an immediate update is not possible, refrain from using FontForge with untrusted files and consider using a sandboxed environment.

Detailed information about the vulnerabilities can be found on the CVE pages for CVE-2024-25081 and CVE-2024-25082.

Vulert monitors open-source vulnerabilities in your software by analyzing a manifest file like package-lock.json, providing real-time alerts without needing access to the code.

Related vulnerabilities

Recent vulnerabilities recorded for fontforge.

How To Fix

Minimum fixed version

0:20200314-6.el8_10

This is the first release that contains the fix.

sudo dnf update 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