Stack-based Buffer Overflow Affecting openssl package, versions >=0.10.39 <0.10.78


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (13th 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-RUST-OPENSSL-16134559
  • published23 Apr 2026
  • disclosed22 Apr 2026
  • creditUnknown

Introduced: 22 Apr 2026

NewCVE-2026-41681  (opens in a new tab)
CWE-121  (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 Stack-based Buffer Overflow through the MdCtxRef::digest_final() function in the digest context handling code. An attacker can corrupt memory by supplying an output buffer shorter than the digest size, causing the finalization routine to write past the end of the caller-provided slice. This can crash the process and, in unsafe contexts, lead to stack corruption and arbitrary code execution.

CVSS Base Scores

version 4.0
version 3.1