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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.24 | curl | 0 | ALPINE-CVE-2025-15079 |
| Debian:12 | curl | no fix listed | DEBIAN-CVE-2025-15079 |
| Debian:13 | curl | no fix listed | DEBIAN-CVE-2025-15079 |
| Debian:14 | curl | 8.18.0~rc3-1 | DEBIAN-CVE-2025-15079 |
| Ubuntu:22.04:LTS | curl | 7.81.0-1ubuntu1.22 | USN-8062-1 |
| Ubuntu:22.04:LTS | curl | 7.81.0-1ubuntu1.22 | UBUNTU-CVE-2025-15079 |
| Ubuntu:24.04:LTS | curl | 8.5.0-2ubuntu10.7 | USN-8062-1 |
| Ubuntu:24.04:LTS | curl | 8.5.0-2ubuntu10.7 | UBUNTU-CVE-2025-15079 |
| Ubuntu:25.10 | curl | 8.14.1-2ubuntu1.1 | USN-8062-1 |
Affected products (as reported)
Weakness: CWE-297 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N