RUSTSEC-2025-0171 soundness issue

Not scored Published

A soundness issue in the mod3d_base Rust library allows unsafe pointer calculations via unchecked byte offsets, potentially leading to memory corruption or crashes.

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

What is RUSTSEC-2025-0171?

RUSTSEC-2025-0171 is a memory corruption vulnerability in mod3d-base, published on 6 May 2025.

Official description

mod3d_base::BufferData::as_ptr lack of sufficient checks to its public self field byte_offset and used unsafely to do the pointer calculation.

Which versions are affected by RUSTSEC-2025-0171?

1 open source package ship an affected version, including mod3d-base.

PackageAffectedFixed in
mod3d-base crates.ioFrom 0.0.0-00.3.0

How do I fix RUSTSEC-2025-0171?

Upgrade mod3d-base to 0.3.0 or later.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is RUSTSEC-2025-0171 being exploited?

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

Sources

Is RUSTSEC-2025-0171 in your software?

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

Check your SBOMs for free