# RUSTSEC-2023-0024 - `openssl` `X509Extension::new` and `X509Extension::new_nid` null pointer dereference

Source: https://junglewise.ai/threats/rustsec-2023-0024-openssl-x509extension-new-and-x509extension-new-nid-256004e6  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-03-24  
License: CC BY 4.0 with a link back

Severity: info · Published 2023-03-24

`openssl` `X509Extension::new` and `X509Extension::new_nid` null pointer dereference

Technologies: [openssl (crates.io)](https://junglewise.ai/threats/technologies/crates-io-openssl). Vendors: [crates.io](https://junglewise.ai/threats/vendors/crates-io).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Informational severity, published 24 March 2023.

**Which products and versions are affected?** openssl (crates.io) SEMVER:introduced=0.0.0-0,fixed=0.10.48.

**Is there a fix for This vulnerability?** Yes. openssl (crates.io): upgrade to 0.10.48 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected?** Check whether you run openssl (crates.io) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- openssl (crates.io): upgrade to 0.10.48 or later

  ```sh
  cargo update -p openssl
  ```


## Affected products

- openssl (crates.io) SEMVER:introduced=0.0.0-0,fixed=0.10.48

## Related threats

- [rust-openssl heap overflow in CipherCtxRef::cipher_update_inplace](https://junglewise.ai/threats/cve-2026-45784-rust-openssl-heap-overflow-in-cipherctxref-cipher-update-inplace)
- [rust-openssl heap buffer overflow in AES key-wrap-with-padding](https://junglewise.ai/threats/cve-2026-44662-rust-openssl-heap-buffer-overflow-in-aes-key-wrap-with-padding)
- [rust-openssl undefined behavior in X509Ref::ocsp_responders](https://junglewise.ai/threats/cve-2026-42327-rust-openssl-undefined-behavior-in-x509ref-ocsp-responders)
- [rust-openssl buffer over-read in PSK and cookie callbacks](https://junglewise.ai/threats/cve-2026-41898-rust-openssl-buffer-over-read-in-psk-and-cookie-callbacks)
- [rust-openssl stack buffer overflow in MdCtxRef::digest_final](https://junglewise.ai/threats/cve-2026-41681-rust-openssl-stack-buffer-overflow-in-mdctxref-digest-final)
