CVE-2026-81416
Description
A flaw was found in Nmap. A malicious server scanned by Nmap can trigger a Denial of Service (DoS) by returning a specially crafted screen-write response containing a malformed Repeat to Address (RA) instruction. When the tn3270 script library processes this response, it enters an infinite loop, causing Nmap to hang indefinitely and consume excessive CPU resources.
Statement
This vulnerability is rated Moderate for Red Hat enterprise environments because Nmap operates as a short-lived administrative client utility rather than an always-listening daemon, restricting potential impact to the denial of service of an active scan. Successful exploitation requires an administrator or automated scanning process to probe an adversarial TN3270 service while explicitly enabling script scanning capabilities. The flaw only exhausts CPU resources on the local scanning client during script execution and cannot lead to unauthorized code execution or privilege escalation.
Mitigation
Avoid running the TN3270 screen enumeration script against untrusted or unknown targets. When executing automated or broad script scans, explicitly exclude the affected script using the script selection argument:
bash
nmap --script "default and not tn3270-screen" <target>
Alternatively, omit NSE script execution flags (`-sC`, `-A`, or `--script`) when scanning untrusted network segments.
Caveat: Excluding this script prevents the automated detection and capture of TN3270 terminal screens during scans. As Nmap is a client utility, no service restarts are required.
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
The following CVSS metrics and score provided are preliminary and subject to review.
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 5.3 | N/A | 5.3 |
| Attack Vector | Network | N/A | Network |
| Attack Complexity | High | N/A | High |
| Privileges Required | None | N/A | None |
| User Interaction | Required | N/A | Required |
| Scope | Unchanged | N/A | Unchanged |
| Confidentiality | None | N/A | None |
| Integrity Impact | None | N/A | None |
| Availability Impact | High | N/A | High |
Vector
Red Hat: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
cve.org: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
Understanding the Weakness (CWE)
Availability
Technical Impact: DoS: Resource Consumption (CPU); DoS: Resource Consumption (Memory); DoS: Amplification
An infinite loop will cause unexpected consumption of resources, such as CPU cycles or memory. The software's operation may slow down, or cause a long time to respond.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.