{"id":"CVE-2008-5161","aliases":["DEBIAN-CVE-2008-5161","EUVD-2008-5139","GHSA-c9pj-mwph-2xjm","RHSA-2009:1287"],"status":"published","title":"Error handling in the SSH protocol in (1) SSH Tectia Client and Server and Connector 4.0 through...","description":"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.","severity":{"version":"2.0","score":2.6,"vector":"AV:N/AC:H/Au:N/C:P/I:N/A:N","level":"low","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.18551,"percentile":0.97272,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-200","CWE-329"],"published":"2008-11-19T17:00:00Z","modified":"2026-10-23T18:01:51Z","exploits":[{"source":"metasploit","id":"auxiliary/scanner/ssh/ssh_version","title":"SSH Version Scanner","type":"auxiliary","verified":true,"url":"https://www.rapid7.com/db/modules/auxiliary/scanner/ssh/ssh_version"},{"source":"pocgithub","id":"talha3117/OpenSSH-4.7p1-CVE-2008-5161-Exploit","title":"talha3117/OpenSSH-4.7p1-CVE-2008-5161-Exploit","date":"2025-10-08","url":"https://github.com/talha3117/OpenSSH-4.7p1-CVE-2008-5161-Exploit"}],"fixes":[{"ecosystem":"Debian:12","package":"openssh","fixed_in":["1:5.1p1-5"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"openssh","fixed_in":["1:5.1p1-5"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"openssh","fixed_in":["1:5.1p1-5"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::client","package":"openssh","fixed_in":["0:4.3p2-36.el5"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::client","package":"openssh-askpass","fixed_in":["0:4.3p2-36.el5"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::client","package":"openssh-clients","fixed_in":["0:4.3p2-36.el5"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::client","package":"openssh-debuginfo","fixed_in":["0:4.3p2-36.el5"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::client","package":"openssh-server","fixed_in":["0:4.3p2-36.el5"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::server","package":"openssh","fixed_in":["0:4.3p2-36.el5"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::server","package":"openssh-askpass","fixed_in":["0:4.3p2-36.el5"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::server","package":"openssh-clients","fixed_in":["0:4.3p2-36.el5"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::server","package":"openssh-debuginfo","fixed_in":["0:4.3p2-36.el5"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:5::server","package":"openssh-server","fixed_in":["0:4.3p2-36.el5"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"openssh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:5.1p1-5"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"openssh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:5.1p1-5"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"openssh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:5.1p1-5"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"openssh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.3p2-36.el5"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"openssh-askpass","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.3p2-36.el5"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"openssh-clients","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.3p2-36.el5"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"openssh-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.3p2-36.el5"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"openssh-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.3p2-36.el5"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"openssh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.3p2-36.el5"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"openssh-askpass","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.3p2-36.el5"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"openssh-clients","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.3p2-36.el5"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"openssh-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.3p2-36.el5"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"openssh-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.3p2-36.el5"}]}]}],"products":[{"vendor":"openbsd","product":"openssh"},{"vendor":"ssh","product":"tectia_client"},{"vendor":"ssh","product":"tectia_connector"},{"vendor":"ssh","product":"tectia_connectsecure"},{"vendor":"ssh","product":"tectia_server"}],"references":[{"url":"http://openssh.org/txt/cbc.adv","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://sunsolve.sun.com/search/document.do?assetkey=1-66-247186-1","tags":["vendor-advisory","x_refsource_SUNALERT","x_transferred","web"]},{"url":"http://www.securityfocus.com/bid/32319","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"http://secunia.com/advisories/33121","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05157667","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://osvdb.org/49872","tags":["vdb-entry","x_refsource_OSVDB","x_transferred","web"]},{"url":"http://secunia.com/advisories/33308","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://rhn.redhat.com/errata/RHSA-2009-1287.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory"]},{"url":"http://www.cpni.gov.uk/Docs/Vulnerability_Advisory_SSH.txt","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"http://www.securitytracker.com/id?1021382","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","web"]},{"url":"https://kc.mcafee.com/corporate/index?page=content\u0026id=SB10163","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://osvdb.org/50036","tags":["vdb-entry","x_refsource_OSVDB","x_transferred","web"]},{"url":"http://secunia.com/advisories/32833","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/36558","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://osvdb.org/50035","tags":["vdb-entry","x_refsource_OSVDB","x_transferred","web"]},{"url":"http://www.ssh.com/company/news/article/953/","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.securitytracker.com/id?1021235","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","web"]},{"url":"http://secunia.com/advisories/34857","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://support.avaya.com/elmodocs2/security/ASA-2008-503.htm","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"http://support.attachmate.com/techdocs/2398.html","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://www.rtpro.yamaha.co.jp/RT/FAQ/Security/CPNI957037.html","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://www.vupen.com/english/advisories/2008/3173","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"http://www.securityfocus.com/archive/1/498579/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/46620","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://secunia.com/advisories/32740","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.vupen.com/english/advisories/2009/1135","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/32760","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.vupen.com/english/advisories/2009/3184","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"http://kb.juniper.net/InfoCenter/index?page=content\u0026id=JSA10705","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://www.securitytracker.com/id?1021236","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","web"]},{"url":"https://kc.mcafee.com/corporate/index?page=content\u0026id=SB10106","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://marc.info/?l=bugtraq\u0026m=125017764422557\u0026w=2","tags":["vendor-advisory","x_refsource_HP","x_transferred","web"]},{"url":"http://isc.sans.org/diary.html?storyid=5366","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"http://lists.apple.com/archives/security-announce/2009/Nov/msg00000.html","tags":["vendor-advisory","x_refsource_APPLE","x_transferred","web"]},{"url":"http://www.vupen.com/english/advisories/2008/3409","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"http://www.vupen.com/english/advisories/2008/3172","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11279","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred","web"]},{"url":"http://www.securityfocus.com/archive/1/498558/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"http://support.apple.com/kb/HT3937","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://www.kb.cert.org/vuls/id/958563","tags":["third-party-advisory","x_refsource_CERT-VN","x_transferred","US Government Resource","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-5161","tags":["advisory"]},{"url":"http://www.ssh.com/company/news/article/953"},{"url":"https://github.com/advisories/GHSA-c9pj-mwph-2xjm"},{"url":"https://security-tracker.debian.org/tracker/CVE-2008-5161","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2009:1287","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#low","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=440240","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=472068","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2009/rhsa-2009_1287.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2008-5161","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2008-5161","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2008-5161","description":"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.","status":"published","published":"2008-11-19T17:00:00Z","modified":"2026-05-28T18:11:36.859Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"low","assessor":"adp"}],"cwes":["CWE-329"],"updated_at":"2026-11-02T14:34:44.297409Z"}],"euvd":[{"id":"EUVD-2008-5139","description":"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.","status":"published","published":"2008-11-19T17:00:00Z","modified":"2026-05-28T18:11:36Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"low"}],"updated_at":"2026-11-02T18:21:02.186346Z"}],"ghsa":[{"id":"GHSA-c9pj-mwph-2xjm","title":"Error handling in the SSH protocol in (1) SSH Tectia Client and Server and Connector 4.0 through...","description":"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.","status":"published","published":"2022-05-14T02:40:42Z","modified":"2026-05-28T21:32:49Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"low"}],"cwes":["CWE-200","CWE-329"],"updated_at":"2026-11-02T15:08:22.24664Z"}],"nvd":[{"id":"CVE-2008-5161","description":"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.","status":"published","published":"2008-11-19T17:30:00.67Z","modified":"2026-06-16T22:59:22.107Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"low","assessor":"secondary"},{"version":"2.0","score":2.6,"vector":"AV:N/AC:H/Au:N/C:P/I:N/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-200","CWE-329"],"updated_at":"2026-11-02T14:01:29.702694Z"}],"osv":[{"id":"DEBIAN-CVE-2008-5161","description":"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.","status":"published","published":"2008-11-19T17:30:00.67Z","modified":"2026-10-23T18:01:51.453688917Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"low"}],"updated_at":"2026-11-02T15:45:23.742363Z"},{"id":"CVE-2008-5161","description":"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.","status":"published","published":"2008-11-19T17:30:00Z","modified":"2026-04-10T03:40:22.585846Z","updated_at":"2026-11-02T15:43:57.452479Z"},{"id":"RHSA-2009:1287","title":"Red Hat Security Advisory: openssh security, bug fix, and enhancement update","status":"published","published":"2024-09-15T17:53:55Z","modified":"2026-06-26T10:11:58Z","updated_at":"2026-11-02T15:53:00.468834Z"}]}}
