GHSA-4ph6-mjv7-3fq6: netfoil vulnerable to improper handling of untrusted DoH response data
Summary HTTPS RR data returned from the DoH server was not properly handled. Unverified APLN data (which could contain arbitrary byte sequences) was written directly to the log. It could also cause unnecessary memory usage. The single-byte response code was also written directly to the log.
Published Aug 24, 2026
Affected packages
github.com/tinfoil-factory/netfoil
- Ecosystem
- Go
- Affected
- < 0.5.0
- Fixed in
- 0.5.0
- Check
go list -m github.com/tinfoil-factory/netfoil
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
HTTPS RR data returned from the DoH server was not properly handled. Unverified APLN data (which could contain arbitrary byte sequences) was written directly to the log. It could also cause unnecessary memory usage. The single-byte response code was also written directly to the log.
References
- https://github.com/tinfoil-factory/netfoil/security/advisories/GHSA-4ph6-mjv7-3fq6
- https://github.com/tinfoil-factory/netfoil/commit/58cfb0cb16b824e02bf53c2d67707e5e4bd9f59b
- https://github.com/tinfoil-factory/netfoil/commit/817f664c61aa64cbe0dbfcdfc05c16602b422e5b
- https://github.com/tinfoil-factory/netfoil/releases/tag/v0.5.0
- https://github.com/advisories/GHSA-4ph6-mjv7-3fq6
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 entriesGHSA-9ppr-wfw9-xvr2
Netfoil doesn't decrement TTL
mediumNov 3, 2026GHSA-xvg2-cgv6-6h7v
netfoil: Incorrect block responses could lead to localhost traffic
high7.4Jul 29, 2026GHSA-3g4q-2f67-2gvh
netfoil has a resource leak in LRU cache
low1.2Jul 7, 2026GHSA-59qp-cfj3-rp64
netfoil has a domain name filter bypass via multiple questions
medium5.9Jul 7, 2026GHSA-7856-g3gv-9wq8
netfoil: Attacker controlled data written to logs
low2.3Jul 7, 2026GHSA-84g5-x8j3-7235
Netfoil has incorrect allowlist enforcement
medium6.9Apr 29, 2026
