GHSA-mj73-j457-8x9q
low
maxminddb's `Reader::open_mmap` unsoundly marks unsafe memmap operation as safe
- Severity
- low CVSS:4.0 by GitHub
- Published
- Last changed
- Also known as
- RUSTSEC-2025-0132
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| maxminddb (crates.io) | from 0.11.0 before 0.27.0 | GitHub Advisory Database, RustSec Advisory Database |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-mj73-j457-8x9q changed 2025-12-11 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2025-0132 changed 2025-12-02 | CC0-1.0 |