Double free in yyjson - #VU167140
Published: February 6, 2024 / Updated: November 18, 2026
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.