Description
tftp-hpa 5.4 before 6.0 contains an out-of-bounds read vulnerability in rewrite_string() in tftpd/remap.c that walks heap memory during jump label searches. Unauthenticated remote attackers can send read or write requests whose filename matches a remap jump rule to crash the forked in.tftpd request handler.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| H. Peter Anvin | tftp-hpa | 5.4 – < 6.0 | 6.0 |
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 | tftp-hpa | 7.1-1 | — |
| Debian 13 | tftp-hpa | No fix yet | — |
| Debian 12 | tftp-hpa | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | tftp-hpa | No fix yet | — |
| Ubuntu 26.04 LTS | tftp-hpa | No fix yet | — |
| Ubuntu 24.04 LTS | tftp-hpa | No fix yet | — |
| Ubuntu 22.04 LTS | tftp-hpa | No fix yet | — |
| Ubuntu 20.04 LTS | tftp-hpa | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | tftp-hpa | No fix yet | — |
| Ubuntu 16.04 LTS | tftp-hpa | No fix yet | — |
| Ubuntu 14.04 LTS | tftp-hpa | No fix yet | — |
References
- Patch Commit patch
- Vulnerable label search in rewrite_string() (tftp-hpa 5.4) technical-description
- https://git.kernel.org/pub/scm/network/tftp/tftp-hpa.git/ product
- VulnCheck Advisory: tftp-hpa 5.4 before 6.0 Out-of-Bounds Read via tftpd Remap Jump Rule third-party-advisory