CVE-2026-85234
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Summary
A flaw was found in tftp-hpa. When the in.tftpd remap engine processes an inverse remap rule that also aborts with a non-empty custom error message, it can pass invalid match offsets to the genmatchstring() function. This leads to out-of-bounds read/write operations. A remote, unauthenticated attacker can exploit this vulnerability by sending a specially crafted request, causing the daemon to crash and resulting in a denial of service.
Affected Software
| Vendor | Product | Version Range | Status |
|---|
Weaknesses
- CWE-125: Out-of-bounds Read
Workarounds
To mitigate this issue, avoid enabling filename remapping with the m/-map-file option for the in.tftpd service unless strictly necessary. If filename remapping is required, ensure that any inverse (~) and abort (a) rules in the remap file do not include a non-empty custom error message. Changes to the in.tftpd configuration may require restarting the service to take effect.
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: yes
- Technical Impact: partial
References
- https://access.redhat.com/security/cve/CVE-2026-85234
- https://bugzilla.redhat.com/show_bug.cgi?id=2460997
- https://git.kernel.org/pub/scm/network/tftp/tftp-hpa.git/commit/?id=4b493532f5ce052a1c124acd0661233ec7918327
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.