Vulnerability DatabaseRUSTSEC-2025-0143

RUSTSEC-2025-0143: 
Rust vulnerability analysis and mitigation

The safe API functions constant::Reader::get and StructSchema::new rely on PointerReader::get_root_unchecked, which can cause undefined behavior (UB) by constructing arbitrary words or schemas.

Reader::get

pub fn get(&self) -> Result<<T as Owned>::Reader<'static>> {
    // ...
    // UNSAFE: access `words` without validation
}

StructSchema::new

pub fn new(builder: RawBrandedStructSchema) -> StructSchema {
    // ...
    // UNSAFE: access encoded nodes without validation
}

This vulnerability allows safe Rust code to trigger UB, which violates Rust's safety guarantees. The issue is resolved in version 0.24.0 by making constructor functions unsafe and mark the fields of struct as visible only in the crate.


Source: NVD

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

RUSTSEC-2026-0425HIGH7.5
  • Rust logoRust
  • nix-nar
NoYesOct 30, 2026
GHSA-2g9c-9w5g-4wrrMEDIUM5
  • Rust logoRust
  • openleadr-vtn
NoYesOct 30, 2026
RUSTSEC-2026-0428NONEN/A
  • Rust logoRust
  • orion
NoYesOct 30, 2026
RUSTSEC-2026-0426NONEN/A
  • Rust logoRust
  • orion
NoYesOct 30, 2026
GHSA-xcc6-f2jq-43x6MEDIUMN/A
  • Rust logoRust
  • orion
NoYesOct 29, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management