Skip to main content

node-fontnik EUVDEUVD-2026-123100

| CVE-2026-63660 HIGH
Integer Overflow or Wraparound (CWE-190)
2026-11-11 GitHub_M
8.1
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Submit crafted <256-byte-class TTF to render service
  2. Delivery
    Font parsed by FreeType into 65536×65536 buffered glyph
  3. Exploit
    32-bit buffered_width*buffered_height wraps to tiny value
  4. Execution
    SDF bitmap heap-under-allocated
  5. Persist
    Render loop writes one byte per pixel past buffer
  6. Impact
    Heap 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

node-fontnik < 0.7.7

Affected Packages

euvd node_fontnik fix: 0.7.7

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

Vendor (GitHub_M) PRIMARY 8.1 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
vuln.today AI 8.1 HIGH

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).

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Nov 11, 2026 - 04:01 EUVD
CVE Published
Nov 11, 2026 - 02:40 cve.org
HIGH 8.1

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

Vendor-released patch: 0.7.7

Threat Intelligence Overview

EPSS Score
0.4%
Top 64% exploitable
Prevalence
Low
niche server-side glyph/SDF rendering library for Mapbox map tooling
Social Media
2
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy