CVE-2026-66034
Security update for libssh2_org
Beschreibung
libssh2 bis Version 1.11.1 enthält aufgrund eines fehlenden Überprüfungsfehlers eine Schwachstelle, die es einem böswilligen SSH-Server ermöglicht, einen beliebig langen Heap-Out-of-Bounds-Lesezugriff auszulösen und einen nicht initialisierten Zeiger freizugeben über das Publickey-Subsystem. In der Funktion `libssh2_publickey_list_fetch()` liest der Parser für die Version 1-Antwort eine servergesteuerte `comment_len`-Wert und verschiebt den Parse-Zeiger, ohne zu verifizieren, dass ausreichend Bytes im Puffer verbleiben. Dies führt dazu, dass Heap-Pointer aus benachbarten Allokationen durch den Out-of-Bounds-Lesezugriff geleakt werden, wodurch ASLR umgangen wird, gefolgt von einer Korruption des Zustands des Heap-Allokators, wenn der Fehlerbereinigungs-Pfad einen nicht initialisierten Zeiger aus einem nicht auf Null gesetzten `realloc()`-Bereich freigibt.
Metriken
Weakness-Klassen (CWE)
CWE-125Base
Out-of-bounds Read
The product reads data past the end, or before the beginning, of the intended buffer.
cwe.mitre.org →CWE-908Base
Use of Uninitialized Resource
The product uses or accesses a resource that has not been initialized.
cwe.mitre.org →
Re-Analyse & Statuswechsel
Chronologie der NVD-Audit-Events für diese CVE — Reanalyses, CVSS-Updates, CPE-Diffs.
- Initial Analysis2026-07-30 15:44 UTC· nvd@nist.gov
- CPE Configuration: OR *cpe:2.3:a:libssh2:libssh2:*:*:*:*:*:*:*:* versions up to (including) 1.11.1
- Reference Type: VulnCheck: https://github.com/libssh2/libssh2/commit/a13bb6c773f0d55ad1628cede57e99803cd898d9 Types: Patch
- Reference Type: VulnCheck: https://github.com/libssh2/libssh2/pull/2202 Types: Issue Tracking, Patch
- Reference Type: VulnCheck: https://www.vulncheck.com/advisories/libssh2-heap-out-of-bounds-read-via-publickey-subsystem Types: Patch, Third Party Advisory
- CVE Modified2026-07-25 05:16 UTC· 134c704f-9b21-4f2e-91b3-4a467353bcc0
- SSVC: {"id":"CVE-2026-66034","role":"CISA Coordinator","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalI… → {"id":"CVE-2026-66034","role":"CISA Coordinator","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalI…
Betroffene Betriebssysteme
linux
ubuntu / libssh2noble
linux
ubuntu / libssh2resolute
Betroffene Produkte
Aus der Hersteller-/CERT-Meldung extrahierte Produkte und Versionsbereiche. Ein Version-Range wie „<4.14.6“ impliziert die Update-Empfehlung „auf 4.14.6 oder höher aktualisieren“.
libssh2
libssh21.11.1
Quellen & Referenzen
- https://github.com/libssh2/libssh2/pull/2401issue-tracking
- https://github.com/libssh2/libssh2/commit/a2ed82d40964bbc0d64cd717aa0a5a892117d2e6patch
- https://www.vulncheck.com/advisories/libssh2-integer-underflow-dos-via-aes-gcm-cipher-negotiationthird-party-advisory
- https://github.com/bikini/exploitarium/tree/main/libssh2-publickey-list-calc-pocexploitthird-party-advisory
- https://github.com/libssh2/libssh2/blob/master/src/publickey.cproduct
- https://www.vulncheck.com/advisories/libssh2-integer-overflow-in-publickey-subsystem-attribute-allocationthird-party-advisory
- https://vuldb.com/vuln/360555euvd
- https://vuldb.com/vuln/360555/ctieuvd
- https://vuldb.com/submit/805564euvd
- https://github.com/libssh2/libssh2/pull/1858euvd
- https://github.com/libssh2/libssh2/commit/256d04b60d80bf1190e96b0ad1e91b2174d744b1euvd
- https://github.com/libssh2/libssh2/euvd
- https://access.redhat.com/security/cve/CVE-2026-7598vdb-entryx_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2464597issue-trackingx_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-7598.jsonx_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:61752vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:7021vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:16736vendor-advisoryx_refsource_REDHAT
- https://github.com/libssh2/libssh2/pull/2198issue-tracking
- https://github.com/libssh2/libssh2/commit/42e33d81577ed4b95d4b4f6f845e5ee8efe5eeb4patch
Verknüpfte CVEs
- CVE-2026-7598
Ein Sicherheitsproblem wurde in libssh2 bis Version 1.11.1 festgestellt.
highCVSSv3 7.3 - CVE-2026-66035
libssh2 bis Version 1.11.1 enthält eine Heap-Überlauf-Schwachstelle vor der Authentifizierung, die es einem böswilligen SSH-Server ermögl…
highCVSSv3 7.5 - CVE-2026-66033
libssh2 bis Version 1.11.1 enthält eine vorauthentifizierungsbedingte Ganzzahlaufwärtsfehleranfälligkeit in der Funktion ssh2_cipher_cryp…
highCVSSv3 7.5 - CVE-2026-66032
libssh2 bis Version 1.11.1 enthält eine doppelte Freigabeschwachstelle in der Funktion sftp_open() in src/sftp.c, die behoben wurde im Co…
highCVSSv3 8.8 - CVE-2026-58051
libssh2 bis Version 1.11.1 erweitert seine `publickey`-Liste mit `SSH2_REALLOC`, initialisiert jedoch neue Einträge nicht auf Null, bevor…
highCVSSv3 6.5 - CVE-2026-58050
libssh2 bis Version 1.11.1 liest eine von einem Angreifer kontrollierte 32-Bit-Attributanzahl aus einer Antwort des publickey-Subsystems…
highCVSSv3 7.0 - CVE-2025-15661
libssh2 bis Version 1.11.1 enthält eine Schwachstelle durch einen Heap-Lesezugriff außerhalb der Grenzen in der Funktion sftp_symlink() i…
highCVSSv3 6.5