CVE-2023-48795: Terrapin
- Vendors
- Red HatAsyncssh ProjectCrushftpGolangOryx-EmbeddedDebian ProjectDropbear ProjectErlang
Terrapin is an SSH Binary Packet Protocol prefix-truncation vulnerability affecting OpenSSH before 9.6 and numerous other SSH implementations. Incorrect handshake and sequence-number handling allows an active man-in-the-middle attacker to manipulate sequence numbers and remove initial encrypted packets without triggering integrity-check failures. Practical attacks affect connections using ChaCha20-Poly1305 or CBC ciphers combined with Encrypt-then-MAC. Removing extension-negotiation messages can cause clients and servers to establish connections with security features downgraded or disabled.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation compromises SSH transport integrity by silently removing initial encrypted messages. Stripping extension-negotiation messages can weaken authentication algorithm negotiation or disable protections such as keystroke-timing countermeasures, depending on the implementation and version. The vulnerability does not by itself establish arbitrary code execution, unrestricted session decryption, or authentication bypass; additional consequences depend on the affected implementation and other weaknesses.
Mitigation
If you can’t patch tonight, do this now.
Until updates are deployed, disable ChaCha20-Poly1305 and prevent CBC ciphers from being negotiated with Encrypt-then-MAC; prefer unaffected alternatives such as AES-GCM. Apply algorithm restrictions to SSH clients and servers as supported by each implementation. Where SSH management is unnecessary, disable it and use a vendor-supported alternative management interface. For affected Jenkins CLI deployments, avoid SSH connection mode until patched.
Remediation
Patch, then assume compromise.
Update affected SSH clients and servers to vendor-fixed releases or supported packages containing backported fixes. Fixed releases include OpenSSH 9.6, PuTTY 0.80, AsyncSSH 2.14.2, golang.org/x/crypto 0.17.0, libssh 0.10.6, Paramiko 3.4.0, and Russh 0.40.2. Ensure both endpoints support and negotiate the strict key-exchange countermeasure. Update embedded SSH libraries and dependent products using their vendor security updates, and restart applications using updated libraries where required.
Exploits
No validated public exploits yet. Hidden: 6 rejected by Mallory's analysis as not a working exploit; 2 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2023-48795 exploited in the wild?
- As of Nov 28, 2026, Mallory has no reports of CVE-2023-48795 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2023-48795?
- Yes. As of Nov 28, 2026, Mallory has reports of a public exploit for CVE-2023-48795.
- Is there a patch for CVE-2023-48795?
- Update affected SSH clients and servers to vendor-fixed releases or supported packages containing backported fixes. Fixed releases include OpenSSH 9.6, PuTTY 0.80, AsyncSSH 2.14.2, golang.org/x/crypto 0.17.0, libssh 0.10.6, Paramiko 3.4.0, and Russh 0.40.2.
- What products are affected by CVE-2023-48795?
- Ssh, Openbsd Openssh, Gentoo Security, Red Hat Advanced Cluster Security for Kubernetes, Asyncssh Project Asyncssh, and at least 63 more.
- How severe is CVE-2023-48795?
- CVE-2023-48795 has a CVSS v3.1 score of 5.9 (Medium) and an EPSS score of 35.8% (99th percentile) as of Nov 28, 2026.
Recent activity
106 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.