kcve.ai취약점 정보 · 내 서버 확인

CVE-2026-66035 libssh2 Heap Buffer Overflow via ETM Cipher Negotiation

설명

libssh2 through 1.11.1, fixed in commit 42e33d8, contains a pre-authentication heap buffer overflow vulnerability that allows a malicious SSH server to corrupt heap metadata in any connecting client by sending a packet with a packet_length smaller than the cipher's block size during Encrypt-then-MAC cipher negotiation. In the fullpacket() function in src/transport.c, the ETM path allocates a buffer of packet_length bytes but copies blocksize minus one bytes via memcpy, causing an overflow that on 32-bit glibc writes attacker-controlled bytes into an adjacent chunk's SIZE field, enabling tcache bin confusion, overlapping live objects, and function pointer overwrite during the session handshake before authentication.

영향 받는 제품 제품 1개

  • libssh2

    libssh2

    영향 받는 버전

    • 1.11.1 이하

    해결 버전

    해결된 버전 정보가 없습니다.

참고 자료 3건

‹ 목록

운영 중인 서버의 점검 지원 범위가 궁금하면

도입 문의