CVE-2026-25627: Log After Free

A pointer `$P` is logged after its memory has been freed. This Use-After-Free (UAF) can trigger crashes with strict memory-checking tools (e.g., ASAN) and indicates unsafe memory lifecycle management. Reorder the code to log before freeing, or do not access the pointer after deallocation.

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0C
greprules fetch cve-2026-25627-log-after-free --engine opengrep

Description

A pointer `$P` is logged after its memory has been freed. This Use-After-Free (UAF) can trigger crashes with strict memory-checking tools (e.g., ASAN) and indicates unsafe memory lifecycle management. Reorder the code to log before freeing, or do not access the pointer after deallocation.