Cyber Resilience

CVE-2024-25713

HighPublic PoCRCE

Published: 29 February 2024

Published
29 February 2024
Modified
04 November 2025
KEV Added
Patch
CVSS Score v3.1 8.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L
EPSS Score 0.0577 90.7th percentile
Risk Priority 21 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2024-25713 is a high-severity Code Injection (CWE-94) vulnerability in Fedoraproject Fedora. Its CVSS base score is 8.6 (High).

Operationally, ranked in the top 9.3% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

Deeper analysis

yyjson versions through 0.8.0 contain a double-free vulnerability in the pool allocator's pool_free function, which lacks loop checks when used alongside pool_malloc and pool_realloc. The flaw is tracked as CVE-2024-25713 with a CVSS 3.1 score of 8.6 and is also associated with CWE-94. It affects any application or library that embeds the affected yyjson code for JSON processing.

An unauthenticated remote attacker can supply crafted input over the network to trigger the double free, which may result in remote code execution in certain configurations along with limited confidentiality and availability impacts and high integrity impact.

The primary reference is the GitHub Security Advisory GHSA-q4m7-9pcm-fpxh, which details the issue and is mirrored in subsequent Fedora package-announcement lists that identify affected builds and corrective updates. The current EPSS score of 0.0577 shows no material increase since disclosure.

EU & UK References

Vulnerability details

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.)

CWE(s)

Related Threats

No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.

Affected Assets

ibireme
yyjson
≤ 0.8.0
fedoraproject
fedora
38, 39, 40

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-94

Makes persistent code injection into loaded programs impossible when the executable image itself resides on hardware-protected read-only media.

addresses: CWE-94

Dynamically generated code can be produced and executed inside the isolated chamber, preventing host compromise from code-injection payloads.

addresses: CWE-94

Validates inputs used in dynamic code generation to block injected directives.

addresses: CWE-94

Directly prevents execution of attacker-supplied code written into data memory regions.

References