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.
{
"cna_assigner": "curl",
"cwe_ids": [
"CWE-297"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/15xxx/CVE-2025-15079.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-15079.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"154575153157544741194860835334875511962",
"309481514725220947052872221583547583347",
"254045176640521679480925776028254756608",
"140624623419491185855662600675706734772"
],
"threshold": 0.9
},
"id": "CVE-2025-15079-2a01c048",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/curl/curl.git/commit/adca486c125d9a6d9565b9607a19dce803a8b479",
"target": {
"file": "lib/vssh/libssh.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "179759690000595925597507395316046644025",
"length": 2963
},
"id": "CVE-2025-15079-95faa990",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/curl/curl.git/commit/adca486c125d9a6d9565b9607a19dce803a8b479",
"target": {
"file": "lib/vssh/libssh.c",
"function": "myssh_connect"
}
}
]
"2026-10-16T07:07:29Z"