CVE details
CVE-2026-9547
When a libcurl-based application performs transfers via `SCP://` or `SFTP://` and utilizes the `CURLOPT_SSH_KEYFUNCTION` callback, it may silently accept an untrusted server. This vulnerability occurs when a server presents a host key type that does not match the specific key type already recorded for that host in the `known_hosts` file. Instead of rejecting the mismatch, the callback mechanism fails to properly enforce the restriction, allowing the connection to succeed without warning and risking a potential man-in-the-middle attack.
Affected ports (1)
| Port | Package | Version | Status | Maintainer |
|---|---|---|---|---|
| ftp/linux-rl9-curl | linux-rl9-curl | 7.76.1_13 | unaddressed | emulation@FreeBSD.org |
Template for a VuXML entry
Range taken from the CVE record, check it before committing. make newentry in security/vuxml creates the vid.
<vuln vid="FIXME (make newentry)">
<topic>FIXME -- FIXME</topic>
<affects>
<package>
<name>linux-rl9-curl</name>
<range><lt>8.21.0</lt></range>
</package>
</affects>
<description>
<body xmlns="http://www.w3.org/1999/xhtml">
<p>When a libcurl-based application performs transfers via `SCP://` or
`SFTP://`
and utilizes the `CURLOPT_SSH_KEYFUNCTION` callback, it may
silently accept an
untrusted server. This vulnerability occurs when a
server presents a host key
type that does not match the specific key
type already recorded for that host
in the `known_hosts` file. Instead
of rejecting the mismatch, the callback
mechanism fails to properly
enforce the restriction, allowing the connection
to succeed without
warning and risking a potential man-in-the-middle attack.</p>
</body>
</description>
<references>
<cvename>CVE-2026-9547</cvename>
<url>https://nvd.nist.gov/vuln/detail/CVE-2026-9547</url>
</references>
<dates>
<discovery>2026-07-03</discovery>
<entry>2026-10-25</entry>
</dates>
</vuln>