CVE-2026-63660 Details
Description
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.
A heap-based buffer overflow vulnerability has been identified in the Mapbox Node-Fontnik library, prior to version 0.7.7. The issue arises in the RenderSDF function, where a crafted font can cause a heap out-of-bounds write. This vulnerability is rooted in an integer overflow: the SDF bitmap allocation size is calculated based on the glyph's buffered width and height, using a 32-bit unsigned integer. Glyph dimensions, derived from the font's outline bounding box, can exceed this limit, leading to under-allocation of the buffer. Consequently, the render loop writes one byte per pixel, corrupting the heap and causing a process crash. A font as small as 680 bytes can exploit this vulnerability by creating a glyph that, when processed, exceeds the maximum allocation size and wraps around to zero, causing a heap corruption.
Users can upgrade to Mapbox Node-Fontnik version 0.7.7 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 11, 2026CISA-ADP
Assessed Nov 13, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/mapbox/node-fontnik/pull/202 | [email protected] | Source CodeVendor |
| https://github.com/mapbox/node-fontnik/releases/tag/v0.7.7 | [email protected] | Release NotesVendor |
| https://github.com/mapbox/node-fontnik/security/advisories/GHSA-cfm6-c7rv-58xj | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-190 | Integer Overflow or Wraparound | [email protected] |
| CWE-787 | Out-of-bounds Write | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| mapbox node-fontnik | < 0.7.7 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 13, 2026 | CVE Modified | CISA-ADP |
| Nov 11, 2026 | New CVE Received | [email protected] |
Volerion