Explore

Rule Explorer

Search the public rule index by CVE, GHSA, CWE, language, framework, author, or rule slug. Filter by language, framework, severity, confidence, license, and validation status.

Public rules
4797
Downloads
12.4M
Verified
4797
Authors
2
Search the rule indexUse CVE, GHSA, CWE, language, framework, package, or rule slug.
1 rules matched. Showing 1 loaded rules.
Publish rule
CVE-2026-33811: Go Defer Free Reassigned Pointercve-2026-33811-go-defer-free-reassigned-pointer

Passing a pointer variable directly to a deferred free/deallocation call evaluates the argument at defer registration time. If the variable is reassigned or reallocated later, the deferred call will free the stale pointer, potentially causing a double-free (CWE-415). Wrap the deallocation in a closure: defer func() { C.free(unsafe.Pointer(buf)) }().

by Provallyupdated 2026-09-02Apache-2.0
1.3K0 direct1.3K via packs
downloads
65quality
All matching rules loaded.