utility.c in telnetd in netkit telnet through 0.17 allows remote attackers to execute arbitrary code via short writes or urgent data, becaus
utility.c in telnetd in netkit telnet through 0.17 allows remote attackers to execute arbitrary code via short writes or urgent data, because of a buffer overflow involving the netclear and nextitem functions.
- Published
- Mar 6, 2020
- Updated
- Jun 16, 2026
- EPSS
- 74.3% · 99th percentile
- CWE
- CWE-120
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
61
This week
Don’t wait for the next maintenance window.
- CVSS
- 39 / 40 · 9.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 22 / 30 · 74.3%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| netkit telnet project | netkit telnet | cpe:2.3:a:netkit_telnet_project:netkit_telnet |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| arista | eos | cpe:2.3:o:arista:eos |
| oracle | communications performance intelligence center | cpe:2.3:a:oracle:communications_performance_intelligence_center |
| juniper | junos | cpe:2.3:o:juniper:junos |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- arista eosup to 4.20.15 inclusive
- arista eos4.23 and later · up to 4.23.3m inclusive
- arista eos4.22 and later · up to 4.22.4m inclusive
- arista eos4.21.0 and later · up to 4.21.10m inclusive
- arista eos4.24.0f
- debian debian linux8.0
- debian debian linux9.0
- fedoraproject fedora30
- fedoraproject fedora31
- fedoraproject fedora32
- juniper junos12.3
- juniper junos12.3r12
- juniper junos12.3x48
- juniper junos12.3x50
- juniper junos15.1
- juniper junos15.1x49
- juniper junos15.1x49-d140
- juniper junos15.1x49-d150
- juniper junos15.1x49-d160
- juniper junos15.1x49-d30
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | inetutils | before 2:1.9.4-12 | 2:1.9.4-12 |
| Debian:12 | netkit-telnet-ssl | before 0.17.17+0.1-2woody3 | 0.17.17+0.1-2woody3 |
| Debian:8 | inetutils | before 2:1.9.2.39.3a460-3+deb8u1 | 2:1.9.2.39.3a460-3+deb8u1 |
| Debian:9 | inetutils | before 2:1.9.4-2+deb9u1 | 2:1.9.4-2+deb9u1 |
| Red Hat:enterprise_linux:6::client | krb5-appl | before 0:1.0.1-10.el6_10 | 0:1.0.1-10.el6_10 |
| Red Hat:enterprise_linux:6::client | krb5-appl-servers | before 0:1.0.1-10.el6_10 | 0:1.0.1-10.el6_10 |
| Red Hat:enterprise_linux:6::client | telnet | before 1:0.17-49.el6_10 | 1:0.17-49.el6_10 |
| Red Hat:enterprise_linux:6::client | telnet-server | before 1:0.17-49.el6_10 | 1:0.17-49.el6_10 |
| Red Hat:enterprise_linux:7::client | telnet | before 1:0.17-65.el7_8 | 1:0.17-65.el7_8 |
| Red Hat:enterprise_linux:7::client | telnet-server | before 1:0.17-65.el7_8 | 1:0.17-65.el7_8 |
| Red Hat:enterprise_linux:8::appstream | telnet | before 1:0.17-73.el8_1.1 | 1:0.17-73.el8_1.1 |
| Red Hat:enterprise_linux:8::appstream | telnet-server | before 1:0.17-73.el8_1.1 | 1:0.17-73.el8_1.1 |
| Red Hat:rhel_aus:7.6::server | telnet | before 1:0.17-65.el7_6 | 1:0.17-65.el7_6 |
| Red Hat:rhel_aus:7.6::server | telnet-debuginfo | before 1:0.17-65.el7_6 | 1:0.17-65.el7_6 |
| Red Hat:rhel_aus:7.6::server | telnet-server | before 1:0.17-65.el7_6 | 1:0.17-65.el7_6 |
| Red Hat:rhel_aus:7.7::server | telnet | before 1:0.17-65.el7_7 | 1:0.17-65.el7_7 |
| Red Hat:rhel_aus:7.7::server | telnet-debuginfo | before 1:0.17-65.el7_7 | 1:0.17-65.el7_7 |
| Red Hat:rhel_aus:7.7::server | telnet-server | before 1:0.17-65.el7_7 | 1:0.17-65.el7_7 |
| Red Hat:rhel_e4s:8.0::appstream | telnet | before 1:0.17-73.el8_0.1 | 1:0.17-73.el8_0.1 |
| Red Hat:rhel_e4s:8.0::appstream | telnet-server | before 1:0.17-73.el8_0.1 | 1:0.17-73.el8_0.1 |
| SUSE:HPE Helion OpenStack 8 | krb5-appl | before 1.0.3-3.3.1 | 1.0.3-3.3.1 |
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Debian:inetutils | 2:1.9.4-12 · Debian:12 | Package registry (OSV) |
| Debian:netkit-telnet-ssl | 0.17.17+0.1-2woody3 · Debian:12 | Package registry (OSV) |
| Red Hat:krb5-appl | 0:1.0.1-10.el6_10 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| Red Hat:krb5-appl-servers | 0:1.0.1-10.el6_10 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| Red Hat:telnet | 1:0.17-73.el8_1.1 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| Red Hat:telnet-debuginfo | 1:0.17-65.el7_6 · Red Hat:rhel_aus:7.6::server | Package registry (OSV) |
| Red Hat:telnet-server | 1:0.17-73.el8_1.1 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| SUSE:krb5-appl | 1.0.3-3.3.1 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Root cause
When data is copied, the source length is not compared with the size of the destination buffer. Excess data overwrites adjacent memory.
The bug in code
The whole CWE-120 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
char buf[256];memcpy(buf, pkt->data, pkt->len);Fixed
char buf[256];if (pkt->len > sizeof(buf)) { return -EINVAL;}memcpy(buf, pkt->data, pkt->len);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Overflow BuffersCAPEC-100likelihood: High · Very High
- Client-side Injection-induced Buffer OverflowCAPEC-14likelihood: Medium · High
- Filter Failure through Buffer OverflowCAPEC-24likelihood: High · High
- MIME ConversionCAPEC-42likelihood: High · High
- Overflow Binary Resource FileCAPEC-44likelihood: High · Very High
- Buffer Overflow via Symbolic LinksCAPEC-45likelihood: High · High
- Overflow Variables and TagsCAPEC-46likelihood: High · High
ATT&CK techniques
—
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- appgateresearch.blogspot.com/2020/02/bravestarr-fedora-31-netkit-telnetd_28.html
- github.com/krb5/krb5-appl/blob/d00cd671dfe945791b33d4f1f6a5c57ae1667ef8/telnet/telnetd/utility.c#L205-L216
- lists.debian.org/debian-lts-announce/2020/05/msg00012.html
- lists.debian.org/debian-lts-announce/2020/08/msg00038.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7FMTRRQTYKWZD2GMXX3GLZV46OLPCLVK/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HLU6FL24BSQQEB2SJC26NLJ2MANQDA7M/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K3VJ6V2Z3JRNJOBVHSOPMAC76PSSKG6A/
- tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-telnetd-EFJrEzPx
- www.arista.com/en/support/advisories-notices/security-advisories/10702-security-advisory-48
- www.oracle.com/security-alerts/cpuApr2021.html
- www.openwall.com/lists/oss-security/2026/01/20/8
Vendor advisories and official records. Exploit/PoC links are deliberately left out.