Memory corruption and process crash via double release
Published Feb 11, 2024 · Updated Nov 4, 2025
Double free in yyjson 0.8.0 and earlier allows local users to corrupt memory or crash a consuming process through repeated document release. The pool allocator's free path neither checks for cycles nor destroys released pointers, permitting a second yyjson_mut_doc_free call to reuse stale allocator state. Exploitation requires a consuming program to free the same document twice; the maintainer classifies that call as undefined behavior and disputes that it is a library flaw.
Summary
What happened
Double free in yyjson 0.8.0 and earlier allows local users to corrupt memory or crash a consuming process through repeated document release. The pool allocator's free path neither checks for cycles nor destroys released pointers, permitting a second yyjson_mut_doc_free call to reuse stale allocator state. Exploitation requires a consuming program to free the same document twice; the maintainer classifies that call as undefined behavior and disputes that it is a library flaw.
The record
- CVE
- CVE-2024-25713
- Published
- Feb 11, 2024
- Updated
- Nov 4, 2025
- Vendor
- YaoYuan
- Product
- yyjson
- Classifications
- CWE-94
- Attack vector
- local
- Privileges
- Unavailable
Timeline
How it unfolded
- Feb 11, 2024CVE publishedPublication date reported by the CVE source.
- Nov 4, 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=0.8.0
What conditions does exploitation require?
What is affected?
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
Public exploit references
- GHSA-q4m7-9pcm-fpxh proof of conceptproof 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