Summary
libafl has unsound usages of core::slice::fromrawparts_mut
The library breaks the safety assumptions when using unsafe API slice::from_raw_parts_mut. The pointer passed to from_raw_parts_mut is misaligned by casting u8 to u16 raw pointer directly, which is unsound. The bug is patched by using align_offset, which could make sure the memory address is aligned to 2 bytes for u16.
This was patched in 0.11.2 in the commit.
Impact
Affected versions
Security releases
Kodem intelligence
Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.
Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.
Already deployed Kodem?
See it in your environmentNew to Kodem? Get a demo →Remediation advice
Kodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.
Frequently Asked Questions
- What is GHSA-F7QJ-V3VP-4856? GHSA-F7QJ-V3VP-4856 is a medium-severity security vulnerability in libafl (rust), affecting versions < 0.11.2. It is fixed in 0.11.2.
- Which versions of libafl are affected by GHSA-F7QJ-V3VP-4856? libafl (rust) versions < 0.11.2 is affected.
- Is there a fix for GHSA-F7QJ-V3VP-4856? Yes. GHSA-F7QJ-V3VP-4856 is fixed in 0.11.2. Upgrade to this version or later.
- Is GHSA-F7QJ-V3VP-4856 exploitable, and should I be worried? Whether GHSA-F7QJ-V3VP-4856 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
- What actually determines whether GHSA-F7QJ-V3VP-4856 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
- How do I fix GHSA-F7QJ-V3VP-4856? Upgrade
libaflto 0.11.2 or later.