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.
Published: 2026-10-06
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via out-of-bounds read
Action: Patch
AI Analysis

Impact

This vulnerability resides in the rewrite_string function of the tftpd remap code in tftp-hpa up through version 5.4. The function walks heap memory during jump table search, allowing an out‑of‑bounds read. Attacks that cause the kernel to read memory beyond a buffer can crash the forked in.tftpd request handler, potentially resulting in a denial of service. The weakness corresponds to CWE‑125, an out-of-bounds read.

Affected Systems

The affected product is tftp‑hpa, a standalone TFTP server implementation. Versions prior to 6.0, including 5.4 and earlier, are vulnerable. All deployments that enable remap jump rules and allow unauthenticated TFTP read or write requests to filenames that match those rules are at risk.

Risk and Exploitability

The CVSS score of 6.3 indicates medium severity, and the EPSS score is not available. The vulnerability is not listed in the CISA KEV catalog. Attackers can exploit this remotely by sending specially crafted filename requests without prior authentication. The attack does not grant code execution or data disclosure, but it can destabilize the TFTP service by crashing the request handler, which could lead to service interruption for clients relying on TFTP. Given its medium score and lack of known exploits, monitoring for anomalous TFTP traffic and applying available patches remains prudent.

Generated by OpenCVE AI on October 6, 2026 at 18:32 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to tftp-hpa 6.0 or later to eliminate the rewrite_string flaw.
  • If upgrading immediately is not feasible, apply the upstream patch referenced in commit 6735086fb6475c3e1f1daf9829836b3d06f14291 to correct the out-of-bounds read.
  • If the patch cannot be applied, disable or remove remap jump rules that may trigger the vulnerable code path to prevent denial of service attempts.

Generated by OpenCVE AI on October 6, 2026 at 18:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 06 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 06 Oct 2026 13:45:00 +0000

Type Values Removed Values Added
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.
Title tftp-hpa 5.4 before 6.0 Out-of-Bounds Read via tftpd Remap Jump Rule
First Time appeared Tftp-hpa Project
Tftp-hpa Project tftp-hpa
Weaknesses CWE-125
CPEs cpe:2.3:a:tftp-hpa_project:tftp-hpa:*:*:*:*:*:*:*:*
Vendors & Products Tftp-hpa Project
Tftp-hpa Project tftp-hpa
References
Metrics cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L'}

cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N'}


Subscriptions

Tftp-hpa Project Tftp-hpa
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-06T17:15:34.212Z

Reserved: 2026-10-06T13:13:19.964Z

Link: CVE-2026-106026

cve-icon Vulnrichment

Updated: 2026-10-06T17:15:30.906Z

cve-icon NVD

Status : Deferred

Published: 2026-10-06T14:17:42.083

Modified: 2026-10-06T18:16:50.933

Link: CVE-2026-106026

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-07T07:00:12Z

Weaknesses