{"id":"CVE-2026-63660","aliases":["CVE-2026-63660"],"related":[],"kind":"vulnerability","state":"published","title":"node-fontnik: integer-overflow heap out-of-bounds write in RenderSDF","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-11T02:40:47.419Z","modified":"2026-11-13T17:17:34.420Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","score":8.1,"rating":"HIGH"}],"cwes":["CWE-190","CWE-787"],"affected":[{"ranges":[{"version":"< 0.7.7","status":"affected"}],"vendor":"mapbox","product":"node-fontnik","source":"cvelist"}],"references":[{"url":"https://github.com/mapbox/node-fontnik/security/advisories/GHSA-cfm6-c7rv-58xj","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/mapbox/node-fontnik/pull/202","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/mapbox/node-fontnik/releases/tag/v0.7.7","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-11-13T16:58:14.309Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-63660","url":"https://www.cve.org/CVERecord?id=CVE-2026-63660","licence":"CVE Terms of Use","modified":"2026-11-13T17:02:51.147Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-63660","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63660","licence":"Public domain","modified":"2026-11-13T17:17:34.420Z"}],"updatedAt":"2026-11-25T22:59:50.315Z","epss":{"score":0.0045,"percentile":0.40839,"date":"2026-12-01T12:00:22.000Z"}}