Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2025-5987— Libssh: invalid return code for chacha20 poly1305 with openssl backend

CVSS 8.1 · High EPSS 0.29% · P52
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2025-5987

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Libssh: invalid return code for chacha20 poly1305 with openssl backend
Source: NVD (National Vulnerability Database)
Vulnerability Description
A flaw was found in libssh when using the ChaCha20 cipher with the OpenSSL library. If an attacker manages to exhaust the heap space, this error is not detected and may lead to libssh using a partially initialized cipher context. This occurs because the OpenSSL error code returned aliases with the SSH_OK code, resulting in libssh not properly detecting the error returned by the OpenSSL library. This issue can lead to undefined behavior, including compromised data confidentiality and integrity or crashes.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: NVD (National Vulnerability Database)
Vulnerability Type
返回错误的状态编码
Source: NVD (National Vulnerability Database)
Vulnerability Title
libssh 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
libssh是libssh组织的一个用于访问SSH服务的C语言开发包,它能够执行远程命令、文件传输,同时为远程的程序提供安全的传输通道。 libssh存在安全漏洞,该漏洞源于使用ChaCha20密码时未检测堆空间耗尽错误,可能导致数据机密性和完整性受损。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
Red HatRed Hat Enterprise Linux 10 0:0.11.1-5.el10_1 ~ * cpe:/o:redhat:enterprise_linux:10.1
Red HatRed Hat Enterprise Linux 10.0 Extended Update Support 0:0.11.1-4.el10_0.1 ~ * cpe:/o:redhat:enterprise_linux_eus:10.0
Red HatRed Hat Enterprise Linux 9 0:0.10.4-17.el9_7 ~ * cpe:/o:redhat:enterprise_linux:9::baseos
Red HatRed Hat Enterprise Linux 9 0:0.10.4-17.el9_7 ~ * cpe:/o:redhat:enterprise_linux:9::baseos
Red HatRed Hat Enterprise Linux 9.2 Update Services for SAP Solutions 0:0.10.4-9.el9_2.2 ~ * cpe:/o:redhat:rhel_e4s:9.2::baseos
Red HatRed Hat Enterprise Linux 9.4 Extended Update Support 0:0.10.4-13.el9_4.2 ~ * cpe:/o:redhat:rhel_eus:9.4::baseos
Red HatRed Hat Enterprise Linux 9.6 Extended Update Support 0:0.10.4-15.el9_6.1 ~ * cpe:/o:redhat:rhel_eus:9.6::baseos
Red HatRed Hat OpenShift Container Platform 4.13 413.92.202602240113-0 ~ * cpe:/a:redhat:openshift:4.13::el9
Red HatRed Hat OpenShift Container Platform 4.14 414.92.202601191325-0 ~ * cpe:/a:redhat:openshift:4.14::el9
Red HatRed Hat OpenShift Container Platform 4.15 415.92.202601271320-0 ~ * cpe:/a:redhat:openshift:4.15::el9
Red HatRed Hat OpenShift Container Platform 4.16 416.94.202601160124-0 ~ * cpe:/a:redhat:openshift:4.16::el9
Red HatRed Hat OpenShift Container Platform 4.17 417.94.202601120213-0 ~ * cpe:/a:redhat:openshift:4.17::el9
Red HatRed Hat OpenShift Container Platform 4.18 418.94.202601202224-0 ~ * cpe:/a:redhat:openshift:4.18::el9
Red HatRed Hat OpenShift Container Platform 4.19 9.6.20260123-0 ~ * cpe:/a:redhat:openshift:4.19::el9
Red HatRed Hat OpenShift Container Platform 4.20 4.20.9.6.202601211057-0 ~ * cpe:/a:redhat:openshift:4.20::el9
Red HatRed Hat Enterprise Linux 6-cpe:/o:redhat:enterprise_linux:6
Red HatRed Hat Enterprise Linux 7-cpe:/o:redhat:enterprise_linux:7
Red HatRed Hat Enterprise Linux 8-cpe:/o:redhat:enterprise_linux:8

II. Public POCs for CVE-2025-5987

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-5987

登录查看更多情报信息。

IV. Related Vulnerabilities

V. Comments for CVE-2025-5987

No comments yet


Leave a comment