Vulnerability · Published Jan 8, 2026 · Assigned by curl

CVE-2025-15079libssh global known_hosts override

Medium 5.3

In plain English

A medium-severity security flaw in curl from curl. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 46% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.5%top 53.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

When doing SSH-based transfers using either SCP or SFTP, and setting the known_hosts file, libcurl could still mistakenly accept connecting to hosts *not present* in the specified file if they were added as recognized in the libssh *global* known_hosts file.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.24curl0ALPINE-CVE-2025-15079
Debian:12curlno fix listedDEBIAN-CVE-2025-15079
Debian:13curlno fix listedDEBIAN-CVE-2025-15079
Debian:14curl8.18.0~rc3-1DEBIAN-CVE-2025-15079
Ubuntu:22.04:LTScurl7.81.0-1ubuntu1.22USN-8062-1
Ubuntu:22.04:LTScurl7.81.0-1ubuntu1.22UBUNTU-CVE-2025-15079
Ubuntu:24.04:LTScurl8.5.0-2ubuntu10.7USN-8062-1
Ubuntu:24.04:LTScurl8.5.0-2ubuntu10.7UBUNTU-CVE-2025-15079
Ubuntu:25.10curl8.14.1-2ubuntu1.1USN-8062-1

Affected products (as reported)

VendorProductVersions
curl curl 7.58.0 – before 8.14.28.15.0 – before 8.16.18.17.0 – before 8.18.0
curl curl c92d2e14cfb0db662f958effd2ac86f995cf1b5a – before adca486c125d9a6d9565b9607a19dce803a8b479
curl curl 8.17.08.16.08.15.08.14.18.14.08.13.08.12.18.12.0

Weakness: CWE-297 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N

References