OESA-2025-1707

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2025-1707
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2025-1707.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2025-1707
Upstream
Published
2025-07-04T14:42:34Z
Modified
2025-08-12T05:51:58.666830Z
Summary
libssh security update
Details

The ssh library was designed to be used by programmers needing a working SSH implementation by the mean of a library. The complete control of the client is made by the programmer. With libssh, you can remotely execute programs, transfer files, use a secure and transparent tunnel for your remote programs. With its Secure FTP implementation, you can play with remote files easily, without third-party programs others than libcrypto (from openssl).

Security Fix(es):

A flaw was found in the libssh library. 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.(CVE-2025-5318)

Database specific
{
    "severity": "Medium"
}
References

Affected packages

openEuler:20.03-LTS-SP4 / libssh

Package

Name
libssh
Purl
pkg:rpm/openEuler/libssh&distro=openEuler-20.03-LTS-SP4

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.9.4-10.oe2003sp4

Ecosystem specific

{
    "src": [
        "libssh-0.9.4-10.oe2003sp4.src.rpm"
    ],
    "noarch": [
        "libssh-help-0.9.4-10.oe2003sp4.noarch.rpm"
    ],
    "x86_64": [
        "libssh-0.9.4-10.oe2003sp4.x86_64.rpm",
        "libssh-debuginfo-0.9.4-10.oe2003sp4.x86_64.rpm",
        "libssh-debugsource-0.9.4-10.oe2003sp4.x86_64.rpm",
        "libssh-devel-0.9.4-10.oe2003sp4.x86_64.rpm"
    ],
    "aarch64": [
        "libssh-0.9.4-10.oe2003sp4.aarch64.rpm",
        "libssh-debuginfo-0.9.4-10.oe2003sp4.aarch64.rpm",
        "libssh-debugsource-0.9.4-10.oe2003sp4.aarch64.rpm",
        "libssh-devel-0.9.4-10.oe2003sp4.aarch64.rpm"
    ]
}