CVE-2026-9547 Affecting curl package, versions <8.5.0-2ubuntu10.10


Severity

Recommended
low

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.19% (9th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2404-CURL-17486973
  • published25 Jun 2026
  • disclosed3 Jul 2026

Introduced: 25 Jun 2026

NewCVE-2026-9547  (opens in a new tab)

How to fix?

Upgrade Ubuntu:24.04 curl to version 8.5.0-2ubuntu10.10 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream curl package and not the curl package as distributed by Ubuntu. See How to fix? for Ubuntu:24.04 relevant fixed versions and status.

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.