{"id":"GHSA-3g4q-2f67-2gvh","aliases":["GO-2026-5933"],"status":"published","title":"netfoil has a resource leak in LRU cache","description":"### Summary\nWhen an entry was removed from the LRU cache, a pointer to the removed element was not properly cleaned up.\n\n### Impact\nA local attacker can get netfoil to use more memory. By default this is limited to 100MB via systemd, which would trigger service restarts when reached.","severity":{"version":"4.0","score":1.2,"vector":"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","level":"low","from":"ghsa"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-401"],"published":"2026-07-07T20:04:01Z","modified":"2026-07-21T19:19:26Z","fixes":[{"ecosystem":"Go","package":"github.com/tinfoil-factory/netfoil","fixed_in":["0.3.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/tinfoil-factory/netfoil","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/tinfoil-factory/netfoil","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.3.0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/tinfoil-factory/netfoil","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.3.0"}]}]}],"references":[{"url":"https://github.com/tinfoil-factory/netfoil/security/advisories/GHSA-3g4q-2f67-2gvh","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-3g4q-2f67-2gvh"},{"url":"https://github.com/tinfoil-factory/netfoil","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-3g4q-2f67-2gvh","title":"netfoil has a resource leak in LRU cache","description":"### Summary\nWhen an entry was removed from the LRU cache, a pointer to the removed element was not properly cleaned up.\n\n### Impact\nA local attacker can get netfoil to use more memory. By default this is limited to 100MB via systemd, which would trigger service restarts when reached.","status":"published","published":"2026-07-07T20:04:01Z","modified":"2026-07-07T20:04:02Z","cvss":[{"version":"4.0","score":1.2,"vector":"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","level":"low"}],"cwes":["CWE-401"],"updated_at":"2026-11-02T14:40:40.389795Z"}],"osv":[{"id":"GHSA-3g4q-2f67-2gvh","title":"netfoil has a resource leak in LRU cache","description":"### Summary\nWhen an entry was removed from the LRU cache, a pointer to the removed element was not properly cleaned up.\n\n### Impact\nA local attacker can get netfoil to use more memory. By default this is limited to 100MB via systemd, which would trigger service restarts when reached.","status":"published","published":"2026-07-07T20:04:01Z","modified":"2026-07-21T19:19:26.481627429Z","cvss":[{"version":"4.0","score":1.2,"vector":"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","level":"low"}],"cwes":["CWE-401"],"updated_at":"2026-11-02T15:46:35.747385Z"},{"id":"GO-2026-5933","title":"netfoil has a resource leak in LRU cache in github.com/tinfoil-factory/netfoil","description":"netfoil has a resource leak in LRU cache in github.com/tinfoil-factory/netfoil","status":"published","published":"2026-07-17T19:42:05Z","modified":"2026-07-21T19:15:29.157624599Z","updated_at":"2026-11-02T15:47:02.838915Z"}]}}
