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

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/issues/15
  • 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. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.3.0

Solution

Unfortunately, there is no solution available yet.

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 Wed, 04 Feb 2026 00:36:09 +0000.