Double free in yyjson - #VU167140

 

Double free in yyjson - #VU167140

Published: February 6, 2024 / Updated: November 18, 2026


Vulnerability identifier: #VU167140
CSH Severity: Low
CVSS v4: 6.9 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-415
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to write to arbitrary memory addresses or cause a denial of service.

The vulnerability exists due to double free and missing loop checks in yyjson's pool allocator when an application incorrectly frees the same document twice. A local user can exploit overlapping allocations to manipulate chunk links, redirect writes to arbitrary addresses, or create cyclic chains that cause infinite loops.


Affected software

yyjson

Remediation

Install security update from vendor's website.

yyjson - update to 0.9.0

External References

Related Security Bulletins