mnl has segmentation fault and invalid memory read in `mnl::cb_run`
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | mnl (crates.io) | before 0.3.1 | 0.3.1 | Patch available | GHSA-585q-cm62-757j |
- mnl (crates.io) Vendor— Affected before 0.3.1 Fixed in 0.3.1 Patch available GHSA-585q-cm62-757j
Remediation
- Fix · GHSA-585q-cm62-757j mnl (crates.io) Fixed in 0.3.1 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-585q-cm62-757j
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences