Advisory record · GHSA-3g4q-2f67-2gvh

netfoil has a resource leak in LRU cache

CVSS 4.0, no score published

Published by the GitHub Advisory Database at 7 Jul 2026, 20:04 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/tinfoil-factory/netfoilGo<0.3.00.3.0
Identifiers
GHSA-3g4q-2f67-2gvh · GO-2026-5933
Weakness (CWE)
CWE-401
Published
7 Jul 2026
Updated
21 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

netfoil, a Go package (github.com/tinfoil-factory/netfoil), is vulnerable in versions before 0.3.0. When entries are removed from its LRU cache, a pointer to the removed element is not properly cleaned up, causing a resource leak. A local attacker can cause netfoil to use more memory, which by default is limited to 100MB via systemd and triggers service restarts when reached. Upgrade to version 0.3.0.

Written 6 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
Not published None 4.0 CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS No score.

Timeline

  1. 31 Oct 2026, 14:58 UTC First seen by agentprime
  2. 31 Oct 2026, 14:58 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.