CVE-2025-15273CWE-121

FontForge PFB File Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability

High · published December 31, 2025

CVSS v3.0
8.8
EPSS
1%
Percentile
48.5
In the wild
Unconfirmed
What it is

⚡ A crafty PFB file could turn your FontForge into a playground for attackers! 🌐 Think of this like a restaurant where a dish is served without checking the ingredients — if someone sneaks in a poisoned ingredient, it could spoil the whole meal. In this case, the flawed parsing process lets malicious data overflow and execute arbitrary code like a surprise element in a recipe. An attacker could exploit this vulnerability to run any code on the user's system, gaining access to sensitive information or even taking control of their machine. This could lead to devastating consequences, especially if the user has administrative rights. It's like opening the door to a burglar during dinner — you never know what they could take or do!

Put simply

Think of this like a restaurant where a dish is served without checking the ingredients — if someone sneaks in a poisoned ingredient, it could spoil the whole meal. In this case, the flawed parsing process lets malicious data overflow and execute arbitrary code like a surprise element in a recipe. The stack-based buffer overflow in FontForge occurs when the application fails to properly validate the length of input data from PFB files before copying it to a fixed-length buffer. This lack of validation allows an attacker to manipulate the stack and execute arbitrary code in the context of the current user.

What to do

An attacker could exploit this vulnerability to run any code on the user's system, gaining access to sensitive information or even taking control of their machine. This could lead to devastating consequences, especially if the user has administrative rights. It's like opening the door to a burglar during dinner — you never know what they could take or do! To protect against this vulnerability, ensure that FontForge is updated to the latest version. Educate users about the risks of opening untrusted PFB files and consider implementing network-level protections to block malicious files. It's essential to stay vigilant! You've got this! By following these steps, you'll bolster your defenses and keep your digital workspace safe. 🛡️

The record
Technical detail
CVSS v3.0
8.8 · HIGH
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00609 · 48.5th percentile
Weakness
CWE-121 · Stack-based Buffer Overflow
Published
2025-12-31T06:59Z
EPSS history
Timeline
  • 31 DEC 06:59Z
    FontForge PFB File Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability
    cvelistv5