RUSTSEC-2025-0142
LOWmnl has segmentation fault and invalid memory read in `mnl::cb_run`
The function mnl::cb_run is marked as safe but exhibits unsound behavior when processing malformed Netlink message buffers.
Passing a crafted byte slice to mnl::cb_run can trigger memory violations. The function does not sufficiently validate the input buffer structure before processing, leading to out-of-bounds reads.
This vulnerability allows an attacker to cause a Denial of Service (segmentation fault) or potentially read unmapped memory by providing a malformed Netlink message.
- Published
- 18 Oct 2025
- Last modified
- 10 Feb 2026
- Weakness
- CWE-125
- Also known as
- GHSA-585q-cm62-757j
- Sources
- OSV GHSA-585q-cm62-757jJSONOSVJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | mnl | < 0.3.1 | 0.3.1 |
| OSV | crates.io | mnl | >= 0.0.0-0, < 0.3.1 | 0.3.1 |
References
- https://github.com/mullvad/mnl-rs/issues/15 · WEB, REPORT
- https://github.com/mullvad/mnl-rs/pull/21 · WEB
- https://github.com/mullvad/mnl-rs/commit/61929d11c13b6cc4f864840a586fd48c6fd20ad9 · WEB
- https://github.com/mullvad/mnl-rs · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2025-0142.html · WEB, ADVISORY
- https://crates.io/crates/mnl · PACKAGE
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 Oct 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 9 Jan 2026)