Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious .pcf with bad glyph-name offsets
-
DeliveryDeliver font file to FontForge user
-
ExploitVictim imports via GUI or Import()
-
ExecutionUnchecked offset triggers out-of-bounds heap read
-
ImpactApplication crashes (denial of service)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the victim to import an attacker-supplied, crafted .pcf (X11 PCF bitmap font) file into FontForge, either through the GUI import workflow or the scripting Import() command - importing .pcf is a standard, default-available feature, so no non-default configuration is needed. The specific trigger is a .pcf whose glyph-name offset data contains out-of-range or negative offsets, or an unterminated string block, which PcfReadEncodingsNames() in fontforge/fvimportbdf.c uses to index the string buffer without validating against its size. Limiting factors that reduce real-world risk: the attack is local (AV:L) and requires user interaction (UI:P) - the attacker cannot trigger it remotely or automatically and must convince a user to open/import a malicious font file; and the scored impact is limited to crashing the application (availability), not code execution or confirmed data disclosure. |
| Impact | Signals are consistent and point to a moderate, not urgent, issue. The input CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H) scores 6.8 and describes a local, user-interaction-dependent flaw whose only scored impact is availability (VA:H) - a client-side crash of the FontForge application, with no confidentiality (VC:N) or integrity (VI:N) impact. There is no CISA KEV listing, no EPSS score supplied, and no public exploit identified at time of analysis - the GitHub references are the fix commit, the vulnerable source lines, the fixing pull request, and the VulnCheck advisory, not exploit code. The vuln.today decision label is 'this_month', aligning with normal-cadence patching rather than act_now/emergency. One tension worth flagging: the issue is CWE-125 (out-of-bounds read) and tagged 'Information Disclosure', yet the supplied CVSS vector sets confidentiality to N and only availability to H, so the scored risk is a crash, not data leakage; whether the out-of-bounds read can actually disclose adjacent heap memory to the attacker is not established by the available evidence and should be verified against the VulnCheck advisory. Overall this is a legitimate but lower-tier priority: a local, interaction-gated denial-of-service in a niche desktop tool, not a widely-automatable network threat. |
| Exploit ScenarioDerived | An attacker crafts a malicious .pcf font file containing out-of-range or negative glyph-name offsets or an unterminated string block, and induces a FontForge user to import it (for example via a shared font bundle or a direct file transfer). When the victim imports the file through the GUI or the Import() command, PcfReadEncodingsNames() reads outside the heap buffer and the application crashes. No public exploit code is identified in the input; exploitation requires local access to the victim's FontForge session and the user action of importing the file (CVSS UI:P, AV:L). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 30, 2026
Importing a crafted .pcf bitmap font into FontForge (through build 20251009) crashes the application via an out-of-bounds heap read in PcfReadEncodingsNames() in fontforge/fvimportbdf.c. The function trusts glyph-name offset values and the declared string-table size from the file without validating them, so a .pcf containing negative or out-of-range offsets, or an unterminated string block, causes reads outside the allocated buffer when the font is loaded through the GUI import workflow or the scripting Import() command. The attack is local and requires the victim to open a malicious font file (CVSS 3.1 AV:L/AC:L/PR:N/UI:R, impact limited to availability: high), so scored risk is a denial-of-service crash rather than code execution or confirmed data disclosure; no public exploit code and no active exploitation (CISA KEV) were identified at time of analysis, and an upstream fix exists as a commit and pull request rather than a confirmed tagged release.
RemediationAI
Apply the upstream fix in commit fc1f2ba2f7a997b2d1e62beb77c849210a2af506 (pull request https://github.com/fontforge/fontforge/pull/5958), which clamps a negative string-table size to zero, allocates one extra byte and NUL-terminates the buffer, and bounds-checks every glyph-name offset before use; no tagged release containing this commit was independently confirmed at time of analysis, so treat this as an upstream fix available in source form and rebuild FontForge from a commit at or after fc1f2ba2, or wait for the next packaged release after the 20251009 snapshot and confirm with your distributor. No vendor workaround is documented in the available sources, and updating is the only complete fix; until a patched binary is deployed, reduce exposure by not importing .pcf fonts of untrusted or unknown origin into FontForge (via the GUI or the Import() script command) - since PCF import is a default-enabled feature, this restriction must be enforced procedurally rather than through a configuration switch, and it does not protect users who must legitimately open untrusted bitmap fonts.
Affected VersionsENISA
Affected Packages
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
PCF (Portable Compiled Format) is the compiled binary bitmap-font format used by the X11 font system. FontForge's BDF/PCF importer parses the file's table of contents and then, in PcfReadEncodingsNames(), reads the glyph-name string table: it takes a size field, allocates a buffer, reads the string block, and later resolves each glyph name by adding a per-glyph offset to the buffer base. The root cause is CWE-125 (out-of-bounds read) arising from missing validation of two untrusted values - the string-table size and the individual glyph-name offsets. A negative size was passed directly to malloc()/fread(), where conversion to size_t produces a very large allocation/read request, and the buffer was never NUL-terminated, so consumers could scan past its end. Offsets were used as raw pointer arithmetic (string+offsets[i]) with no lower or upper bound, allowing reads before or beyond the heap allocation. The upstream commit fc1f2ba2f7a997b2d1e62beb77c849210a2af506 (PR #5958) addresses this by clamping a negative stringsize to 0, allocating stringsize+1 bytes, NUL-terminating the buffer after the read, and only computing name = string+offsets[i] when offsets[i] >= 0 && offsets[i] < stringsize. The vulnerability metadata tags mention buffer overflow and information disclosure, but the assessed impact is memory-safety violation observable as an application crash.
Know when the next one hits your stack
- 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
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Local file import with required user interaction (AV:L/UI:R), no privileges needed; the out-of-bounds read only crashes the app, so A:H and C:N/I:N.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
DescriptionCVE.org
FontForge through 20251009 contains an out-of-bounds read vulnerability in PcfReadEncodingsNames() in fontforge/fvimportbdf.c that allows attackers to read outside heap buffers via unchecked glyph-name offsets. Attackers can supply a crafted .pcf file with out-of-range or negative offsets or an unterminated string block to crash the application when imported through the GUI or Import() command.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-139546
GHSA-864x-j299-6cv2
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB