Hackers News Hackers News
  • CyberSecurity News
  • Threats
  • Attacks
  • Vulnerabilities
  • Breaches
  • Comparisons

Social Media

Hackers News Hackers News
  • CyberSecurity News
  • Threats
  • Attacks
  • Vulnerabilities
  • Breaches
  • Comparisons
Search the Site
Popular Searches:
technology Amazon AI
Recent Posts
AI-Assisted Research Finds Linux Kernel Zero-Day for Root Escalation
July 28, 2026
GhostNet: Chinese Cyber Espionage Network Linked to PLA Attacks
July 28, 2026
Tengu Mirai Botnet Reboots IoT Devices, Resists Termination Attempts
July 28, 2026
Home/CyberSecurity News/Critical libssh2 Vulnerabilities Let Malicious SSH Servers Corrupt Client Memory
CyberSecurity News

Critical libssh2 Vulnerabilities Let Malicious SSH Servers Corrupt Client Memory

Key Takeaways Four high-severity vulnerabilities in the widely used libssh2 library have been disclosed. These flaws enable malicious SSH servers to corrupt client memory, trigger crashes, and...

Jennifer sherman
Jennifer sherman
July 28, 2026 3 Min Read
4 0

Key Takeaways

  • Four high-severity vulnerabilities in the widely used libssh2 library have been disclosed.
  • These flaws enable malicious SSH servers to corrupt client memory, trigger crashes, and potentially execute arbitrary code.
  • Affected versions include libssh2 1.11.1 and earlier.
  • Patches are available via individual upstream commits, and users are urged to update to a patched version.

Multiple critical vulnerabilities discovered in libssh2, a foundational C library for the SSH2 protocol, could expose client applications to severe risks. These include memory corruption, application crashes, and the potential for remote code execution when connecting to a compromised or malicious SSH server.

Table Of Content

  • Key Takeaways
  • libssh2 Vulnerabilities
  • Critical Double-Free in SFTP (CVE-2026-66032)
  • Integer Underflow Leading to DoS (CVE-2026-66033)
  • Additional Memory Corruption Flaws
  • What You Should Do

libssh2 is integral to countless applications, facilitating secure remote administration, file transfers, automated deployments, backup solutions, and SFTP client operations across various platforms.

On July 24, 2026, a total of four vulnerabilities impacting libssh2 versions 1.11.1 and earlier were publicly disclosed. Each of these security flaws has been addressed through separate commits in the upstream project repository.

libssh2 Vulnerabilities

Critical Double-Free in SFTP (CVE-2026-66032)

The most severe of the disclosed issues is a double-free vulnerability, tracked as CVE-2026-66032. This flaw, rated with a CVSS score of 8.7, resides in the sftp_open() function within src/sftp.c and is categorized as CWE-415 (Double Free).

This vulnerability activates after a client successfully authenticates and initiates an SFTP session. A malicious SSH server can then send a specially crafted success status in response to an SSH_FXP_OPEN request. Under specific error conditions, libssh2 erroneously attempts to free the same response-data buffer twice.

For systems utilizing the glibc heap allocator, this can result in tcache duplication and overlapping memory allocations. An attacker could leverage this to corrupt application memory, potentially overwriting critical function pointers. The fix for this critical issue is implemented in commit 5e47761.

Integer Underflow Leading to DoS (CVE-2026-66033)

The second vulnerability, identified as CVE-2026-66033, carries a CVSS score of 8.7 and affects the ssh2_cipher_crypt() function in src/openssl.c. This pre-authentication flaw involves an integer underflow and subsequent out-of-bounds read.

During the initial SSH handshake, a malicious server can negotiate AES-GCM encryption, triggering an underflow in the packet size calculation. This leads to an out-of-bounds read and an invocation of memcpy() with an excessively large size value, causing an immediate client crash before authentication can complete. Commit a2ed82d provides the patch for this vulnerability.

Additional Memory Corruption Flaws

Two further vulnerabilities also present risks of memory corruption. CVE-2026-66034 impacts the public-key subsystem. A malicious server can supply an unsafe length value, causing the parser to read beyond its allocated heap buffer. Furthermore, the error-handling path in this scenario might attempt to free an uninitialized pointer. This issue is resolved in commit a13bb6c.

The final vulnerability, CVE-2026-66035, is a pre-authentication heap buffer overflow located in the fullpacket() function within src/transport.c. During the Encrypt-then-MAC (EtM) cipher negotiation, a malicious server can send a packet that is smaller than the negotiated cipher block size. This leads to the library allocating an insufficient buffer and subsequently attempting to copy more data than the buffer can hold, resulting in an overflow. This vulnerability is addressed by commit 42e33d8.

What You Should Do

  • Organizations and individual users are strongly advised to update libssh2 to a version that includes all four fixes immediately.
  • If a direct update is not feasible, rebuild the library with the referenced upstream patches.
  • It is crucial to identify all software packages that statically bundle libssh2, as simply updating the operating system’s libssh2 package may not protect all affected applications. Review your application stack for embedded versions.

Disclaimer: HackersRadar reports on cybersecurity threats and incidents for informational and awareness purposes only. We do not engage in hacking activities, data exfiltration, or the hosting or distribution of stolen or leaked information. All content is based on publicly available sources.

Tags:

AttackCVEExploitPatchVulnerability

Share Article

Jennifer sherman

Jennifer sherman

Jennifer is a cybersecurity news reporter covering data breaches, ransomware campaigns, and dark web markets. With a background in incident response, Jennifer provides unique insights into how organizations respond to cyber attacks and the evolving tactics of threat actors. Her reporting has covered major breaches affecting millions of users and has helped organizations understand emerging threats. Jennifer combines technical knowledge with investigative journalism to deliver in-depth coverage of cybersecurity incidents.

Previous Post

Critical Arista VeloCloud Orchestrator Zero-Day Actively Exploited

Next Post

Critical LegacyHive Exploits Bypass Windows Security, Even With July 2026 Patches

No Comment! Be the first one.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Popular Posts
Critical Arista VeloCloud Orchestrator Zero-Day Actively Exploited
July 28, 2026
Dysphoria Botnet Infects 200,000 IoT Devices, Hides C2 on Blockchain
July 28, 2026
Scammers Impersonate ShinyHunters, Blackmail Breach Victims with Fake Webcam Videos
July 28, 2026
Top Authors
Marcus Rodriguez
Marcus Rodriguez
Emy Elsamnoudy
Emy Elsamnoudy
David kimber
David kimber
Let's Connect
156k
2.25m
285k

Related Posts

Jennifer sherman
By Jennifer sherman
Threats

GlassWorm Attacks macOS via Malicious VS Code…

January 1, 2026
Emy Elsamnoudy
By Emy Elsamnoudy
Attacks

ClickFix Attack Hides Malicious Code via Stegan Security

January 1, 2026
Sarah simpson
By Sarah simpson
Vulnerabilities

MongoBleed Detector Tool Released to Detect MongoDB Vulnerability(CVE-2025-14847)

January 1, 2026
Emy Elsamnoudy
By Emy Elsamnoudy
Breaches

Conti Ransomware Gang Leaders & Infrastructure Exposed

January 1, 2026
Hackers News Hackers News
  • [email protected]

Quick Links

  • Contact Us
  • Privacy Policy
  • Terms of service

Categories

Attacks
Breaches
Comparisons
CyberSecurity News
Threats
Vulnerabilities

Let's keep in touch

receive fresh updates and breaking cyber news every day and week!

All Rights Reserved by HackersRadar ©2026

Follow Us