Back to Intelligence

CVE-2026-136614: GNU Inetutils talkd Stack Buffer Overflow DoS — Unpatched Zero-Day Mitigation and Detection Guide

SA
Security Arsenal Team
November 27, 2026
12 min read

The Zero Day Initiative has published ZDI-26-1043, disclosing a stack-based buffer overflow in the talkd daemon shipped with GNU Inetutils — tracked as CVE-2026-136614 with a CVSS 3.x score of 5.9 (Medium). The flaw allows a remote, unauthenticated attacker to trigger a denial-of-service condition against affected installations. Critically, this vulnerability is unpatched at the time of writing — ZDI coordinated with the vendor under its standard disclosure timeline and is publishing the advisory without an upstream fix available.

For most environments, the correct response to this advisory is not "wait for a patch" — it is "verify that talkd is not running anywhere, and disable it everywhere it is." The talk/talkd facility is a legacy UNIX inter-user messaging protocol dating to 4.2BSD-era networking (1980s). It listens on UDP/TCP port 518, has virtually no legitimate use case in modern enterprise Linux estates, and ships enabled on surprisingly few hardened builds — but it persists in default Inetutils installations, embedded images, container base layers, and legacy Unix hosts that were never hardened against obsolete services. Any internet-reachable or flat-network host running talkd is now carrying an unauthenticated DoS primitive with no vendor fix.

This post breaks down the vulnerability, the realistic exploitation model, how to hunt for exploitation attempts and vulnerable listeners across your fleet, and exact remediation steps you can execute today.

Technical Analysis

Affected Product and Platforms

  • Product: GNU Inetutils — the talkd (talk daemon) component
  • CVE: CVE-2026-136614 (ZDI advisory: ZDI-26-1043)
  • CVSS: 5.9 (network-reachable, unauthenticated; impact limited to availability — no confidentiality or integrity impact per the ZDI rating)
  • Affected platforms: Linux distributions and Unix-like systems that build/ship GNU Inetutils with talkd enabled, including source-built installs, minimal/embedded images, and legacy servers where the daemon was never disabled. talkd is typically invoked via inetd/xinetd or run standalone depending on the build configuration.

