Improper Validation of Specified Quantity in Input Affecting openssl package, versions >=0.9.24 <0.10.78


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.09% (25th 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 Learn

Learn about Improper Validation of Specified Quantity in Input vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-OPENSSL-16134627
  • published23 Apr 2026
  • disclosed22 Apr 2026
  • creditUnknown

Introduced: 22 Apr 2026

NewCVE-2026-41677  (opens in a new tab)
CWE-125  (opens in a new tab)
CWE-1284  (opens in a new tab)

How to fix?

Upgrade openssl to version 0.10.78 or higher.

Overview

openssl is a bindings for the Rust programming language.

Affected versions of this package are vulnerable to Improper Validation of Specified Quantity in Input via the invoke_passwd_cb password callback trampoline in the OpenSSL PEM key-loading path. An attacker can leak adjacent stack bytes into the derived decryption key by supplying a password callback return value larger than the scratch buffer and triggering EcKey::private_key_from_pem_callback on OpenSSL 1.1 or LibreSSL. This can expose memory contents during private key decryption and produce incorrect key material for users loading encrypted PEM keys.

CVSS Base Scores

version 4.0
version 3.1