Intel

AIKIDO-2025-10754

openssl is vulnerable to Unchecked Return Value to NULL Pointer Dereference

Unchecked Return Value to NULL Pointer Dereference Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Oct 29, 2025

20

Low Risk

This Affects:

RUBYopenssl
3.0.0 - 3.1.2
Fixed in 3.1.3
3.2.0 - 3.2.2
Fixed in 3.2.3
3.3.0 - 3.3.1
Fixed in 3.3.2
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to a Denial-of-Service (DoS) attack due to an API behavior change in OpenSSL 3.0, where the EVP_PKEY_get0() function can now return NULL, a case that was not possible in OpenSSL versions 1.1.1 and earlier. If an application does not implement a NULL check after this function call, an attacker could potentially provide a malformed or invalid key, causing the application to dereference a NULL pointer and crash.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

openssl is vulnerable to Unchecked Return Value to NULL Pointer Dereference in versions 3.3.0 - 3.3.1, 3.2.0 - 3.2.2 and 3.0.0 - 3.1.2.

How to fix this

Upgrade the openssl library to the patch version.