How the Vulnerability Works (Defender's Perspective)

The vulnerability is a stack-based buffer overflow in talkd's request handling. talkd implements the old ntalk protocol: a client sends a structured request (an CTL_MSG-style message containing usernames, terminal names, and address fields) to UDP port 518, and the daemon parses it to broker a talk session between users. In the vulnerable code path, attacker-controlled data from the network request is copied into a fixed-size stack buffer without adequate bounds validation. Supplying an over-long field in a crafted talk request overwrites the saved stack frame and crashes the daemon — the classic DoS outcome of a stack smash caught by __stack_chk_fail or by corrupting the return path.

Key exploitation characteristics defenders should internalize:

  • Pre-authentication: No credentials or session state are required. Any host that can reach UDP 518 on a target can send the trigger packet.
  • Single-shot or low-effort trigger: Stack overflows of this class are typically exploitable with one malformed datagram. There is no brute-force or race requirement — this is trivially scriptable and amenable to mass scanning.
  • Availability-only impact (as rated): ZDI scored this 5.9, consistent with a crash-only primitive. However, practitioners should note that a stack buffer overflow reached pre-authentication is always a candidate for later exploitation research; the fact that only DoS is demonstrated today does not reduce the case for removing the service entirely.
  • Service context matters for impact: If talkd runs under inetd/xinetd as a super-server-spawned process, a crash kills one child — noisy but self-healing. If it runs as a standalone daemon, the service stays down until restarted, and on legacy/embedded systems that may mean an operator intervention.

Exploitation Status

  • Patch status: Unpatched. No upstream GNU Inetutils release fixes this as of the advisory date. ZDI's policy is public disclosure after the coordination window expires, which is exactly the scenario here.
  • Public PoC: ZDI advisories of this class are frequently accompanied by or quickly followed by researcher proof-of-concepts. Even absent a public PoC, the trigger is a single crafted datagram — assume weaponization cost is near zero.
  • CISA KEV: Not listed in CISA's Known Exploited Vulnerabilities catalog at time of writing (KEV inclusion is uncommon for DoS-only Medium-severity CVEs).
  • Practical risk assessment: The dominant real-world risk is internet and internal network exposure of a service that should not be running at all. Shodan/Censys-style enumeration of UDP 518 plus trivial fuzzing gives any attacker a free DoS lever against unhardened hosts.

Detection & Response

Because there is no patch, detection strategy centers on two things: (1) finding vulnerable listeners (talkd bound to port 518) anywhere in your estate, and (2) detecting crash signatures and anomalous traffic to port 518 that indicate exploitation attempts. If talkd is present at all, it should be treated as a finding.

SIGMA Rules

YAML
---
title: GNU Inetutils talkd Crash Signature in System Logs
id: 9f2c4a71-5b6d-4e8f-a1b3-7c9d0e2f4a6b
status: experimental
description: Detects kernel/abrt/syslog crash and stack-protector signatures for the talkd daemon, consistent with exploitation of CVE-2026-136614 stack-based buffer overflow. A stack smashing or segfault event for talkd on a Linux host is a high-fidelity indicator of active exploitation attempts.
references:
  - http://www.zerodayinitiative.com/advisories/ZDI-26-1043/
author: Security Arsenal
date: 2026/01/15
tags:
  - attack.impact
  - attack.t1499
logsource:
  product: linux
  service: syslog
detection:
  selection_process:
    Message|contains:
      - 'talkd'
  selection_crash:
    Message|contains:
      - 'stack smashing detected'
      - 'segfault'
      - 'general protection fault'
      - 'core dumped'
      - 'SIGSEGV'
      - 'SIGABRT'
  condition: selection_process and selection_crash
falsepositives:
  - None expected under normal operation; talkd should not crash in legitimate use. Legitimate crashes still warrant service removal.
level: high
---
title: Network Connection to talkd Service Port 518
id: 3b8d1e62-7a4f-4c9d-b2e5-1f6a8c0d3e7f
status: experimental
description: Detects inbound network connections to UDP/TCP port 518 (talk/ntalk), the service affected by CVE-2026-136614. Modern enterprises have no legitimate ntalk traffic; any connection to this port is either a scanner, an exploitation attempt, or evidence of an obsolete service that must be disabled.
references:
  - http://www.zerodayinitiative.com/advisories/ZDI-26-1043/
author: Security Arsenal
date: 2026/01/15
tags:
  - attack.reconnaissance
  - attack.t1046
logsource:
  category: network_connection
detection:
  selection:
    DestinationPort: 518
  condition: selection
falsepositives:
  - None expected in modern environments; the ntalk protocol is obsolete. Treat all hits as actionable.
level: high
---
title: talkd Daemon Execution on Linux Hosts
id: 6d4e2f18-9c3b-4a7d-8e6f-2b5d9a1c4e83
status: experimental
description: Detects process start of the talkd daemon (standalone or spawned via inetd/xinetd), indicating presence of the CVE-2026-136614-vulnerable service. Use as an exposure-hunting rule across Linux process telemetry.
references:
  - http://www.zerodayinitiative.com/advisories/ZDI-26-1043/
author: Security Arsenal
date: 2026/01/15
tags:
  - attack.defense_evasion
logsource:
  product: linux
  category: process_creation
detection:
  selection_image:
    Image|endswith:
      - '/talkd'
      - '/in.talkd'
      - '/in.ntalkd'
  selection_parent:
    ParentImage|endswith:
      - '/inetd'
      - '/xinetd'
  condition: selection_image or (selection_parent and selection_image)
falsepositives:
  - None expected; talkd has no legitimate modern use case.
level: medium

KQL (Microsoft Sentinel / Defender)

The following queries assume Linux syslog ingestion into Sentinel (Syslog table) and/or firewall/Zenetwork data via CommonSecurityLog (CEF). The first hunts crash signatures; the second hunts exposure — any traffic to port 518.

KQL — Microsoft Sentinel / Defender
// Hunt 1: talkd crash signatures (CVE-2026-136614 exploitation attempts)
Syslog
| where TimeGenerated > ago(7d)
| where SyslogMessage has "talkd"
| where SyslogMessage has_any ("stack smashing detected", "segfault", "general protection fault", "core dumped", "SIGSEGV", "SIGABRT")
| project TimeGenerated, Computer, ProcessName, SyslogMessage, SeverityLevel
| order by TimeGenerated desc

// Hunt 2: Exposure sweep — any traffic to talkd port 518 across CEF-ingest firewall/NDR data
CommonSecurityLog
| where TimeGenerated > ago(7d)
| where DestinationPort == 518
| summarize Count = count(), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated)
    by SourceIP, DestinationIP, DestinationPort, DeviceVendor, DeviceProduct
| order by Count desc

// Hunt 3: talkd process inventory via Defender for Endpoint Linux telemetry
DeviceProcessEvents
| where Timestamp > ago(7d)
| where FileName has_any ("talkd", "in.talkd", "in.ntalkd")
| summarize Count = count(), FirstSeen = min(Timestamp), LastSeen = max(Timestamp)
    by DeviceName, FileName, ProcessCommandLine, InitiatingProcessFileName
| order by LastSeen desc

Velociraptor VQL

Use this artifact to sweep Linux endpoints for the vulnerable listener and any live talkd process. Deploy as a fleet-wide hunt; any row returned is a remediation target.

VQL — Velociraptor
-- CVE-2026-136614: Hunt for talkd listeners and processes (GNU Inetutils)
-- Any result = vulnerable exposure; talkd should not be present.

LET proc = SELECT Pid, Name, CommandLine, Exe, Username
  FROM pslist()
  WHERE Name =~ 'talkd' OR Exe =~ '/talkd'

LET nets = SELECT Pid, Name, Protocol, LocalAddr, LocalPort, State
  FROM netstat()
  WHERE LocalPort = 518 OR Name =~ 'talkd'

SELECT 'process' AS Artifact, Pid, Name, CommandLine AS Detail1, Exe AS Detail2, Username AS Detail3, '' AS LocalAddr, 0 AS LocalPort, '' AS State
FROM proc
UNION ALL
SELECT 'listener' AS Artifact, Pid, Name, '' AS Detail1, '' AS Detail2, '' AS Detail3, Protocol, LocalAddr, LocalPort, State
FROM nets

Remediation / Verification Script

Run this Bash audit-and-disable script (or its equivalent via your config management — Ansible/Salt/Puppet) across Linux fleets. It identifies talkd listeners, disables inetd/xinetd entries, removes talkd from service managers where standalone, and verifies port 518 is closed afterward.

Bash / Shell
#!/usr/bin/env bash
# CVE-2026-136614 mitigation: locate, disable, and verify removal of GNU Inetutils talkd
set -u

REPORT=()
log(){ REPORT+=("$1"); echo "$1"; }

# 1) Identify any process listening on port 518 (talk/ntalk)
log "=== Listeners on port 518 ==="
ss -lunp 2>/dev/null | grep -E ':518\b' || log "No UDP listeners on 518."
ss -ltnp 2>/dev/null | grep -E ':518\b' || log "No TCP listeners on 518."

# 2) Find running talkd processes
log "=== talkd processes ==="
pgrep -a -f 'talkd' && log "WARNING: talkd process found (see above)" || log "No talkd process running."

# 3) Disable inetd/xinetd entries (most common invocation path)
log "=== inetd/xinetd configuration ==="
if [ -f /etc/inetd.conf ]; then
  grep -Ei '^\s*[^#]*talk' /etc/inetd.conf && \
    sed -i.bak -E 's/^\s*([^#].*talk.*)/#DISABLED-CVE-2026-136614 \1/' /etc/inetd.conf && \
    log "inetd.conf: talk entries commented out (backup: /etc/inetd.conf.bak)"
fi
for f in /etc/xinetd.d/talk /etc/xinetd.d/ntalk; do
  if [ -f "$f" ]; then
    sed -i.bak -E 's/^\s*disable\s*=\s*no/disable = yes/' "$f" && \
      log "$f: set disable = yes (backup: $f.bak)"
  fi
done
[ -f /etc/inetd.conf ] && kill -HUP "$(pgrep -x inetd 2>/dev/null | head -1)" 2>/dev/null
[ -d /etc/xinetd.d ] && kill -HUP "$(pgrep -x xinetd 2>/dev/null | head -1)" 2>/dev/null

# 4) Kill any standalone talkd and block restart via systemd if a unit exists
if pgrep -x talkd >/dev/null 2>&1; then
  pkill -x talkd && log "Killed standalone talkd process."
fi
for unit in talkd ntalk; do
  if systemctl list-unit-files "${unit}.service" >/dev/null 2>&1 | grep -q "${unit}"; then
    systemctl stop "${unit}.service" 2>/dev/null
    systemctl disable "${unit}.service" 2>/dev/null
    systemctl mask "${unit}.service" 2>/dev/null && log "systemd unit ${unit}.service stopped/disabled/masked."
  fi
done

# 5) Post-change verification
log "=== Verification: port 518 after remediation ==="
if ss -lunp 2>/dev/null | grep -E ':518\b' || ss -ltnp 2>/dev/null | grep -E ':518\b'; then
  log "FAIL: port 518 still listening — investigate manually."
else
  log "PASS: no listener on port 518."
fi
pgrep -a -f 'talkd' >/dev/null 2>&1 && log "FAIL: talkd still running." || log "PASS: no talkd process."

# 6) Package-level exposure note (do NOT auto-remove on shared systems)
if command -v dpkg >/dev/null 2>&1; then
  dpkg -l | grep -i inetutils && log "NOTE: inetutils package installed — consider removal if unused."
fi
if command -v rpm >/dev/null 2>&1; then
  rpm -qa | grep -i inetutils && log "NOTE: inetutils package installed — consider removal if unused."
fi

Remediation

There is no patch to apply — compensating control is the remediation:

  1. Disable talkd everywhere (primary fix). talkd provides zero business value in 2026. Disable it via inetd/xinetd configuration, mask any systemd unit, and kill running instances per the script above. This eliminates CVE-2026-136614 exposure entirely and permanently — no patch dependency.
  2. Remove the package where feasible. If nothing on the host depends on GNU Inetutils (talk, talkd, legacy r*-tools, tftpd, etc.), remove the package rather than merely disabling the daemon — shrinking attack surface is better than configuring it down. On Debian/Ubuntu: apt-get remove inetutils-talkd / inetutils-*; on RHEL-family: dnf remove talk talk-server / inetutils. Validate dependencies before removal on shared systems.
  3. Network-layer compensating control: Where service removal is not immediately possible (legacy embedded, change-window constraints), block UDP/TCP 518 at the host firewall (nftables/iptables/firewalld) and at network boundaries. Note that talkd historically uses both UDP (announce/lookup on 518) and TCP for session brokering — block both.
    Bash / Shell

nftables: drop inbound talk/ntalk

nft add rule inet filter input udp dport 518 drop nft add rule inet filter input tcp dport 518 drop

iptables equivalent

iptables -A INPUT -p udp --dport 518 -j DROP iptables -A INPUT -p tcp --dport 518 -j DROP

Code
4. **Asset discovery sweep:** Enumerate your estate for the listener, not just for the package. Run the VQL hunt or an authenticated scan (Tenable/Qualys/Nexpose) checking UDP/TCP 518 open plus `talkd` in process lists. Prioritize internet-facing and DMZ hosts, then flat internal segments — internal lateral DoS is still on the table for an attacker who lands a foothold.
5. **Monitor for an upstream fix:** Track the ZDI advisory (http://www.zerodayinitiative.com/advisories/ZDI-26-1043/) and GNU Inetutils release channels. When a fixed version ships, treat upgrading as optional hygiene — the service should remain disabled regardless.
6. **Detect legacy-service drift as a class:** Add "obsolete Internet services" to your hardened baseline (CIS Controls / NIST CSF): talkd, rshd/rlogind/rexec (512-514), chargen/daytime/echo (19/13/7), fingerd (79), tftpd (69). The presence of any of these is a finding. CVE-2026-136614 is a reminder that forgotten daemons are permanent zero-day carriers.

No CISA KEV deadline applies (DoS-only Medium CVE, not KEV-listed). Internal SLA recommendation: disable talkd on internet-facing hosts within 24 hours; complete fleet-wide remediation within one patch cycle.

## Related Resources

[Security Arsenal Penetration Testing Services](https://securityarsenal.com/services/penetration-testing)
[AlertMonitor Platform](https://securityarsenal.com/products/alertmonitor)
[Book a SOC Assessment](https://securityarsenal.com/contact)
[vulnerability-management Intel Hub](https://securityarsenal.com/intel/incident-response)

Is your security operations ready?

Get a free SOC assessment or see how AlertMonitor cuts through alert noise with automated triage.