Description
An issue was discovered in atftpd in atftp 0.7.1. A remote attacker may send a crafted packet triggering a stack-based buffer overflow due to an insecurely implemented strncpy call. The vulnerability is triggered by sending an error packet of 3 bytes or fewer. There are multiple instances of this vulnerable strncpy pattern within the code base, specifically within tftpd_file.c, tftp_file.c, tftpd_mtftp.c, and tftp_mtftp.c.
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 | atftp | 0.7.git20120829-3.1 | — |
| Debian 13 | atftp | 0.7.git20120829-3.1 | — |
| Debian 12 | atftp | 0.7.git20120829-3.1 | — |
| Debian 9 | atftp | 0.7.git20120829-3.1~deb9u1 | DSA-4438-1 |
| Debian 8 | atftp | 0.7.git20120829-1+deb8u1 | DLA-1783-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | atftp | 0.7.git20120829-3.1~0.18.04.1 | USN-4540-1 |
| Ubuntu 16.04 LTS | atftp | 0.7.git20120829-3.1~0.16.04.1 | USN-4643-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP4 | atftp | 0.7.0-160.8.1 | SUSE-SU-2019:1091-1 |
| SLES 12 SP3 | atftp | 0.7.0-160.8.1 | SUSE-SU-2019:1091-1 |
| SLES 12 SP2 | atftp | 0.7.0-160.8.1 | SUSE-SU-2019:1091-1 |
| SLES 12 SP1 | atftp | 0.7.0-160.8.1 | SUSE-SU-2019:1091-1 |
| SLES 12 | atftp | 0.7.0-160.8.1 | SUSE-SU-2019:1091-1 |
Show 8 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 11 SP4 | atftp | 0.7.0-135.23.3.1 | SUSE-SU-2019:14033-1 |
| SLES for SAP 12 SP4 | atftp | 0.7.0-160.8.1 | SUSE-SU-2019:1091-1 |
| SLES for SAP 12 SP3 | atftp | 0.7.0-160.8.1 | SUSE-SU-2019:1091-1 |
| SLES for SAP 12 SP2 | atftp | 0.7.0-160.8.1 | SUSE-SU-2019:1091-1 |
| SLES for SAP 12 SP1 | atftp | 0.7.0-160.8.1 | SUSE-SU-2019:1091-1 |
| SUSE OpenStack Cloud 7 | atftp | 0.7.0-160.8.1 | SUSE-SU-2019:1091-1 |
| SUSE Linux Enterprise Point of Sale 11 SP3 | atftp | 0.7.0-135.23.3.1 | SUSE-SU-2019:14033-1 |
| SUSE Enterprise Storage 4 | atftp | 0.7.0-160.8.1 | SUSE-SU-2019:1091-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | atftp | 0.7.5-1.1 | openSUSE-SU-2024:10636-1 |
Advisories 7
- DSA-4438-1 atftp - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1783-1 atftp - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-4643-1 atftp vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- USN-4540-1 atftp vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- SUSE-SU-2019:1091-1 Security update for atftp SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:14033-1 Security update for atftp SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10636-1 atftp-0.7.5-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://pulsesecurity.co.nz/advisories/atftpd-multiple-vulnerabilities
- https://sourceforge.net/p/atftp/code/ci/abed7d245d8e8bdfeab24f9f7f55a52c3140f96b/
- DSA-4438 vendor-advisory
- 20190508 [SECURITY] [DSA 4438-1] atftp security update mailing-list
- [debian-lts-announce] 20190512 [SECURITY] [DLA 1783-1] atftp security update mailing-list
- GLSA-202003-14 vendor-advisory
- USN-4540-1 vendor-advisory