CVE-2025-3416 Rust-openssl: rust-openssl use-after-free in `md::fetch` and `cipher::fetch`

Low 3.7 Published Updated

A use-after-free flaw in Rust OpenSSL bindings allows attackers to trigger undefined behavior or potential code execution via crafted property arguments.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-3416?

CVE-2025-3416 is a low-severity use after free vulnerability in Red Hat Directory Server 11, published on 8 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A flaw was found in OpenSSL's handling of the properties argument in certain functions. This vulnerability can allow use-after-free exploitation, which may result in undefined behavior or incorrect property parsing, leading to OpenSSL treating the input as an empty string.

Weakness: CWE-416

Which versions are affected by CVE-2025-3416?

Linux distribution packages (39)
389-ds SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOSAll versions2.2.10~git99.aa5d0ecbf-150500.3.36.1
389-ds SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSSAll versions2.2.10~git99.aa5d0ecbf-150500.3.36.1
s390-tools SUSE:Linux Enterprise Micro 5.3All versions2.31.0-150400.7.31.1
s390-tools SUSE:Linux Enterprise Micro 5.4All versions2.31.0-150400.7.31.1
s390-tools SUSE:Linux Enterprise Module for Basesystem 15 SP6All versions2.31.0-150600.8.16.1
s390-tools SUSE:Linux Enterprise Module for Basesystem 15 SP7All versions2.37.0-150700.4.3.1
python-cryptography SUSE:Linux Enterprise Module for Public Cloud 15 SP4All versions41.0.3-150400.16.22.1
python-cryptography SUSE:Linux Enterprise Module for Python 3 15 SP6All versions41.0.3-150600.23.6.1
python-cryptography SUSE:Linux Enterprise Module for Python 3 15 SP7All versions41.0.3-150600.23.6.1
389-ds SUSE:Linux Enterprise Module for Server Applications 15 SP6All versions2.2.10~git99.aa5d0ecbf-150600.8.20.1
s390-tools SUSE:Linux Enterprise Server 15 SP4-LTSSAll versions2.31.0-150400.7.31.1
389-ds SUSE:Linux Enterprise Server 15 SP5-LTSSAll versions2.2.10~git99.aa5d0ecbf-150500.3.36.1
389-ds SUSE:Linux Enterprise Server for SAP Applications 15 SP5All versions2.2.10~git99.aa5d0ecbf-150500.3.36.1
afterburn SUSE:Linux Micro 6.0All versions5.8.2-1.1
python-cryptography SUSE:Linux Micro 6.0All versions42.0.4-2.1
s390-tools SUSE:Linux Micro 6.0All versions2.31.0-2.1
afterburn SUSE:Linux Micro 6.1All versions5.8.2-slfo.1.1_1.1
python-cryptography SUSE:Linux Micro 6.1All versions42.0.4-slfo.1.1_2.1
s390-tools SUSE:Linux Micro 6.1All versions2.31.0-slfo.1.1_2.1
s390-tools SUSE:Manager Server 4.3All versions2.31.0-150400.7.31.1
kanidm SUSE:Package Hub 15 SP6All versions1.6.2~git0.a20663ea8-bp156.29.1
389-ds openSUSE:Leap 15.6All versions2.2.10~git99.aa5d0ecbf-150600.8.20.1
cargo-c openSUSE:Leap 15.6All versions0.10.3~git0.ee7d7ef-150600.3.6.1
kanidm openSUSE:Leap 15.6All versions1.6.2~git0.a20663ea8-bp156.29.1
python-cryptography openSUSE:Leap 15.6All versions41.0.3-150600.23.6.1
s390-tools openSUSE:Leap 15.6All versions2.31.0-150600.8.16.1
389-ds openSUSE:TumbleweedAll versions3.1.2~git90.2bc7250be-1.1
afterburn openSUSE:TumbleweedAll versions5.7.0.git103.bae893c-1.1
cargo-c openSUSE:TumbleweedAll versions0.10.3~git0.ee7d7ef-3.1
kanidm openSUSE:TumbleweedAll versions1.6.0~git0.d7ae0f336-1.1
ldap-proxy openSUSE:TumbleweedAll versions0.1.0~90-1.1
libetebase openSUSE:TumbleweedAll versions0.5.8-1.1
rust-keylime openSUSE:TumbleweedAll versions0.2.7+117-1.1
rustup openSUSE:TumbleweedAll versions1.28.1~0-2.1
s390-tools openSUSE:TumbleweedAll versions2.37.0-4.1
sccache openSUSE:TumbleweedAll versions0.9.1~22-2.1
sequoia-octopus-librnp openSUSE:TumbleweedAll versions1.11.0-2.1
tealdeer openSUSE:TumbleweedAll versions1.7.1-2.1
wasm-bindgen openSUSE:TumbleweedAll versions0.2.97~0-3.1

How do I fix CVE-2025-3416?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2025-3416 being exploited?

There is no known exploitation of CVE-2025-3416 in the wild and no public exploit code.

Sources

Also known as AZL-61804, DEBIAN-CVE-2025-3416, GHSA-mgh2-hf68-73c8, SUSE-SU-2025:01619-1, SUSE-SU-2025:01631-1, SUSE-SU-2025:01662-1 and 29 more.

Is CVE-2025-3416 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free