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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2025-5318— Libssh: out-of-bounds read in sftp_handle()

CVSS 8.1 · High EPSS 0.30% · P54
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2025-5318

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: out-of-bounds read in sftp_handle()
Source: NVD (National Vulnerability Database)
Vulnerability Description
A flaw was found in the libssh library in versions less than 0.11.2. An out-of-bounds read can be triggered in the sftp_handle function due to an incorrect comparison check that permits the function to access memory beyond the valid handle list and to return an invalid pointer, which is used in further processing. This vulnerability allows an authenticated remote attacker to potentially read unintended memory regions, exposing sensitive information or affect service behavior.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/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存在缓冲区错误漏洞,该漏洞源于sftp_handle函数存在越界读取,可能导致信息泄露或服务异常。
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-4.el10_0 ~ * cpe:/o:redhat:enterprise_linux:10.0
Red HatRed Hat Enterprise Linux 10 0:0.11.1-4.el10_1 ~ * cpe:/o:redhat:enterprise_linux:10.1
Red HatRed Hat Enterprise Linux 8 0:0.9.6-15.el8_10 ~ * cpe:/a:redhat:enterprise_linux:8::appstream
Red HatRed Hat Enterprise Linux 8 0:0.9.6-15.el8_10 ~ * cpe:/a:redhat:enterprise_linux:8::appstream
Red HatRed Hat Enterprise Linux 8.2 Advanced Update Support 0:0.9.0-4.el8_2.1 ~ * cpe:/o:redhat:rhel_aus:8.2::baseos
Red HatRed Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support 0:0.9.4-2.el8_4.1 ~ * cpe:/o:redhat:rhel_eus_long_life:8.4::baseos
Red HatRed Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On 0:0.9.4-2.el8_4.1 ~ * cpe:/o:redhat:rhel_eus_long_life:8.4::baseos
Red HatRed Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support 0:0.9.6-4.el8_6.1 ~ * cpe:/o:redhat:rhel_aus:8.6::baseos
Red HatRed Hat Enterprise Linux 8.6 Telecommunications Update Service 0:0.9.6-4.el8_6.1 ~ * cpe:/o:redhat:rhel_aus:8.6::baseos
Red HatRed Hat Enterprise Linux 8.6 Update Services for SAP Solutions 0:0.9.6-4.el8_6.1 ~ * cpe:/o:redhat:rhel_aus:8.6::baseos
Red HatRed Hat Enterprise Linux 8.8 Telecommunications Update Service 0:0.9.6-13.el8_8.1 ~ * cpe:/a:redhat:rhel_e4s:8.8::appstream
Red HatRed Hat Enterprise Linux 8.8 Update Services for SAP Solutions 0:0.9.6-13.el8_8.1 ~ * cpe:/a:redhat:rhel_e4s:8.8::appstream
Red HatRed Hat Enterprise Linux 9 0:0.10.4-15.el9_6 ~ * cpe:/o:redhat:enterprise_linux:9::baseos
Red HatRed Hat Enterprise Linux 9 0:0.10.4-15.el9_7 ~ * cpe:/o:redhat:enterprise_linux:9::baseos
Red HatRed Hat Enterprise Linux 9 0:0.10.4-15.el9_6 ~ * cpe:/o:redhat:enterprise_linux:9::baseos
Red HatRed Hat Enterprise Linux 9 0:0.10.4-15.el9_7 ~ * cpe:/o:redhat:enterprise_linux:9::baseos
Red HatRed Hat Enterprise Linux 9.0 Update Services for SAP Solutions 0:0.9.6-3.el9_0.1 ~ * cpe:/a:redhat:rhel_e4s:9.0::appstream
Red HatRed Hat Enterprise Linux 9.2 Update Services for SAP Solutions 0:0.10.4-9.el9_2.1 ~ * 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.1 ~ * cpe:/o:redhat:rhel_eus:9.4::baseos
Red HatRed Hat OpenShift Container Platform 4.12 412.86.202511191939-0 ~ * cpe:/a:redhat:openshift:4.12::el8
Red HatRed Hat OpenShift Container Platform 4.13 413.92.202511261311-0 ~ * cpe:/a:redhat:openshift:4.13::el9
Red HatRed Hat OpenShift Container Platform 4.14 414.92.202511122212-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.202601071926-0 ~ * cpe:/a:redhat:openshift:4.16::el9
Red HatRed Hat OpenShift Container Platform 4.17 417.94.202510282022-0 ~ * cpe:/a:redhat:openshift:4.17::el9
Red HatRed Hat OpenShift Container Platform 4.18 418.94.202511041748-0 ~ * cpe:/a:redhat:openshift:4.18::el9
Red HatRed Hat OpenShift Container Platform 4.19 4.19.9.6.202510281054-0 ~ * cpe:/a:redhat:openshift:4.19::el9
Red HatRed Hat OpenShift Container Platform 4.20 4.20.9.6.202510290321-0 ~ * cpe:/a:redhat:openshift:4.20::el9
Red HatRed Hat AI Inference Server 3.2 sha256:bddcf7ab6d576572b6d60822c313ffebcd9869e4fde93e32ac327821f93cf32b ~ * cpe:/a:redhat:ai_inference_server:3.2::el9
Red HatRed Hat AI Inference Server 3.2 sha256:7856bdb7ae0d643a7b9362c164d4d4fe3c0c7186f5fff73a7ae9835b3df52e57 ~ * cpe:/a:redhat:ai_inference_server:3.2::el9
Red HatRed Hat AI Inference Server 3.2 sha256:dce6b0ea03379bf06664a5200af8b5f5ae3fad13cdce6d21873843f22554800b ~ * cpe:/a:redhat:ai_inference_server:3.2::el9
Red HatRed Hat AI Inference Server 3.2 sha256:fa844e16d06e871f1a5dbc2fd5b3882d28112eee8d6bee601d94c96295c5e24f ~ * cpe:/a:redhat:ai_inference_server:3.2::el9
Red HatRed Hat AI Inference Server 3.2 sha256:53007894763e03f609c35c727cb738db3c2130b19fa0e1069c24240e0870fb7a ~ * cpe:/a:redhat:ai_inference_server:3.2::el9
Red HatRed Hat OpenShift distributed tracing 3.7.1 sha256:b5ee1febe929df3dd67df124aeb65d1920af553e667c2929a6865784ce546dc3 ~ * cpe:/a:redhat:openshift_distributed_tracing:3.7::el8
Red HatRed Hat OpenShift distributed tracing 3.7.1 sha256:f242d27114fa7546df4d7261cccbd8586e9e6ba2487f02e260d8880807b94f43 ~ * cpe:/a:redhat:openshift_distributed_tracing:3.7::el8
Red HatRed Hat OpenShift distributed tracing 3.7.1 sha256:dcbae88d4be5b004ff7473bcfbbd57946c773f7e77fc99da0b5b023310f55ddd ~ * cpe:/a:redhat:openshift_distributed_tracing:3.7::el8
Red HatRed Hat OpenShift distributed tracing 3.7.1 sha256:8ad291327a8410feb2d34afeb0d0c7f847a1cffc838883b65d71427b3f97670a ~ * cpe:/a:redhat:openshift_distributed_tracing:3.7::el8
Red HatRed Hat OpenShift distributed tracing 3.7.1 sha256:0fbed65da8c168be024b4ec28e9c5a860ce81c5bee69ebea24002407dc002be8 ~ * cpe:/a:redhat:openshift_distributed_tracing:3.7::el8
Red HatRed Hat OpenShift distributed tracing 3.7.1 sha256:83583f8010629b65533926a11163565efd4d8b32433fe279218b60cdb13da13f ~ * cpe:/a:redhat:openshift_distributed_tracing:3.7::el8

II. Public POCs for CVE-2025-5318

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-5318

登录查看更多情报信息。

IV. Related Vulnerabilities

V. Comments for CVE-2025-5318

No comments yet


Leave a comment