Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. mnl
  4. ›
  5. GHSA-585q-cm62-757j

GHSA-585q-cm62-757j: mnl has segmentation fault and invalid memory read in `mnl::cb_run`

January 9, 2026 (updated February 10, 2026)

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.

References

  • github.com/advisories/GHSA-585q-cm62-757j
  • github.com/mullvad/mnl-rs
  • github.com/mullvad/mnl-rs/commit/61929d11c13b6cc4f864840a586fd48c6fd20ad9
  • github.com/mullvad/mnl-rs/issues/15
  • github.com/mullvad/mnl-rs/pull/21
  • rustsec.org/advisories/RUSTSEC-2025-0142.html

Code Behaviors & Features

Detect and mitigate GHSA-585q-cm62-757j with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.3.1

Fixed versions

  • 0.3.1

Solution

Upgrade to version 0.3.1 or above.

Impact 4 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-125: Out-of-bounds Read

Source file

cargo/mnl/GHSA-585q-cm62-757j.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:33 +0000.