Improper Certificate Validation Affecting libcurl-devel package, versions <0:8.3.0-1.amzn2.0.14


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.53% (47th 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-AMZN2-LIBCURLDEVEL-22520504
  • published13 Nov 2026
  • disclosed20 Oct 2026

Introduced: 20 Oct 2026

CVE-2026-87865  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 libcurl-devel to version 0:8.3.0-1.amzn2.0.14 or higher.
This issue was patched in ALAS2-2026-4099.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libcurl-devel package and not the libcurl-devel package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

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

CVSS Base Scores

version 3.1