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.
Metrics
CVSS 3.0 9.8/10
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://lists.debian.org/debian-lts-announce/2019/05/msg00012.html
- https://pulsesecurity.co.nz/advisories/atftpd-multiple-vulnerabilitiesExploit, Third Party Advisory
- https://seclists.org/bugtraq/2019/May/16
- https://security.gentoo.org/glsa/202003-14
- https://sourceforge.net/p/atftp/code/ci/abed7d245d8e8bdfeab24f9f7f55a52c3140f96b/Patch, Third Party Advisory
- https://usn.ubuntu.com/4540-1/
- https://www.debian.org/security/2019/dsa-4438
- https://lists.debian.org/debian-lts-announce/2019/05/msg00012.html
- https://pulsesecurity.co.nz/advisories/atftpd-multiple-vulnerabilitiesExploit, Third Party Advisory
- https://seclists.org/bugtraq/2019/May/16
- https://security.gentoo.org/glsa/202003-14
- https://sourceforge.net/p/atftp/code/ci/abed7d245d8e8bdfeab24f9f7f55a52c3140f96b/Patch, Third Party Advisory
- https://usn.ubuntu.com/4540-1/
- https://www.debian.org/security/2019/dsa-4438
Timeline
- Published
- Apr 20, 2019
- Last modified
- Jun 17, 2026
- NVD status
- Modified