{"id":"RUSTSEC-2025-0171","summary":"soundness issue","details":"`mod3d_base::BufferData::as_ptr` lack of sufficient checks to its public self field `byte_offset` and used unsafely to do the pointer calculation.","modified":"2026-08-31T09:00:02.611451125Z","published":"2025-05-06T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/mod3d-base"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2025-0171.html"},{"type":"WEB","url":"https://github.com/atthecodeface/model3d"}],"affected":[{"package":{"name":"mod3d-base","ecosystem":"crates.io","purl":"pkg:cargo/mod3d-base"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.3.0"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"functions":["mod3d_base::BufferData::as_ptr"],"arch":[],"os":[]}},"database_specific":{"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2025-0171.json","categories":["memory-corruption"],"cvss":null,"informational":"unsound"}}],"schema_version":"1.9.0"}