Incorrect Type Conversion or Cast Affecting openssl package, versions >=0.9.24 <0.10.79


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

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-16425770
  • published6 May 2026
  • disclosed5 May 2026
  • creditUnknown

Introduced: 5 May 2026

NewCVE-2026-42327  (opens in a new tab)
CWE-704  (opens in a new tab)

How to fix?

Upgrade openssl to version 0.10.79 or higher.

Overview

openssl is a bindings for the Rust programming language.

Affected versions of this package are vulnerable to Incorrect Type Conversion or Cast in the X509Ref::ocsp_responders function. An attacker can trigger undefined behavior by providing a certificate with non-UTF-8 bytes in the OCSP accessLocation, which leads to the construction of a &str that violates the UTF-8 invariant.

CVSS Base Scores

version 4.0
version 3.1