CVE-2026-112273
CVE-2026-112273 · libtins through 4.6 Heap Out-of-Bounds Read via DNS::compose_name
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 6.9 · Medium · EPSS 0.5%
- Published
- Updated
Stack: system
Affected products and versions
libtins
- Versions
- ≥ 0, ≤ 4.6: Affected (custom)
No fix published
libtins Debian:12
- Versions
- 4.0-1
- 4.5-1
- 4.5-1.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libtins Debian:13
- Versions
- 4.5-1
- 4.5-1.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libtins Debian:14
- Versions
- 4.5-1
- 4.5-1.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libtins Ubuntu:18.04:LTS
- Versions
- 3.4-2
- 3.4-2build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libtins Ubuntu:20.04:LTS
- Versions
- 4.0-1
- 4.0-1build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libtins Ubuntu:22.04:LTS
- Versions
- 4.0-1build1
- 4.0-1build2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libtins Ubuntu:24.04:LTS
- Versions
- 4.0-1build2
- 4.5-1
- 4.5-1build1
- 4.5-1build2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libtins Ubuntu:26.10
- Versions
- 4.5-1.1
- 4.5-1.1build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libtins Ubuntu:26.04:LTS
- Versions
- 4.5-1build2
- 4.5-1.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://hackmd.io/@haindpwn/libtins-dns-name-parsing-oob-read
- https://github.com/mfontanini/libtins/blob/v4.6/src/dns.cpp#L338-L389
- https://github.com/mfontanini/libtins
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2026-112273