CVE-2026-66032
published high CVSS 4.0 · 8.7libssh2 Double-Free Heap Corruption via sftp_open()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| libssh2 | — | libssh20 through 1.11.1 (affected · semver) · 5e4776146552d898b9c0e1b313cd093fa8dc92d0 (unaffected · git) · Other versions: affected | Version-specific | Not stated | VulnCheck |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0)V3.1.7 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0)V3.1.7 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)V3.1.7 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3861 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-2056 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | libssh2 | Fixed | 1.11.1-r4 | Package fix record |
| Debian | bookworm | libssh2 | Advisory build | 1.10.0-3+deb12u1 | DLA-4773-1 |
Show 101 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0)V3.1.7 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0)V3.1.7 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-2064 | Fixed | Not stated | Amazon Linux assessment |
| Oracle Linux | 7 | libssh2x86_64 | Advisory build | 0:1.8.0-4.0.1.el7_9.1 | ELSA-2026-61752-0 |
| Red Hat Enterprise Linux | RHEL-7 | libssh2i686 | Advisory build | 1.8.0-4.el7_9.2 | RHSA-2026:61752 |
| Ubuntu | bionic | libssh2 | Advisory build | 1.8.0-1ubuntu0.1+esm1 | USN-8799-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh2-1aarch64 | Advisory build | 1.11.0-29.18.1 | SUSE-SU-2026:3525-1 |
| Alpine Linux | v3.21 | libssh2 | Fixed | 1.11.1-r3 | Package fix record |
| Alpine Linux | v3.22 | libssh2 | Fixed | 1.11.1-r3 | Package fix record |
| Alpine Linux | v3.23 | libssh2 | Fixed | 1.11.1-r4 | Package fix record |
| Alpine Linux | v3.24 | libssh2 | Fixed | 1.11.1-r4 | Package fix record |
| Red Hat Enterprise Linux | RHEL-7 | libssh2ppc | Advisory build | 1.8.0-4.el7_9.2 | RHSA-2026:61752 |
| Red Hat Enterprise Linux | RHEL-7 | libssh2ppc64 | Advisory build | 1.8.0-4.el7_9.2 | RHSA-2026:61752 |
| Red Hat Enterprise Linux | RHEL-7 | libssh2ppc64le | Advisory build | 1.8.0-4.el7_9.2 | RHSA-2026:61752 |
| Red Hat Enterprise Linux | RHEL-7 | libssh2s390 | Advisory build | 1.8.0-4.el7_9.2 | RHSA-2026:61752 |
| Red Hat Enterprise Linux | RHEL-7 | libssh2s390x | Advisory build | 1.8.0-4.el7_9.2 | RHSA-2026:61752 |
| Red Hat Enterprise Linux | RHEL-7 | libssh2src | Advisory build | 1.8.0-4.el7_9.2 | RHSA-2026:61752 |
| Red Hat Enterprise Linux | RHEL-7 | libssh2x86_64 | Advisory build | 1.8.0-4.el7_9.2 | RHSA-2026:61752 |
| Ubuntu | focal | libssh2 | Advisory build | 1.8.0-2.1ubuntu0.1+esm1 | USN-8799-1 |
| Ubuntu | jammy | libssh2 | Advisory build | 1.10.0-3ubuntu0.1 | USN-8799-1 |
| Ubuntu | noble | libssh2 | Advisory build | 1.11.0-4.1ubuntu0.24.04.4 | USN-8722-1 |
| Ubuntu | resolute | libssh2 | Advisory build | 1.11.1-1ubuntu0.26.04.4 | USN-8722-1 |
| Ubuntu | trusty | libssh2 | Advisory build | 1.4.3-2ubuntu0.2+esm4 | USN-8799-1 |
| Ubuntu | xenial | libssh2 | Advisory build | 1.5.0-2ubuntu0.1+esm3 | USN-8799-1 |
| Oracle Linux | 7 | libssh2-develx86_64 | Advisory build | 0:1.8.0-4.0.1.el7_9.1 | ELSA-2026-61752-0 |
| Oracle Linux | 7 | libssh2-docsx86_64 | Advisory build | 0:1.8.0-4.0.1.el7_9.1 | ELSA-2026-61752-0 |
| Red Hat Enterprise Linux | RHEL-7 | libssh2-develi686 | Advisory build | 1.8.0-4.el7_9.2 | RHSA-2026:61752 |
| Red Hat Enterprise Linux | RHEL-7 | libssh2-develppc | Advisory build | 1.8.0-4.el7_9.2 | RHSA-2026:61752 |
| Red Hat Enterprise Linux | RHEL-7 | libssh2-develppc64 | Advisory build | 1.8.0-4.el7_9.2 | RHSA-2026:61752 |
| Red Hat Enterprise Linux | RHEL-7 | libssh2-develppc64le | Advisory build | 1.8.0-4.el7_9.2 | RHSA-2026:61752 |
| Red Hat Enterprise Linux | RHEL-7 | libssh2-devels390 | Advisory build | 1.8.0-4.el7_9.2 | RHSA-2026:61752 |
| Red Hat Enterprise Linux | RHEL-7 | libssh2-devels390x | Advisory build | 1.8.0-4.el7_9.2 | RHSA-2026:61752 |
| Red Hat Enterprise Linux | RHEL-7 | libssh2-develx86_64 | Advisory build | 1.8.0-4.el7_9.2 | RHSA-2026:61752 |
| SUSE / openSUSE | SLE-12-SP5 | libssh2-1ppc64le | Advisory build | 1.11.0-29.18.1 | SUSE-SU-2026:3525-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh2-1s390x | Advisory build | 1.11.0-29.18.1 | SUSE-SU-2026:3525-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh2-1x86_64 | Advisory build | 1.11.0-29.18.1 | SUSE-SU-2026:3525-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh2-1-32bits390x | Advisory build | 1.11.0-29.18.1 | SUSE-SU-2026:3525-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh2-1-32bitx86_64 | Advisory build | 1.11.0-29.18.1 | SUSE-SU-2026:3525-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh2-develaarch64 | Advisory build | 1.11.0-29.18.1 | SUSE-SU-2026:3525-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh2-develppc64le | Advisory build | 1.11.0-29.18.1 | SUSE-SU-2026:3525-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh2-devels390x | Advisory build | 1.11.0-29.18.1 | SUSE-SU-2026:3525-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh2-develx86_64 | Advisory build | 1.11.0-29.18.1 | SUSE-SU-2026:3525-1 |
| SUSE / openSUSE | SLE-15-SP4 | libssh2-1aarch64 | Advisory build | 1.11.0-150200.9.8.1 | SUSE-SU-2026:3526-1 |
| SUSE / openSUSE | SLE-15-SP4 | libssh2-1ppc64le | Advisory build | 1.11.0-150200.9.8.1 | SUSE-SU-2026:3526-1 |
| SUSE / openSUSE | SLE-15-SP4 | libssh2-1s390x | Advisory build | 1.11.0-150200.9.8.1 | SUSE-SU-2026:3526-1 |
| SUSE / openSUSE | SLE-15-SP4 | libssh2-1x86_64 | Advisory build | 1.11.0-150000.4.35.1 | SUSE-SU-2026:4095-1 |
| SUSE / openSUSE | SLE-15-SP4 | libssh2-1x86_64 | Advisory build | 1.11.0-150200.9.8.1 | SUSE-SU-2026:3526-1 |
| SUSE / openSUSE | SLE-15-SP4 | libssh2-1-32bitx86_64 | Advisory build | 1.11.0-150000.4.35.1 | SUSE-SU-2026:4095-1 |
| SUSE / openSUSE | SLE-15-SP4 | libssh2-1-32bitx86_64 | Advisory build | 1.11.0-150200.9.8.1 | SUSE-SU-2026:3526-1 |
| SUSE / openSUSE | SLE-15-SP4 | libssh2-develaarch64 | Advisory build | 1.11.0-150200.9.8.1 | SUSE-SU-2026:3526-1 |
| SUSE / openSUSE | SLE-15-SP4 | libssh2-develppc64le | Advisory build | 1.11.0-150200.9.8.1 | SUSE-SU-2026:3526-1 |
| SUSE / openSUSE | SLE-15-SP4 | libssh2-devels390x | Advisory build | 1.11.0-150200.9.8.1 | SUSE-SU-2026:3526-1 |
| SUSE / openSUSE | SLE-15-SP4 | libssh2-develx86_64 | Advisory build | 1.11.0-150200.9.8.1 | SUSE-SU-2026:3526-1 |
| SUSE / openSUSE | SLE-15-SP5 | libssh2-1aarch64 | Advisory build | 1.11.0-150200.9.8.1 | SUSE-SU-2026:3526-1 |
| SUSE / openSUSE | SLE-15-SP5 | libssh2-1ppc64le | Advisory build | 1.11.0-150200.9.8.1 | SUSE-SU-2026:3526-1 |
| SUSE / openSUSE | SLE-15-SP5 | libssh2-1s390x | Advisory build | 1.11.0-150200.9.8.1 | SUSE-SU-2026:3526-1 |
| SUSE / openSUSE | SLE-15-SP5 | libssh2-1x86_64 | Advisory build | 1.11.0-150200.9.8.1 | SUSE-SU-2026:3526-1 |
| SUSE / openSUSE | SLE-15-SP5 | libssh2-1-32bitx86_64 | Advisory build | 1.11.0-150200.9.8.1 | SUSE-SU-2026:3526-1 |
| SUSE / openSUSE | SLE-15-SP5 | libssh2-develaarch64 | Advisory build | 1.11.0-150200.9.8.1 | SUSE-SU-2026:3526-1 |
| SUSE / openSUSE | SLE-15-SP5 | libssh2-develppc64le | Advisory build | 1.11.0-150200.9.8.1 | SUSE-SU-2026:3526-1 |
| SUSE / openSUSE | SLE-15-SP5 | libssh2-devels390x | Advisory build | 1.11.0-150200.9.8.1 | SUSE-SU-2026:3526-1 |
| SUSE / openSUSE | SLE-15-SP5 | libssh2-develx86_64 | Advisory build | 1.11.0-150200.9.8.1 | SUSE-SU-2026:3526-1 |
| SUSE / openSUSE | SLE-15-SP6 | libssh2-1aarch64 | Advisory build | 1.11.0-150600.20.6.1 | SUSE-SU-2026:3541-1 |
| SUSE / openSUSE | SLE-15-SP6 | libssh2-1ppc64le | Advisory build | 1.11.0-150600.20.6.1 | SUSE-SU-2026:3541-1 |
| SUSE / openSUSE | SLE-15-SP6 | libssh2-1s390x | Advisory build | 1.11.0-150600.20.6.1 | SUSE-SU-2026:3541-1 |
| SUSE / openSUSE | SLE-15-SP6 | libssh2-1x86_64 | Advisory build | 1.11.0-150600.20.6.1 | SUSE-SU-2026:3541-1 |
| SUSE / openSUSE | SLE-15-SP6 | libssh2-1-32bitx86_64 | Advisory build | 1.11.0-150600.20.6.1 | SUSE-SU-2026:3541-1 |
| SUSE / openSUSE | SLE-15-SP6 | libssh2-develaarch64 | Advisory build | 1.11.0-150600.20.6.1 | SUSE-SU-2026:3541-1 |
| SUSE / openSUSE | SLE-15-SP6 | libssh2-develppc64le | Advisory build | 1.11.0-150600.20.6.1 | SUSE-SU-2026:3541-1 |
| SUSE / openSUSE | SLE-15-SP6 | libssh2-devels390x | Advisory build | 1.11.0-150600.20.6.1 | SUSE-SU-2026:3541-1 |
| SUSE / openSUSE | SLE-15-SP6 | libssh2-develx86_64 | Advisory build | 1.11.0-150600.20.6.1 | SUSE-SU-2026:3541-1 |
| SUSE / openSUSE | SLE-15-SP7 | libssh2-1aarch64 | Advisory build | 1.11.0-150600.20.6.1 | SUSE-SU-2026:3541-1 |
| SUSE / openSUSE | SLE-15-SP7 | libssh2-1ppc64le | Advisory build | 1.11.0-150600.20.6.1 | SUSE-SU-2026:3541-1 |
| SUSE / openSUSE | SLE-15-SP7 | libssh2-1s390x | Advisory build | 1.11.0-150600.20.6.1 | SUSE-SU-2026:3541-1 |
| SUSE / openSUSE | SLE-15-SP7 | libssh2-1x86_64 | Advisory build | 1.11.0-150600.20.6.1 | SUSE-SU-2026:3541-1 |
| SUSE / openSUSE | SLE-15-SP7 | libssh2-1-32bitx86_64 | Advisory build | 1.11.0-150600.20.6.1 | SUSE-SU-2026:3541-1 |
| SUSE / openSUSE | SLE-15-SP7 | libssh2-develaarch64 | Advisory build | 1.11.0-150600.20.6.1 | SUSE-SU-2026:3541-1 |
| SUSE / openSUSE | SLE-15-SP7 | libssh2-develppc64le | Advisory build | 1.11.0-150600.20.6.1 | SUSE-SU-2026:3541-1 |
| SUSE / openSUSE | SLE-15-SP7 | libssh2-devels390x | Advisory build | 1.11.0-150600.20.6.1 | SUSE-SU-2026:3541-1 |
| SUSE / openSUSE | SLE-15-SP7 | libssh2-develx86_64 | Advisory build | 1.11.0-150600.20.6.1 | SUSE-SU-2026:3541-1 |
| SUSE / openSUSE | SLE-16 | libssh2-1aarch64 | Advisory build | 1.11.1-160000.5.1 | SUSE-SU-2026:23214-1 |
| SUSE / openSUSE | SLE-16 | libssh2-1aarch64 | Advisory build | 1.11.1-160000.5.1 | SUSE-SU-2026:23225-1 |
| SUSE / openSUSE | SLE-16 | libssh2-1ppc64le | Advisory build | 1.11.1-160000.5.1 | SUSE-SU-2026:23214-1 |
| SUSE / openSUSE | SLE-16 | libssh2-1ppc64le | Advisory build | 1.11.1-160000.5.1 | SUSE-SU-2026:23225-1 |
| SUSE / openSUSE | SLE-16 | libssh2-1s390x | Advisory build | 1.11.1-160000.5.1 | SUSE-SU-2026:23214-1 |
| SUSE / openSUSE | SLE-16 | libssh2-1s390x | Advisory build | 1.11.1-160000.5.1 | SUSE-SU-2026:23225-1 |
| SUSE / openSUSE | SLE-16 | libssh2-1x86_64 | Advisory build | 1.11.1-160000.5.1 | SUSE-SU-2026:23214-1 |
| SUSE / openSUSE | SLE-16 | libssh2-1x86_64 | Advisory build | 1.11.1-160000.5.1 | SUSE-SU-2026:23225-1 |
| SUSE / openSUSE | SLE-16 | libssh2-develaarch64 | Advisory build | 1.11.1-160000.5.1 | SUSE-SU-2026:23214-1 |
| SUSE / openSUSE | SLE-16 | libssh2-develaarch64 | Advisory build | 1.11.1-160000.5.1 | SUSE-SU-2026:23225-1 |
| SUSE / openSUSE | SLE-16 | libssh2-develppc64le | Advisory build | 1.11.1-160000.5.1 | SUSE-SU-2026:23214-1 |
| SUSE / openSUSE | SLE-16 | libssh2-develppc64le | Advisory build | 1.11.1-160000.5.1 | SUSE-SU-2026:23225-1 |
| SUSE / openSUSE | SLE-16 | libssh2-devels390x | Advisory build | 1.11.1-160000.5.1 | SUSE-SU-2026:23214-1 |
| SUSE / openSUSE | SLE-16 | libssh2-devels390x | Advisory build | 1.11.1-160000.5.1 | SUSE-SU-2026:23225-1 |
| SUSE / openSUSE | SLE-16 | libssh2-develx86_64 | Advisory build | 1.11.1-160000.5.1 | SUSE-SU-2026:23214-1 |
| SUSE / openSUSE | SLE-16 | libssh2-develx86_64 | Advisory build | 1.11.1-160000.5.1 | SUSE-SU-2026:23225-1 |
| SUSE / openSUSE | SLE-5 | libssh2-1aarch64 | Advisory build | 1.11.0-150200.9.8.1 | SUSE-SU-2026:3526-1 |
| SUSE / openSUSE | SLE-5 | libssh2-1ppc64le | Advisory build | 1.11.0-150200.9.8.1 | SUSE-SU-2026:3526-1 |
| SUSE / openSUSE | SLE-5 | libssh2-1s390x | Advisory build | 1.11.0-150200.9.8.1 | SUSE-SU-2026:3526-1 |
| SUSE / openSUSE | SLE-5 | libssh2-1x86_64 | Advisory build | 1.11.0-150200.9.8.1 | SUSE-SU-2026:3526-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libssh2-1aarch64 | Advisory build | 1.11.1-160000.5.1 | OPENSUSE-SU-2026:21549-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
libssh2 through 1.11.1, fixed in commit 5e47761, contains a double-free vulnerability in the sftp_open() function in src/sftp.c that allows a malicious SSH server to corrupt the heap of any authenticated client opening an SFTP session. When a server responds to SSH_FXP_OPEN with SSH_FXP_STATUS containing FX_OK, the response data buffer is freed, and if a subsequent sftp_packet_require() call returns a specific error such as LIBSSH2_ERROR_CHANNEL_PACKET_EXCEEDED, the same pointer is freed a second time, enabling tcache dup conditions on glibc systems that allow overlapping allocations and function pointer overwrites.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.8 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| libssh2 | libssh2 | 0 through 1.11.1 (affected · semver)5e4776146552d898b9c0e1b313cd093fa8dc92d0 (unaffected · git)Default: affected | VulnCheck · cna |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) | V3.1.7 and later (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) | V3.1.7 and later (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) | V3.1.7 and later (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) | V3.1.7 and later (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) | V3.1.7 and later (affected · custom)Default: unknown | siemens-SADP · adp |
Weaknesses
1- CWE-415 Double Free
References
4- https://cert-portal.siemens.com/productcert/html/ssa-457936.html
- Patch Commit https://github.com/libssh2/libssh2/commit/5e4776146552d898b9c0e1b313cd093fa8dc92d0
- Pull Request https://github.com/libssh2/libssh2/pull/2180
- https://www.vulncheck.com/advisories/libssh2-double-free-heap-corruption-via-sftp-open
Provider assertions
3VulnCheck · cna
libssh2 Double-Free Heap Corruption via sftp_open()
siemens-SADP · adp
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7b8cc631778f8ab4ec8bb46a27ebbb0d4b18e20519cc0b6bfae056b5578947a3
- Ingested
- 10 Nov 2026, 12:57:19 UTC
- Source record
- Official CVE record