Description
Stack-based buffer overflow in the receive_tcppacket function in net_packet.c in tinc before 1.0.21 and 1.1 before 1.1pre7 allows remote authenticated peers to cause a denial of service (crash) or possibly execute arbitrary code via a large TCP packet.
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 | tinc | 1.0.19-3 | — |
| Debian 13 | tinc | 1.0.19-3 | — |
| Debian 12 | tinc | 1.0.19-3 | — |
| Debian 6.0 | tinc | 1.0.13-1+squeeze1 | DSA-2663-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
Tincd Post-Authentication Remote TCP Stack Buffer Overflow
exploit/multi/vpn/tincd_bof
Exploit-DB 1
- Tincd - (Authenticated) Remote TCP Stack Buffer Overflow (Metasploit) EDB-35441 · remote · Dec 2, 2014 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- DSA-2663-1 tinc - stack based buffer overflow Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://github.com/gsliepen/tinc/commit/17a33dfd95b1a29e90db76414eb9622df9632320
- FEDORA-2013-7120 vendor-advisory
- [tinc] 20130422 [Announcement] Tinc version 1.0.21 and 1.1pre7 released mailing-list
- FEDORA-2013-7085 vendor-advisory
- http://www.tinc-vpn.org/news/
- 92653 vdb-entry
- 53087 third-party-advisory
- 53108 third-party-advisory
- DSA-2663 vendor-advisory
- 59369 vdb-entry
- FEDORA-2013-7128 vendor-advisory
- http://freecode.com/projects/tinc/releases/354122