High
Security advisory
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.)
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-25713
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 14:59 UTC · Revision 1
Source evidence
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.)
osv:CVE-2024-25713
Complete source record
{
"id": "ec555b2f9eae3a538f6bcf7effa13792eb65b9fe1156e24c1a28634ed63f475c",
"url": "https://osv.dev/vulnerability/CVE-2024-25713",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2024-25713",
"summary": "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.)",
"evidence": "osv:CVE-2024-25713",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2024-25713",
"aliases": [
"CVE-2024-25713",
"GHSA-q4m7-9pcm-fpxh",
"GHSA-whx6-m9j4-w2m2"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/ibireme/yyjson",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "e01ae9d89eaf858894d366169329097171a28d67"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "0.8.0"
}
],
"source": "DESCRIPTION"
},
{
"cpe": "cpe:2.3:a:ibireme:yyjson:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "0.8.0"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"0.8.0",
"0.7.0",
"0.6.0",
"0.5.1",
"0.5.0",
"0.4.0",
"0.3.0",
"0.2.0",
"0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-25713.json"
}
}
],
"modified": "2026-10-28T02:30:29.823096301Z",
"provider": "osv",
"references": [
"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6KQ67T4R7QEWURW5NMCCVLTBASL4ECHE/",
"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NNICQVIF7BRYFWYRL3HPVAJIPXN4OVTX/",
"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TKQPEREDUDKGYJMFNFDQVYCVLWDRO2Y2/",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/25xxx/CVE-2024-25713.json",
"https://github.com/ibireme/yyjson/security/advisories/GHSA-q4m7-9pcm-fpxh",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6KQ67T4R7QEWURW5NMCCVLTBASL4ECHE/",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NNICQVIF7BRYFWYRL3HPVAJIPXN4OVTX/",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TKQPEREDUDKGYJMFNFDQVYCVLWDRO2Y2/",
"https://nvd.nist.gov/vuln/detail/CVE-2024-25713"
],
"provider_metadata": {
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/25xxx/CVE-2024-25713.json"
}
},
"related_cves": [
{
"value": "CVE-2024-25713",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 496611,
"published_at": "2024-02-11T00:00:00+00:00"
}