NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

GHSA-3g4q-2f67-2gvh: netfoil has a resource leak in LRU cache

lowCVSS 4.0 1.2

Summary When an entry was removed from the LRU cache, a pointer to the removed element was not properly cleaned up. Impact A 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.

Published Jul 7, 2026

Affected packages

github.com/tinfoil-factory/netfoil

Ecosystem
Go
Affected
< 0.3.0
Fixed in
0.3.0
Check
go list -m github.com/tinfoil-factory/netfoil

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Summary

When an entry was removed from the LRU cache, a pointer to the removed element was not properly cleaned up.

Impact

A 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.

Credited to stigtsp.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Go vulnerabilities

All Go entries