CVE-2008-5161
Error handling in the SSH protocol in (1) SSH Tectia Client and Server and Connector 4.0 through...
Error handling in the SSH protocol in (1) SSH Tectia Client and Server and Connector 4.0 through 4.4.11, 5.0 through 5.2.4, and 5.3 through 5.3.8; Client and Server and ConnectSecure 6.0 through 6.0.4; Server for Linux on IBM System z 6.0.4; Server for IBM z/OS 5.5.1 and earlier, 6.0.0, and 6.0.1; and Client 4.0-J through 4.3.3-J and 4.0-K through 4.3.10-K; and (2) OpenSSH 4.7p1 and possibly other versions, when using a block cipher algorithm in Cipher Block Chaining (CBC) mode, makes it easier for remote attackers to recover certain plaintext data from an arbitrary block of ciphertext in an SSH session via unknown vectors.
Exploit likelihood
What each source reports
CVE List
3.7
Error handling in the SSH protocol in (1) SSH Tectia Client and Server and Connector 4.0 through 4.4.11, 5.0 through 5.2.4, and 5.3 through 5.3.8; Client and Server and ConnectSecure 6.0 through 6.0.4; Server for Linux on IBM System z 6.0.4; Server for IBM z/OS 5.5.1 and earlier, 6.0.0, and 6.0.1; and Client 4.0-J through 4.3.3-J and 4.0-K through 4.3.10-K; and (2) OpenSSH 4.7p1 and possibly other versions, when using a block cipher algorithm in Cipher Block Chaining (CBC) mode, makes it easier for remote attackers to recover certain plaintext data from an arbitrary block of ciphertext in an SSH session via unknown vectors.
- Record
CVE-2008-5161- CVSS 3.1
- 3.7 Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-329
- Updated
- 2026-11-02
EUVDEUVD-2008-5139
3.7
Error handling in the SSH protocol in (1) SSH Tectia Client and Server and Connector 4.0 through 4.4.11, 5.0 through 5.2.4, and 5.3 through 5.3.8; Client and Server and ConnectSecure 6.0 through 6.0.4; Server for Linux on IBM System z 6.0.4; Server for IBM z/OS 5.5.1 and earlier, 6.0.0, and 6.0.1; and Client 4.0-J through 4.3.3-J and 4.0-K through 4.3.10-K; and (2) OpenSSH 4.7p1 and possibly other versions, when using a block cipher algorithm in Cipher Block Chaining (CBC) mode, makes it easier for remote attackers to recover certain plaintext data from an arbitrary block of ciphertext in an SSH session via unknown vectors.
- Record
EUVD-2008-5139- CVSS 3.1
- 3.7 Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-c9pj-mwph-2xjm
3.7
Error handling in the SSH protocol in (1) SSH Tectia Client and Server and Connector 4.0 through...
Error handling in the SSH protocol in (1) SSH Tectia Client and Server and Connector 4.0 through 4.4.11, 5.0 through 5.2.4, and 5.3 through 5.3.8; Client and Server and ConnectSecure 6.0 through 6.0.4; Server for Linux on IBM System z 6.0.4; Server for IBM z/OS 5.5.1 and earlier, 6.0.0, and 6.0.1; and Client 4.0-J through 4.3.3-J and 4.0-K through 4.3.10-K; and (2) OpenSSH 4.7p1 and possibly other versions, when using a block cipher algorithm in Cipher Block Chaining (CBC) mode, makes it easier for remote attackers to recover certain plaintext data from an arbitrary block of ciphertext in an SSH session via unknown vectors.
- Record
GHSA-c9pj-mwph-2xjm- CVSS 3.1
- 3.7 Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-200, CWE-329
- Updated
- 2026-11-02
NVD
3.7
Error handling in the SSH protocol in (1) SSH Tectia Client and Server and Connector 4.0 through 4.4.11, 5.0 through 5.2.4, and 5.3 through 5.3.8; Client and Server and ConnectSecure 6.0 through 6.0.4; Server for Linux on IBM System z 6.0.4; Server for IBM z/OS 5.5.1 and earlier, 6.0.0, and 6.0.1; and Client 4.0-J through 4.3.3-J and 4.0-K through 4.3.10-K; and (2) OpenSSH 4.7p1 and possibly other versions, when using a block cipher algorithm in Cipher Block Chaining (CBC) mode, makes it easier for remote attackers to recover certain plaintext data from an arbitrary block of ciphertext in an SSH session via unknown vectors.
- Record
CVE-2008-5161- CVSS 3.1
- 3.7 Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N - CVSS 2.0
- 2.6 Low
AV:N/AC:H/Au:N/C:P/I:N/A:N - Weakness
- CWE-200, CWE-329
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2008-5161
3.7
Error handling in the SSH protocol in (1) SSH Tectia Client and Server and Connector 4.0 through 4.4.11, 5.0 through 5.2.4, and 5.3 through 5.3.8; Client and Server and ConnectSecure 6.0 through 6.0.4; Server for Linux on IBM System z 6.0.4; Server for IBM z/OS 5.5.1 and earlier, 6.0.0, and 6.0.1; and Client 4.0-J through 4.3.3-J and 4.0-K through 4.3.10-K; and (2) OpenSSH 4.7p1 and possibly other versions, when using a block cipher algorithm in Cipher Block Chaining (CBC) mode, makes it easier for remote attackers to recover certain plaintext data from an arbitrary block of ciphertext in an SSH session via unknown vectors.
- Record
DEBIAN-CVE-2008-5161- CVSS 3.1
- 3.7 Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
OSV No score
Error handling in the SSH protocol in (1) SSH Tectia Client and Server and Connector 4.0 through 4.4.11, 5.0 through 5.2.4, and 5.3 through 5.3.8; Client and Server and ConnectSecure 6.0 through 6.0.4; Server for Linux on IBM System z 6.0.4; Server for IBM z/OS 5.5.1 and earlier, 6.0.0, and 6.0.1; and Client 4.0-J through 4.3.3-J and 4.0-K through 4.3.10-K; and (2) OpenSSH 4.7p1 and possibly other versions, when using a block cipher algorithm in Cipher Block Chaining (CBC) mode, makes it easier for remote attackers to recover certain plaintext data from an arbitrary block of ciphertext in an SSH session via unknown vectors.
- Record
CVE-2008-5161- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
opensshDebian:12 |
before 1:5.1p1-5 | 1:5.1p1-5 |
opensshDebian:13 |
before 1:5.1p1-5 | 1:5.1p1-5 |
opensshDebian:14 |
before 1:5.1p1-5 | 1:5.1p1-5 |
opensshRed Hat:enterprise_linux:5::client |
before 0:4.3p2-36.el5 | 0:4.3p2-36.el5 |
openssh-askpassRed Hat:enterprise_linux:5::client |
before 0:4.3p2-36.el5 | 0:4.3p2-36.el5 |
openssh-clientsRed Hat:enterprise_linux:5::client |
before 0:4.3p2-36.el5 | 0:4.3p2-36.el5 |
openssh-debuginfoRed Hat:enterprise_linux:5::client |
before 0:4.3p2-36.el5 | 0:4.3p2-36.el5 |
openssh-serverRed Hat:enterprise_linux:5::client |
before 0:4.3p2-36.el5 | 0:4.3p2-36.el5 |
opensshRed Hat:enterprise_linux:5::server |
before 0:4.3p2-36.el5 | 0:4.3p2-36.el5 |
openssh-askpassRed Hat:enterprise_linux:5::server |
before 0:4.3p2-36.el5 | 0:4.3p2-36.el5 |
openssh-clientsRed Hat:enterprise_linux:5::server |
before 0:4.3p2-36.el5 | 0:4.3p2-36.el5 |
openssh-debuginfoRed Hat:enterprise_linux:5::server |
before 0:4.3p2-36.el5 | 0:4.3p2-36.el5 |
openssh-serverRed Hat:enterprise_linux:5::server |
before 0:4.3p2-36.el5 | 0:4.3p2-36.el5 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Metasploit | SSH Version Scanner | |
| PoC in GitHub | talha3117/OpenSSH-4.7p1-CVE-2008-5161-Exploit | 2025-10-08 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, Metasploit, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2008-5161 is a low vulnerability (CVSS 2.6) in Openbsd Openssh, published November 19, 2008. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 18.6%, the 97th percentile. Fixed in openssh 1:5.1p1-5.
References
openssh.org/txt/cbc.adv
sunsolve.sun.com/search/document.do?assetkey=1-66-247186-1
securityfocus.com/bid/32319
secunia.com/advisories/33121
h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05157667
osvdb.org/49872
Show 44 moreShow less
secunia.com/advisories/33308
rhn.redhat.com/errata/RHSA-2009-1287.html
cpni.gov.uk/Docs/Vulnerability_Advisory_SSH.txt
securitytracker.com/id?1021382
kc.mcafee.com/corporate/index?page=content&id=SB10163
osvdb.org/50036
secunia.com/advisories/32833
secunia.com/advisories/36558
osvdb.org/50035
ssh.com/company/news/article/953
securitytracker.com/id?1021235
secunia.com/advisories/34857
support.avaya.com/elmodocs2/security/ASA-2008-503.htm
support.attachmate.com/techdocs/2398.html
rtpro.yamaha.co.jp/RT/FAQ/Security/CPNI957037.html
vupen.com/english/advisories/2008/3173
securityfocus.com/archive/1/498579/100/0/threaded
exchange.xforce.ibmcloud.com/vulnerabilities/46620
secunia.com/advisories/32740
vupen.com/english/advisories/2009/1135
secunia.com/advisories/32760
vupen.com/english/advisories/2009/3184
kb.juniper.net/InfoCenter/index?page=content&id=JSA10705
securitytracker.com/id?1021236
kc.mcafee.com/corporate/index?page=content&id=SB10106
marc.info?l=bugtraq&m=125017764422557&w=2
isc.sans.org/diary.html?storyid=5366
lists.apple.com/archives/security-announce/2009/Nov/msg00000.html
vupen.com/english/advisories/2008/3409
vupen.com/english/advisories/2008/3172
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11279
securityfocus.com/archive/1/498558/100/0/threaded
support.apple.com/kb/HT3937
kb.cert.org/vuls/id/958563
nvd.nist.gov/vuln/detail/CVE-2008-5161
github.com/advisories/GHSA-c9pj-mwph-2xjm
security-tracker.debian.org/tracker/CVE-2008-5161
access.redhat.com/errata/RHSA-2009:1287
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=440240
bugzilla.redhat.com/show_bug.cgi?id=472068
security.access.redhat.com/data/csaf/v2/advisories/2009/rhsa-2009_1287.json
access.redhat.com/security/cve/CVE-2008-5161
cve.org/CVERecord?id=CVE-2008-5161