medium5.3
CVE-2026-112273
libtins through 4.6 contains a heap out-of-bounds read vulnerability in DNS::compose_name in src/dns.cpp that allows remote attackers to read past the packet b…
Impact
libtins through 4.6 contains a heap out-of-bounds read vulnerability in DNS::compose_name in src/dns.cpp that allows remote attackers to read past the packet buffer by sending a label ending exactly at the packet end. Attackers can deliver crafted DNS packets whose additional, answer, or authority records trigger a one-byte read when parsed, crashing applications on hardened allocators.
Affected products
| Product | Affected versions |
|---|---|
| Libtins | through 4.6 |
Versions were read from the advisory text. No structured product data has been published for this record yet.
Weakness classification
References
- NVD record
- CVE.org record
- https://github.com/mfontanini/libtins
- https://github.com/mfontanini/libtins/blob/v4.6/src/dns.cpp#L338-L389
- https://hackmd.io/@haindpwn/libtins-dns-name-parsing-oob-read
- https://www.vulncheck.com/advisories/libtins-through-4.6-heap-out-of-bounds-read-via-dns-compose-name
- https://hackmd.io/@haindpwn/cve-2026-112273-112274-libtins-dns-name-parsing-oob-read