Deserialization functions pass uninitialized memory to user-provided ReadGHSA-m325-rxjv-pwph
GHSA-m325-rxjv-pwph is a CWE-908 vulnerability in messagepack-rs. The records list no fixed version yet; check the vendor advisory below and apply the mitigations in the meantime.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
messagepack-rsReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects crates.io packages — download data is not available via public APIs for these ecosystems.
Description
Affected versions of this crate passed an uninitialized buffer to a
user-provided Read instance in:
deserialize_binarydeserialize_stringdeserialize_extension_othersdeserialize_string_primitive
This can result in safe Read implementations reading from the uninitialized
buffer leading to undefined behavior.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🦀crates.io | messagepack-rs | all versions | No fix |
Affected Products
messagepack-rsmessagepack-rs_projectDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for messagepack-rs, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Remediation status
The records we use list no patched version of messagepack-rs for GHSA-m325-rxjv-pwph. Check the maintainer's advisory, and where your build allows, override or pin the dependency away from the vulnerable range.
Mitigate without a patch
Do not deserialise data from untrusted sources: where the format allows it, restrict deserialisation to an explicit allowlist of expected types, and prefer a data-only format (JSON, Protobuf) over one that can reconstruct arbitrary objects until you can upgrade.
Frequently Asked Questions
Is GHSA-m325-rxjv-pwph in your dependencies?
Find it across crates.io, including transitive dependencies.