GHSA-585q-cm62-757j: Mnl :cb_run` Vulnerability
LOWGHSA-585q-cm62-757j is a LOW :cb_run` vulnerability (CWE-125: Out-of-bounds Read) affecting Mnl libraries in the crates.io ecosystem. The issue involves :cb_run`. Remediation is available by upgrading affected packages to version 0.3.1.
GHSA-585q-cm62-757j at a Glance
How to Fix GHSA-585q-cm62-757j
To remediate this vulnerability, upgrade all affected Mnl dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade mnl to 0.3.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for mnl
How to Check if You Are Affected
To determine whether your application is affected by GHSA-585q-cm62-757j, inspect your project dependencies for Mnl:
inspect dependencies for mnl
Analyze the terminal output to locate any version of Mnl in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.3.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-125: Out-of-bounds Read, where the product reads data past the end, or before the beginning, of the intended buffer. In Mnl, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-585q-cm62-757j Affected Mnl Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
mnl
|
crates.io |
< 0.3.1
|
0.3.1
|
References
Frequently Asked Questions
What is GHSA-585q-cm62-757j?
Which Mnl versions are affected?
What version fixes GHSA-585q-cm62-757j?
Is mnl affected?
What CWE is associated with GHSA-585q-cm62-757j?
How can I check crates.io dependencies for GHSA-585q-cm62-757j?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-585q-cm62-757j",
"modified" : "2026-02-10T16:05:51Z",
"published" : "2026-01-09T19:53:23Z",
"aliases" : [ ],
"summary" : "mnl has segmentation fault and invalid memory read in `mnl::cb_run`",
"details" : "The function `mnl::cb_run` is marked as safe but exhibits unsound behavior when processing malformed Netlink message buffers.\n\nPassing 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.\n\nThis vulnerability allows an attacker to cause a Denial of Service (segmentation fault) or potentially read unmapped memory by providing a malformed Netlink message.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "mnl"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.3.1"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 0.3.0"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/mullvad/mnl-rs/issues/15"
}, {
"type" : "WEB",
"url" : "https://github.com/mullvad/mnl-rs/pull/21"
}, {
"type" : "WEB",
"url" : "https://github.com/mullvad/mnl-rs/commit/61929d11c13b6cc4f864840a586fd48c6fd20ad9"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/mullvad/mnl-rs"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2025-0142.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-125" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-01-09T19:53:23Z",
"nvd_published_at" : null
}
}