Skip to content
High 8.1

node-fontnikに脆弱性、細工したフォントで任意のコードが実行されるおそれ

CVE-2026-63660 First seen on SecPulse

Summary

node-fontnikには、細工されたフォントを処理するとヒープ領域の範囲外に書き込みが起きる脆弱性があります。影響を受けるのは0.7.7より前のバージョンで、0.7.7で修正されています。CVSSは8.1で、公表は2026年11月11日です。修正版の0.7.7へ更新してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

node-fontnikには、細工されたフォントを処理するとヒープ領域の範囲外に書き込みが起きる脆弱性があります。影響を受けるのは0.7.7より前のバージョンで、0.7.7で修正されています。CVSSは8.1で、公表は2026年11月11日です。修正版の0.7.7へ更新してください。

Original description The description as published by the source.

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: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details