Description
libtins through 4.6 contains an out-of-bounds read vulnerability in DNS::soa_record::init that allows remote attackers to read past buffer bounds by supplying SOA data lacking NUL terminators. Attackers can feed raw SOA RDATA without a zero byte to applications using the buffer constructor, causing strlen to overrun the heap buffer and possibly crash.
Metrics
CVSS 3.1 3.7/10
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:LWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| libtins | libtins | <= 4.6 |
References
- https://github.com/mfontanini/libtins
- https://github.com/mfontanini/libtins/blob/v4.6/src/dns.cpp#L698-L710
- https://hackmd.io/@haindpwn/libtins-dns-name-parsing-oob-read
- https://www.vulncheck.com/advisories/libtins-through-4.6-out-of-bounds-read-via-dns-soa-record-init
- https://hackmd.io/@haindpwn/libtins-dns-name-parsing-oob-read
Timeline
- Published
- Oct 19, 2026
- Last modified
- Oct 19, 2026
- NVD status
- Deferred