CVE-2026-88369 Details
Description
zserge jsmn commit 25647e6 is vulnerable to Buffer Overflow in example/jsondump.c dump().
A buffer overflow vulnerability has been identified in the Zserge Jsmn JSON parser, specifically in the example file 'jsondump.c' from commit 25647e6. The issue arises in non-strict grammar mode, where the parser can emit a token tree that violates Jsmn's own token-size invariant. This flaw allows a STRING or PRIMITIVE token to incorrectly report a size greater than zero, leading the 'dump()' function to recursively access memory out of bounds. The vulnerability has been assigned a medium severity rating, as it can cause information disclosure or a denial-of-service by aborting the parse-walk process.
To address this vulnerability, Jsmn's token-size invariant should be enforced in the parser by ensuring that only container tokens are allowed to have a size increment. Additionally, the 'dump()' function should be made more defensive by checking the size of STRING and PRIMITIVE keys before descending into the token tree.
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 Sep 24, 2026CISA-ADP
Assessed Sep 25, 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/zserge/jsmn/issues/249 | CISA-ADP | ExploitIssue TrackingTechnical AnalysisVendor |
| https://github.com/zserge/jsmn/issues/249 | [email protected] | ExploitIssue TrackingTechnical AnalysisVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| zserge jsmn | 25647e6 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 25, 2026 | CVE Modified | CISA-ADP |
| Sep 24, 2026 | New CVE Received | [email protected] |
Volerion