GHSA-mj73-j457-8x9q
LOWmaxminddb's `Reader::open_mmap` unsoundly marks unsafe memmap operation as safe
maxminddb prior to version 0.27 declared Reader::open_mmap as safe despite wrapping an inherently unsafe memmap2 operation with no extra step done to guarantee safety. This could have led to undefined behaviour if the file were to be modified on disk while the memory map was still active.
- Published
- 28 Nov 2025
- Last modified
- 11 Dec 2025
- Weakness
- CWE-915
- Also known as
- RUSTSEC-2025-0132
- Sources
- OSVJSONOSV RUSTSEC-2025-0132JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | maxminddb | >= 0.11.0, < 0.27.0 | 0.27.0 |
References
- https://github.com/oschwald/maxminddb-rust/issues/86 · WEB, REPORT
- https://github.com/oschwald/maxminddb-rust/commit/98f0e4fff9678c841ed33f3b8a46322f6163c32a · WEB
- https://github.com/oschwald/maxminddb-rust · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2025-0132.html · WEB, ADVISORY
- https://crates.io/crates/maxminddb · PACKAGE
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Nov 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 2 Dec 2025)