Quick answers
- Is This vulnerability exploited in the wild?
- No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.
- How severe is This vulnerability?
- Low severity, with a CVSS score of 1.2, published 7 July 2026.
- Which products and versions are affected?
- github.com/tinfoil-factory/netfoil (Go) < 0.3.0; Tinfoil Factory Netfoil < 0.3.0.
- Is there a fix for This vulnerability?
- A patch was published on 2026-07-07: Fix available in version 0.3.0 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is This vulnerability attacked?
- It is attacked with local access, in a software library.
- Am I affected?
- Check whether you run github.com/tinfoil-factory/netfoil (Go) or Tinfoil Factory Netfoil at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
A memory leak (CWE-401) exists in the netfoil LRU cache implementation. When an entry is removed from the cache, a pointer to the removed element is not properly cleaned up, preventing the memory from being reclaimed. A local attacker can trigger this leak to increase the process's memory footprint. In environments using systemd with default memory limits (e.g., 100MB), this will eventually trigger an Out-Of-Memory (OOM) kill or service restart, resulting in a local denial-of-service. The issue is fixed in version 0.3.0.
Affected products
- tinfoil-factory netfoil < 0.3.0
Timeline
- 2026-05-31: disclosed: Initial disclosure by tinfoil-owner
- 2026-07-07: advisory: GitHub Advisory published
- 2026-07-07: patched: Fix available in version 0.3.0