Service interruption via truncated long-number parsing
Published Apr 19, 2025 · Updated Nov 3, 2025
Improper input handling in cJSON 1.7.15 allows local users to interrupt dependent services with a JSON document containing a long number. The parse_number function copies at most 63 numeric characters into a fixed stack buffer, so strtod consumes a truncated value and leaves valid digits unparsed. Exploitation requires a local application path that passes the crafted document to the library; the parser rejects the document, and service interruption depends on the embedding application's error handling.
Summary
What happened
Improper input handling in cJSON 1.7.15 allows local users to interrupt dependent services with a JSON document containing a long number. The parse_number function copies at most 63 numeric characters into a fixed stack buffer, so strtod consumes a truncated value and leaves valid digits unparsed. Exploitation requires a local application path that passes the crafted document to the library; the parser rejects the document, and service interruption depends on the embedding application's error handling.
The record
- CVE
- CVE-2023-26819
- Published
- Apr 19, 2025
- Updated
- Nov 3, 2025
- Vendor
- cJSON Project
- Product
- cJSON
- Classifications
- Unavailable
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Apr 19, 2025CVE publishedPublication date reported by the CVE source.
- Nov 3, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=1.7.15
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
No sourced classifications are available.
Public exploit references
- cJSON long-number parser rejection reproducerproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo