regreSSHion: OpenSSH Pre-Authentication Remote Code Execution
Signal race condition vulnerability in OpenSSH's server (sshd) on glibc-based Linux systems, allowing unauthenticated remote code execution as root.
CVSS v3.1 Vector Breakdown
Comprehensive attack metric decomposition according to FIRST specification
TechOverwatch AI Security Sentinel Analysis
Model: Gemini 2.0 Flash Security Sentinel · Generated: 2026-10-28
Executive Defense Summary
A resurrected regression in OpenSSH (hence regreSSHion) that re-introduced a critical signal-handler race condition from 2006. Enables remote root compromise of internet-exposed Linux systems.
Technical Root Cause Architecture
In OpenSSH 8.5p1, commit b98c080 accidentally removed an `#ifdef DO_LOG_SAFE_IN_SIGHAND` guard around the SIGALRM signal handler in `sigdie()`. Because `syslog()` invokes non-reentrant heap allocators, interrupted malloc operations corrupt the glibc chunk meta-structures, allowing precise heap shaping over hundreds of parallel connections.
Exploitation Scenario & Attack Chain
Exploitation involves winning a split-second race condition during connection timeout on 32-bit and 64-bit architectures by repeatedly flooding the target with parallel connections and manipulating heap alignment until the instruction pointer redirects to shellcode.
Enterprise Blast Radius & Lateral Risk
Direct unauthenticated root access to host operating system, full compromise of virtualization hosts, perimeter firewalls, and cloud bastion nodes.
Remediation & Defense Playbook
Immediate actionable steps for DevOps, SecOps, and Security Architects
Detection Guidance & Threat Hunting
Look for high volumes of closed SSH connections with 'Timeout before authentication for [IP]' in auth.log or secure syslog files.
Sigma Detection Rule (SIEM Export)
title: OpenSSH regreSSHion Exploitation Attempt
status: high
logsource:
product: linux
service: sshd
detection:
selection:
message|contains: 'Timeout before authentication for'
condition: selection | count() by src_ip > 50Affected Software & CPE Matrix
Targeted versions, patched releases, and Common Platform Enumerations
| Vendor | Product | Affected Versions | Fixed In |
|---|---|---|---|
| OpenBSD | OpenSSH | 8.5p1 up to but excluding 9.8p1 (also earlier versions 3.4p1) | OpenSSH 9.8p1 |
Official Advisories & Authoritative Sources
AI Agent & Security Automation Hub
TechOverwatch provides native machine-readable endpoints for autonomous agents, Cursor, Claude, ChatGPT, and automated patch scanners.