Skip to main content
VulnerabilityPublished Updated

CVE-2024-25713: yyjson · Code Injection

Affects yyjsonSource CVE Database V5

0

Not known to be exploited · CVSS 8.6 High.

Data as of 26 Oct 2026, 08:30 UTC

CVSS 3.1 base score
8.6High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
1.8% chance of exploitation in 30 days – higher than 78% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 11 Feb 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
GitHubibireme/yyjsonpkg:github/ibireme/yyjsonOther threatsAffected
  • <=0.8.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

1. Monitor official yyjson repositories and security advisories for patches addressing CVE-2024-25713 and apply updates immediately upon release. 2. If patches are not yet available, review and modify the pool_free function to include proper loop checks to prevent double free conditions. 3. Conduct thorough code audits of any software components using yyjson to identify and isolate vulnerable versions. 4. Employ runtime protections such as heap corruption detection tools (e.g., AddressSanitizer) during development and testing to catch double free errors early. 5. Implement network-level protections including strict input validation and JSON schema validation to reduce the risk of malicious payloads triggering the vulnerability. 6. Use application-layer firewalls and intrusion detection systems configured to detect anomalous behavior related to memory corruption exploits. 7. Educate development teams on secure memory management practices and the risks associated with allocator misuse. 8. For critical systems, consider isolating components using yyjson in sandboxed environments to limit the impact of potential exploitation.

Description

yyjson through 0.8.0 has a double free, leading to remote code execution in some cases, because the pool_free function lacks loop checks. (pool_free is part of the pool series allocator, along with pool_malloc and pool_realloc.)

References

Community reviews

Loading reviews…