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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| libtins | libtins | ≤ 4.6 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libtins | No fix yet | — |
| Debian 13 | libtins | No fix yet | — |
| Debian 12 | libtins | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libtins | No fix yet | — |
| Ubuntu 26.04 LTS | libtins | No fix yet | — |
| Ubuntu 24.04 LTS | libtins | No fix yet | — |
| Ubuntu 22.04 LTS | libtins | No fix yet | — |
| Ubuntu 20.04 LTS | libtins | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | libtins | No fix yet | — |
References
- https://hackmd.io/@haindpwn/libtins-dns-name-parsing-oob-read third-party-advisory
- https://github.com/mfontanini/libtins/blob/v4.6/src/dns.cpp#L698-L710 technical-description
- https://github.com/mfontanini/libtins product
- VulnCheck Advisory: libtins through 4.6 Out-of-Bounds Read via DNS::soa_record::init third-party-advisory