Description
An issue was discovered in function _libssh2_packet_add in libssh2 1.10.0 allows attackers to access out of bounds memory.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libssh2 | 1.10.0-2 | — |
| Debian 13 | libssh2 | 1.10.0-2 | — |
| Debian 12 | libssh2 | 1.10.0-2 | — |
| Debian 10 | libssh2 | 1.8.0-2.1+deb10u1 | DLA-3559-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | libssh2 | 1.8.0-2.1ubuntu0.1 | USN-6371-1 |
| Ubuntu 18.04 LTS | libssh2 | 1.8.0-1ubuntu0.1 | USN-6371-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | libssh2 | 1.5.0-2ubuntu0.1+esm2 | USN-6371-1 |
| Ubuntu Pro 14.04 LTS | libssh2 | 1.4.3-2ubuntu0.2+esm3 | USN-6371-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | libssh2 +2 | 1.8.0-4.el7_9.1 | RHSA-2023:5615 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | libssh2_org | 1.9.0-150000.4.16.1 | SUSE-SU-2023:3555-1 |
| SLES 15 SP4 | libssh2_org | 1.9.0-150000.4.16.1 | SUSE-SU-2023:3555-1 |
| SLES 15 SP3 | libssh2_org | 1.9.0-150000.4.16.1 | SUSE-SU-2023:3555-1 |
| SLES 15 SP2 | libssh2_org | 1.9.0-150000.4.16.1 | SUSE-SU-2023:3555-1 |
| SLES 15 SP1 | libssh2_org | 1.9.0-150000.4.16.1 | SUSE-SU-2023:3555-1 |
Show 16 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP5 | libssh2_org | 1.4.3-26.5.1 | SUSE-SU-2023:3738-1 |
| SLES for SAP 15 SP3 | libssh2_org | 1.9.0-150000.4.16.1 | SUSE-SU-2023:3555-1 |
| SLES for SAP 15 SP2 | libssh2_org | 1.9.0-150000.4.16.1 | SUSE-SU-2023:3555-1 |
| SLES for SAP 15 SP1 | libssh2_org | 1.9.0-150000.4.16.1 | SUSE-SU-2023:3555-1 |
| SLES for SAP 12 SP5 | libssh2_org | 1.4.3-26.5.1 | SUSE-SU-2023:3738-1 |
| SLE Micro 5.4 | libssh2_org | 1.9.0-150000.4.16.1 | SUSE-SU-2023:3555-1 |
| SLE Micro 5.3 | libssh2_org | 1.9.0-150000.4.16.1 | SUSE-SU-2023:3555-1 |
| SLE Micro 5.2 | libssh2_org | 1.9.0-150000.4.16.1 | SUSE-SU-2023:3555-1 |
| SLE Micro 5.1 | libssh2_org | 1.9.0-150000.4.16.1 | SUSE-SU-2023:3555-1 |
| SLE HPC 15 SP3 | libssh2_org | 1.9.0-150000.4.16.1 | SUSE-SU-2023:3555-1 |
| SLE HPC 15 SP2 | libssh2_org | 1.9.0-150000.4.16.1 | SUSE-SU-2023:3555-1 |
| SLE HPC 15 SP1 | libssh2_org | 1.9.0-150000.4.16.1 | SUSE-SU-2023:3555-1 |
| SUSE Manager Server 4.2 | libssh2_org | 1.9.0-150000.4.16.1 | SUSE-SU-2023:3555-1 |
| SUSE Manager Proxy 4.2 | libssh2_org | 1.9.0-150000.4.16.1 | SUSE-SU-2023:3555-1 |
| SUSE Enterprise Storage 7.1 | libssh2_org | 1.9.0-150000.4.16.1 | SUSE-SU-2023:3555-1 |
| SUSE Enterprise Storage 7 | libssh2_org | 1.9.0-150000.4.16.1 | SUSE-SU-2023:3555-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.5 | libssh2_org | 1.9.0-150000.4.16.1 | SUSE-SU-2023:3555-1 |
| openSUSE Leap 15.4 | libssh2_org | 1.9.0-150000.4.16.1 | SUSE-SU-2023:3555-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | libssh2 +2 | 1.4.3-12.amzn2.2.6 | ALAS2-2023-2257 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | libssh2 | 1.9.0-3 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | libssh2 +2 | 1.8.0-4.el7_9.1 | ELSA-2023-5615 |
Advisories 15
- RHSA-2023:5615 Red Hat Security Advisory: libssh2 security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- SSA-398330 SSA-398330: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP >= V3.1.0 and < V3.1.5 Siemens ProductCERT · Oct 13, 2026
- WID-SEC-2025-0166 Oracle PeopleSoft: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 11, 2026
- USN-6371-1 libssh2 vulnerability Ubuntu Security Notices (USN) · Jun 29, 2026
- DLA-3559-1 libssh2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2023:3738-1 Security update for libssh2_org SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:3555-1 Security update for libssh2_org SUSE / openSUSE Security Updates · Feb 4, 2026
- ICSA-23-348-10 Siemens SIMATIC S7-1500 CISA ICS & IT advisories · Aug 12, 2025
- ICSA-25-105-08 ABB M2M Gateway CISA ICS & IT advisories · Apr 7, 2025
- 2NGA002579 ABB Arctic communication solution ARM600 Vulnerabilities ABB PSIRT · Apr 7, 2025
- NCSC-2025-0023 Kwetsbaarheden verholpen in Oracle PeopleSoft NCSC-NL (Netherlands) · Jan 22, 2025
- WID-SEC-2023-2177 libssh2: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Jan 19, 2025
- WID-SEC-2024-1248 Xerox FreeFlow Print Server: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 21, 2024
- ELSA-2023-5615 Moderate: libssh2 security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Oct 10, 2023
- ALAS2-2023-2257 Important: libssh2 security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Sep 20, 2023