CVE-2021-41054
tftpd_file.c in atftp through 0.7.4 has a buffer overflow because buffer-size handling does not...
tftpd_file.c in atftp through 0.7.4 has a buffer overflow because buffer-size handling does not properly consider the combination of data, OACK, and other options.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
tftpd_file.c in atftp through 0.7.4 has a buffer overflow because buffer-size handling does not properly consider the combination of data, OACK, and other options.
- Record
CVE-2021-41054- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-120
- Updated
- 2026-11-02
CVE List No score
tftpd_file.c in atftp through 0.7.4 has a buffer overflow because buffer-size handling does not properly consider the combination of data, OACK, and other options.
- Record
CVE-2021-41054- Updated
- 2026-11-02
EUVDEUVD-2021-28205 No score
tftpd_file.c in atftp through 0.7.4 has a buffer overflow because buffer-size handling does not properly consider the combination of data, OACK, and other options.
- Record
EUVD-2021-28205- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-pjhr-q582-mpq7 No score
tftpd_file.c in atftp through 0.7.4 has a buffer overflow because buffer-size handling does not...
tftpd_file.c in atftp through 0.7.4 has a buffer overflow because buffer-size handling does not properly consider the combination of data, OACK, and other options.
- Record
GHSA-pjhr-q582-mpq7- Weakness
- CWE-120
- Updated
- 2026-11-02
OSV
7.5
tftpd_file.c in atftp through 0.7.4 has a buffer overflow because buffer-size handling does not properly consider the combination of data, OACK, and other options.
- Record
CVE-2021-41054- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2021-41054
7.5
tftpd_file.c in atftp through 0.7.4 has a buffer overflow because buffer-size handling does not properly consider the combination of data, OACK, and other options.
- Record
DEBIAN-CVE-2021-41054- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 4 moreShow less
OSVUBUNTU-CVE-2021-41054
7.5
tftpd_file.c in atftp through 0.7.4 has a buffer overflow because buffer-size handling does not properly consider the combination of data, OACK, and other options.
- Record
UBUNTU-CVE-2021-41054- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10636-1 No score
atftp-0.7.5-1.1 on GA media
These are all security issues fixed in the atftp-0.7.5-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10636-1- Updated
- 2026-11-02
OSVSUSE-SU-2021:3237-1 No score
Security update for atftp
This update for atftp fixes the following issues:
- CVE-2021-41054: Fixed buffer overflow caused by combination of data, OACK, and other options (bsc#1190522).
- Record
SUSE-SU-2021:3237-1- Updated
- 2026-11-02
OSVUSN-6334-1 No score
atftp vulnerabilities
Peter Wang discovered that atftp did not properly manage certain inputs. A remote attacker could send a specially crafted tftp request to the server to cause a crash. (CVE-2020-6097)
Andreas B. Mundt discovered that atftp did not properly manage certain inputs. A remote attacker could send a specially crafted tftp request to the server to cause a crash. (CVE-2021-41054)
Johannes Krupp discovered that atftp did not properly manage certain inputs. A remote attacker could send a specially crafted tftp request to the server and make the server to disclose /etc/group data. (CVE-2021-46671)
- Record
USN-6334-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
atftpDebian:12 |
before 0.7.git20210915-1 | 0.7.git20210915-1 |
atftpDebian:13 |
before 0.7.git20210915-1 | 0.7.git20210915-1 |
atftpDebian:14 |
before 0.7.git20210915-1 | 0.7.git20210915-1 |
atftpDebian:9 From an advisory covering 2 CVEs |
before 0.7.git20120829-3.1~deb9u2, plus listed versions 0.7.git20120829-30.7.git20120829-3.1~deb9u1 |
0.7.git20120829-3.1~deb9u2 |
atftpSUSE:Linux Enterprise Server 12 SP5 |
before 0.7.0-160.11.1 | 0.7.0-160.11.1 |
atftpSUSE:Linux Enterprise Server for SAP Applications 12 SP5 |
before 0.7.0-160.11.1 | 0.7.0-160.11.1 |
atftpUbuntu:Pro:16.04:LTS |
before 0.7.git20120829-3.1~0.16.04.1+esm1, plus listed versions 0.7.git20120829-2.10.7.git20120829-3.1~0.16.04.1 |
0.7.git20120829-3.1~0.16.04.1+esm1 |
atftpUbuntu:Pro:18.04:LTS |
before 0.7.git20120829-3.1~0.18.04.1+esm1, plus listed versions 0.7.git20120829-30.7.git20120829-3.1~0.18.04.1 |
0.7.git20120829-3.1~0.18.04.1+esm1 |
atftpUbuntu:20.04:LTS |
before 0.7.git20120829-3.1ubuntu0.1, plus listed versions 0.7.git20120829-3.1 |
0.7.git20120829-3.1ubuntu0.1 |
atftpUbuntu:Pro:16.04:LTS From an advisory covering 3 CVEs |
before 0.7.git20120829-3.1~0.16.04.1+esm1, plus listed versions 0.7.git20120829-2.10.7.git20120829-3.1~0.16.04.1 |
0.7.git20120829-3.1~0.16.04.1+esm1 |
atftpUbuntu:Pro:18.04:LTS From an advisory covering 3 CVEs |
before 0.7.git20120829-3.1~0.18.04.1+esm1, plus listed versions 0.7.git20120829-30.7.git20120829-3.1~0.18.04.1 |
0.7.git20120829-3.1~0.18.04.1+esm1 |
atftpUbuntu:20.04:LTS From an advisory covering 3 CVEs |
before 0.7.git20120829-3.1ubuntu0.1, plus listed versions 0.7.git20120829-3.1 |
0.7.git20120829-3.1ubuntu0.1 |
atftpopenSUSE:Tumbleweed From an advisory covering 3 CVEs |
before 0.7.5-1.1 | 0.7.5-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-41054 is a high vulnerability (CVSS 7.5) in Atftp Project Atftp, published September 13, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.34%, the 83rd percentile. Fixed in atftp 0.7.git20210915-1.
References
sourceforge.net/p/atftp/code/ci/d255bf90834fb45be52decf9bc0b4fb46c90f205
github.com/nu11secur1ty/CVE-mitre/tree/main/CVE-2021-41054
lists.debian.org/debian-lts-announce/2021/11/msg00014.html
nvd.nist.gov/vuln/detail/CVE-2021-41054
github.com/advisories/GHSA-pjhr-q582-mpq7
security-tracker.debian.org/tracker/CVE-2021-41054
Show 10 moreShow less
suse.com/support/update/announcement/2021/suse-su-20213237-1
bugzilla.suse.com/1190522
suse.com/security/cve/CVE-2021-41054
ubuntu.com/security/CVE-2021-41054
ubuntu.com/security/notices/USN-6334-1
cve.org/CVERecord?id=CVE-2021-41054
ubuntu.com/security/CVE-2020-6097
ubuntu.com/security/CVE-2021-46671
suse.com/security/cve/CVE-2019-11365
suse.com/security/cve/CVE-2020-6097