Advisory

GHSA-3g4q-2f67-2gvh

Also known as: GO-2026-5933

Summary

netfoil has a resource leak in LRU cache

Details

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.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2026-07-07 20:04 UTC
Modified
2026-07-21 19:19 UTC

Affected packages and fixes

github.com/tinfoil-factory/netfoil

Go · All systems

Affected

  • introduced 0, fixed 0.3.0 (semver)

Fixed versions

0.3.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences