Skip to main content
Mallory
MediumPublic exploitVulnerability

CVE-2023-48795: Terrapin

Published Dec 18, 2023 · Updated today
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS5.9Medium · v3.1
EPSS35.8%99th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendors
Red HatAsyncssh ProjectCrushftpGolangOryx-EmbeddedDebian ProjectDropbear ProjectErlang
IdentifiersCVE-2023-48795CWE-354 · Improper Validation of Integrity…
Also known asterrapin_attack

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.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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.

Public exploits

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.

View more in app →
Candidate exploits are awaiting analysis. View them in Mallory.
Exposure surface

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.

VendorProductType
9bisKittyapplication
Apache Software FoundationSshdapplication
Apache Software FoundationSshjapplication
AppleMacosoperating_system
Asyncssh ProjectAsyncsshapplication
BitviseSsh Clientapplication
BitviseSsh Serverapplication
ConnectbotSshlibapplication
CratesThrusshapplication
CrushftpCrushftpapplication
Debian ProjectDebian Linuxoperating_system
Dropbear ProjectDropbear Sshapplication
ErlangErlang/OTPapplication
Fedora ProjectFedoraoperating_system
Filezilla-ProjectFilezilla Clientapplication
FreebsdFreebsdoperating_system
GentooSecurityapplication
GolangCryptoapplication
JadaptiveMaverick Synergy Java Ssh Apiapplication
LANCOM SystemsLanconfigoperating_system
LANCOM SystemsLcosoperating_system
LANCOM SystemsLcos Fxoperating_system
LANCOM SystemsLcos Lxoperating_system
LANCOM SystemsLcos Sxoperating_system
LibsshLibsshapplication
Libssh2Libssh2application
MatezJschapplication
Net-SshNet-Sshapplication
NetgatePfsense Ceapplication
NetgatePfsense Plusapplication
NetsarangXshell 7application
OpenbsdOpensshapplication
Oryx-EmbeddedCyclone Sshapplication
PanicNovaapplication
PanicTransmit 5application
ParamikoParamikoapplication
ProftpdProftpdapplication
PuttyPuttyapplication
Red HatAdvanced Cluster Security for Kubernetesapplication
Red HatCeph Storageapplication
Red HatCert-Manager Operator For Red Hat Openshiftapplication
Red HatDiscoveryapplication
Red HatJboss Enterprise Application Platformapplication
Red HatKeycloakapplication
Red HatOpenshift Api For Data Protectionapplication
Red HatOpenshift Container Platformapplication
Red HatOpenshift Data Foundationapplication
Red HatOpenshift Dev Spacesapplication
Red HatOpenshift Developer Tools And Servicesapplication
Red HatOpenshift Gitopsapplication
Red HatOpenshift Pipelinesapplication
Red HatOpenshift Serverlessapplication
Red HatOpenshift Virtualizationapplication
Red HatOpenstack Platformapplication
Red HatRed Hat Enterprise Linuxoperating_system
Red HatSingle Sign-Onapplication
Red HatStorageapplication
RoumenpetrovPkixsshapplication
Russh ProjectRusshapplication
Sftpgo ProjectSftpgoapplication
SshSshapplication
Ssh2 ProjectSsh2application
Tera Term ProjectTera Termapplication
ThorntechSftp Gateway Firmwareoperating_system
TinysshTinysshapplication
TrileadSsh2application
VanDyke SoftwareSecurecrtapplication
WinscpWinscpapplication
FAQ

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.
Activity feed

Recent activity

106 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+72 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity6Community discussion across Reddit, Mastodon, and other social sources.