# GHSA-mj73-j457-8x9q: maxminddb's `Reader::open_mmap` unsoundly marks unsafe memmap operation as safe

- Severity: Low (CVSS:4.0, scored by GitHub) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2025-11-28T12:00:00.000Z
- Modified: 2025-12-11T17:44:40.337Z
- Also known as: RUSTSEC-2025-0132
- Weaknesses: CWE-915

## 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.

(As written by GitHub Advisory Database.)

## Affected

- maxminddb (crates.io): from 0.11.0 before 0.27.0

## References

- <https://github.com/oschwald/maxminddb-rust/issues/86> (report, web)
- <https://github.com/oschwald/maxminddb-rust/commit/98f0e4fff9678c841ed33f3b8a46322f6163c32a> (web)
- <https://github.com/oschwald/maxminddb-rust> (package)
- <https://rustsec.org/advisories/RUSTSEC-2025-0132.html> (advisory, web)
- <https://crates.io/crates/maxminddb> (package)

## Sources

- GitHub Advisory Database: [GHSA-mj73-j457-8x9q](https://github.com/advisories/GHSA-mj73-j457-8x9q), CC-BY-4.0, modified 2025-12-11
- RustSec Advisory Database: [RUSTSEC-2025-0132](https://rustsec.org/advisories/RUSTSEC-2025-0132.html), CC0-1.0, modified 2025-12-02

---

Page: https://cve.day/GHSA-mj73-j457-8x9q · Whole record: https://cve.day/GHSA-mj73-j457-8x9q.json · Rebuilt by cve.day 2026-11-25T22:56:43.285Z
