# CVE-2025-15079: libssh global known_hosts override

- Severity: Medium 5.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.55%, higher than 47% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-07T08:00:00.000Z
- Modified: 2026-10-25T01:05:24.128Z
- Also known as: CURL-CVE-2025-15079
- Weaknesses: CWE-297
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: curl

## 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.

(As written by CVE List.)

## Affected

- curl curl: from 7.58.0 before 8.14.2; from 8.15.0 before 8.16.1; from 8.17.0 before 8.18.0; from c92d2e14cfb0db662f958effd2ac86f995cf1b5a before adca486c125d9a6d9565b9607a19dce803a8b479; 8.17.0; 8.16.0; 8.15.0; 8.14.1; 8.14.0; 8.13.0; 8.12.1; 8.12.0; and 62 more
- https://github.com/curl/curl.git: from 7.58.0 before 8.14.2; from 8.15.0 before 8.16.1; from 8.17.0 before 8.18.0; from c92d2e14cfb0db662f958effd2ac86f995cf1b5a before adca486c125d9a6d9565b9607a19dce803a8b479
- haxx curl: from 7.58.0 before 8.18.0

## Every score

- CISA-ADP: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N`
- curl: rating Low

## References

- <https://hackerone.com/reports/3477116> (exploit, issue-tracking, third-party-advisory)
- <https://curl.se/docs/CVE-2025-15079.json> (vendor-advisory)
- <https://curl.se/docs/CVE-2025-15079.html> (patch, vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2026/01/07/6> (mailing-list, patch, third-party-advisory)

## Sources

- CVE List: [CVE-2025-15079](https://www.cve.org/CVERecord?id=CVE-2025-15079), CVE Terms of Use, modified 2026-09-15
- curl: [CURL-CVE-2025-15079](https://osv.dev/vulnerability/CURL-CVE-2025-15079), MIT, modified 2026-10-25
- NVD: [CVE-2025-15079](https://nvd.nist.gov/vuln/detail/CVE-2025-15079), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2025-15079 · Whole record: https://cve.day/CVE-2025-15079.json · Rebuilt by cve.day 2026-11-25T22:59:10.427Z
