JLSEC-2026-1659: When libcurl uses libssh2 with a hashed `known_hosts` file, an unrelated initial entry can cause...

Published Dec 1, 2026
·
Updated

When libcurl uses libssh2 with a hashed knownhosts file, an unrelated initial entry can cause host key validation to report a key mismatch as a missing key to the CURLOPTSSHKEYFUNCTION callback.

Affected Software

2 affected componentsFixes available
julia/curl_jll*
julia/libcurl_jll>=7.70.0+0<8.23.0+0
8.23.0+0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade julia/LibCURL_jll to a version that resolves this vulnerability.

    Fixed in 8.23.0+0

Event History

Dec 1, 2026
Advisory Published
via OSV·03:35 PM
Data Sourced
via OSV·03:35 PM
DescriptionSeverityAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Deployments using libcurl with libssh2 and a hashed known_hosts file are affected by the described validation error. The issue is relevant to julia/curl_jll and julia/libcurl_jll installations that use this SSH host-key verification path.

2

What must an attacker be able to do to exploit the issue?

The vulnerable condition involves an SSH host-key mismatch being reported to CURLOPT_SSH_KEYFUNCTION as a missing key. Exploitation requires the relevant connection to use libssh2 with a hashed known_hosts file and to encounter the unrelated initial entry condition described.

3

How can I determine whether my application is affected?

Check whether the application uses CURLOPT_SSH_KEYFUNCTION for SSH host-key handling through libcurl/libssh2 and whether its known_hosts file is hashed. Also determine whether application callback logic treats a reported missing key differently from a key mismatch.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203