Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit crafted <256-byte-class TTF to render service
-
DeliveryFont parsed by FreeType into 65536×65536 buffered glyph
-
Exploit32-bit buffered_width*buffered_height wraps to tiny value
-
ExecutionSDF bitmap heap-under-allocated
-
PersistRender loop writes one byte per pixel past buffer
-
ImpactHeap corruption crashes process
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK
1 technique across 1 tactic: Execution 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 target application to pass attacker-supplied/untrusted font files into node-fontnik's range()/RenderSDF path on a version prior to 0.7.7 - for example a glyph- or SDF-generation endpoint that renders uploaded TrueType fonts. The specific trigger is a crafted font whose outline bounding box has no upper bound, producing a buffered glyph (e.g., 65536×65536) large enough that the 32-bit buffered_width*buffered_height product wraps to a small value and under-allocates the SDF bitmap; a font as small as 680 bytes suffices. No special configuration toggle is needed - default processing applies no upper dimension bound - so any deployment rendering untrusted fonts is affected. LIMITING FACTORS: the attacker must be able to submit fonts (CVSS PR:L implies some privilege/access rather than anonymous abuse), only versions <0.7.7 are vulnerable, and deployments that render only trusted, bundled fonts are not realistically exposed. |
| Impact | The CVSS 3.1 base score is 8.1 (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H), driven by a network vector, low complexity, and high integrity/availability impact from a heap out-of-bounds write. However, real-world risk is strongly gated by exposure: node-fontnik is a server-side glyph/SDF rendering library, so the flaw is only reachable where an application feeds attacker-controlled font files into RenderSDF (fontnik.range). The CVSS PR:L indicates some privilege level is expected rather than fully anonymous abuse, consistent with font-upload or tenant-scoped processing workflows. No EPSS score is provided in the input, so exploitation probability cannot be quantified here, and the CVE is NOT listed in CISA KEV - there is no confirmed active exploitation. A public PoC reference exists in the form of the committed test fixture (evil.ttf) and overflow-worker.js demonstrating the crash, but it is not verified as a weaponized working exploit against a live deployment; it reproduces a process crash, not demonstrated code execution. The vuln.today decision label is this_week, which aligns with the signals: a credible, reproducible memory-corruption bug worth prompt remediation, but not an emergency given no KEV and no confirmed mass exploitation. Net: a genuine priority for anyone processing untrusted fonts, but a low-real-risk item for deployments that only render trusted, bundled fonts. |
| Exploit ScenarioDerived | An application uses node-fontnik (<0.7.7) to render glyph ranges from user-supplied fonts (e.g., a map-styling or font-to-SDF service). An attacker submits a tiny crafted TrueType font - as small as 680 bytes - that drives FreeType to a 65536×65536 buffered glyph, overflowing the 32-bit bitmap size computation to a near-zero value and causing the render loop to write past the under-allocated heap buffer, corrupting the heap and crashing the process. A reproducing PoC font (evil.ttf) exists in the patch commit, but it demonstrates a crash rather than confirmed remote code execution. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 11, 2026
Heap out-of-bounds write in node-fontnik before 0.7.7: a crafted TrueType font with an oversized outline bounding box makes RenderSDF compute a 32-bit bitmap allocation that wraps to a small value, so the render loop writes one byte per pixel past the undersized buffer and crashes the process. Applications that pass untrusted fonts into range()/SDF generation are affected; the CVSS vector requires low privileges (PR:L), so the attacker must be able to submit fonts rather than relying on anonymous access. The vendor fixed it in 0.7.7; no public exploit was identified at time of analysis, though the upstream regression test includes a crafted font fixture that is test data, not verified exploit code.
RemediationAI
Upgrade node-fontnik to 0.7.7 or later; the vendor-released patch is version 0.7.7 (https://github.com/mapbox/node-fontnik/releases/tag/v0.7.7). That release caps glyph dimensions at 256 px, drops oversized glyphs before allocation, widens the bitmap size and write index to size_t, and clamps glyph.left/glyph.top to +/-256 px. The advisory at https://github.com/mapbox/node-fontnik/security/advisories/GHSA-cfm6-c7rv-58xj and PR #202 document the fix. No vendor-blessed workaround is described in the available data; the advisory identifies the 0.7.7 code changes as the fix, so deployments that continue processing untrusted fonts should deploy 0.7.7 before exposing the range()/RenderSDF path to attacker-supplied font files.
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
node-fontnik renders glyphs as signed distance field bitmaps inside protocol buffers. In include/mapbox/glyph_foundry_impl.hpp, RenderSDF derives glyph dimensions from the uploaded font's FreeType outline bounding box, then calculates buffered_width and buffered_height and allocates bitmap_size as buffered_width * buffered_height in a 32-bit unsigned int. Because the outline bounding box has no upper bound, a glyph large enough to make the product exceed 2^32 wraps to a small allocation while the render loop still writes one byte per pixel, producing a heap out-of-bounds write (CWE-190 integer overflow leading to CWE-787). A 680-byte font is sufficient to drive FreeType to a 65536x65536 buffered glyph and wrap the allocation size to zero. The fix in 0.7.7 caps glyph dimensions at 256 px, drops oversized glyphs before allocation, widens the bitmap size and write index to size_t, and clamps glyph.left/glyph.top to +/-256 px. The affected CPE is cpe:2.3:a:mapbox:node-fontnik:*:*:*:*:*:*:*:*.
Know when Mapbox 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
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
A crafted font is delivered to a service (AV:N) and reliably triggers the overflow (AC:L); submitting a font typically needs some access (PR:L); the heap OOB write yields corruption/crash (I:H/A:H) with no confidentiality disclosure (C:N).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
node-fontnik is a library that delivers a range of glyphs rendered as SDFs (signed distance fields) in a protocol buffer. Prior to version 0.7.7, a crafted font could trigger a heap out-of-bounds write in RenderSDF (include/mapbox/glyph_foundry_impl.hpp). RenderSDF computed the SDF bitmap allocation size as buffered_width * buffered_height in 32-bit unsigned int. Glyph dimensions are derived from the uploaded font's outline bounding box with no upper bound, so a glyph large enough to make that product exceed 2³² wrapped to a small value. The buffer was then under-allocated while the render loop still wrote one byte per pixel, corrupting the heap (CWE-190 → CWE-787) and crashing the process. A 680-byte font is enough to drive FreeType to a 65536×65536 buffered glyph, wrapping the size to 0. This issue has been patched in version 0.7.7.
Technical POC Analysis
CWE-190 (Integer Overflow or Wraparound) leading directly to CWE-787 (Out-of-bounds Write), in RenderSDF in include/mapbox/glyphfoundryimpl.hpp.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A heap out-of-bounds write in node-fontnik (versions before 0.7.7) can crash or potentially compromise systems that process untrusted fonts, such as font analysis or SDF generation services. Although the vendor has released a fix in 0.7.7, the patch status indicates it is not yet applied, leaving organizations exposed if attackers can submit crafted fonts (requiring low privileges). Leadership should prioritize upgrading to 0.7.7 and restricting font submission to trusted sources to mitigate business disruption and potential data breach risks.
Vendor-released patch: 0.7.7
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.
Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.
Mapbox.js versions 1.x prior to 1.6.6 and 2.x prior to 2.2.4 are vulnerable to a cross-site-scripting attack in certain
Mapbox.js versions 1.x prior to 1.6.5 and 2.x prior to 2.1.7 are vulnerable to a cross-site-scripting attack in certain
An integer overflow exists in Mapbox's closed source gl-native library prior to version 10.6.1, which is bundled with mu
EUVD-2026-123100
NVD
CVE.org
EPSS
GitHub
Exploit-DB