惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Apple Machine Learning Research
Apple Machine Learning Research
aimingoo的专栏
aimingoo的专栏
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 聂微东
Engineering at Meta
Engineering at Meta
N
Netflix TechBlog - Medium
Blog — PlanetScale
Blog — PlanetScale
大猫的无限游戏
大猫的无限游戏
Vercel News
Vercel News
D
DataBreaches.Net
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
WordPress大学
WordPress大学
L
LangChain Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
F
Fortinet All Blogs
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
J
Java Code Geeks
Recent Announcements
Recent Announcements
Jina AI
Jina AI
G
Google Developers Blog
腾讯CDC
博客园_首页
博客园 - 【当耐特】

CERT Recently Published Vulnerability Notes

CERT/CC Vulnerability Note VU#369611 CERT/CC Vulnerability Note VU#687587 CERT/CC Vulnerability Note VU#718077 CERT/CC Vulnerability Note VU#859658 CERT/CC Vulnerability Note VU#943094 CERT/CC Vulnerability Note VU#889462 CERT/CC Vulnerability Note VU#456290 CERT/CC Vulnerability Note VU#308749 CERT/CC Vulnerability Note VU#728712 CERT/CC Vulnerability Note VU#756733 CERT/CC Vulnerability Note VU#874418 CERT/CC Vulnerability Note VU#431093 CERT/CC Vulnerability Note VU#614868 CERT/CC Vulnerability Note VU#487613 CERT/CC Vulnerability Note VU#243636 CERT/CC Vulnerability Note VU#281278 CERT/CC Vulnerability Note VU#790363 CERT/CC Vulnerability Note VU#293714 CERT/CC Vulnerability Note VU#305509 CERT/CC Vulnerability Note VU#141367 CERT/CC Vulnerability Note VU#492466 CERT/CC Vulnerability Note VU#847406 CERT/CC Vulnerability Note VU#360868 CERT/CC Vulnerability Note VU#762226 CERT/CC Vulnerability Note VU#885548 CERT/CC Vulnerability Note VU#326070 CERT/CC Vulnerability Note VU#529388 CERT/CC Vulnerability Note VU#725167 CERT/CC Vulnerability Note VU#564823 CERT/CC Vulnerability Note VU#152953
CERT/CC Vulnerability Note VU#987105
2026-08-07 · via CERT Recently Published Vulnerability Notes

Overview

A heap buffer overflow vulnerability exists in the stb TrueType library created by nothings. Exploitation of this vulnerability can occur when handling malformed font data and may lead to both Denial of Service (DoS) and Information Disclosure.

Description

The nothings stb repository, versions 1.26 and earlier, contains a collection of single-file public domain and MIT-licensed libraries for C/C++ projects.

CVE-2026-18497 A heap buffer overflow vulnerability exists in the stbtt_GetGlyphShape() function within the stb_truetype.h library when handling malformed TrueType Font (TTF) data. The issue occurs during glyph contour parsing. The function iterates based on the number of contour endpoints specified in endPtsOfContours, but does not validate that the points pointer remains within the bounds of the glyph data buffer. As a result, operations such as flags = *points++; may read memory beyond the allocated region.

An attacker can exploit this vulnerability by crafting a TTF file that specifies an excessively large endPtsOfContours value while providing truncated or minimal glyph data. When an application utilizing stb_truetype.h attempts to load, bake, or render this malformed font via stbtt_GetGlyphShape(), the parser will continue iterating past the end of the glyph data buffer, triggering the out-of-bounds heap read.

Impact

Exploitation of this vulnerability can lead to application crashes due to invalid reads of unmapped memory addresses, resulting in denial of service (DoS). In some cases, an attacker may also be able to read data from adjacent heap memory.

Solution

Unfortunately, we were unable to reach the stb maintainers to coordinate this vulnerability. Users are advised to monitor the project's GitHub repository for updates and install the latest version of this library once a fix has been released. At the time of this writing, the maintainer of this repository had the following message posted on the project's README page: "This project discusses security-relevant bugs in public in Github Issues and Pull Requests, and it may take significant time for security fixes to be implemented or merged. If this poses an unreasonable risk to your project, do not use stb libraries."

Acknowledgements

Thank you to Yanzhao Shen for reporting this vulnerability. This document was written by Bob Kemerer.

Vendor Information

Filter by content: Additional information available

 Sort by:


Other Information

CVE IDs: CVE-2026-18497
API URL: VINCE JSON | CSAF
Date Public: 2026-08-07
Date First Published: 2026-08-07
Date Last Updated: 2026-08-07 14:15 UTC
Document Revision: 1