Security mailing lists by PureSourceCode

RUSTSEC-2024-0424

MEDIUM

libafl has unsound usages of `core::slice::from_raw_parts_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.

Published
19 Dec 2024
Last modified
28 Oct 2025
Also known as
GHSA-f7qj-v3vp-4856
Sources
OSV GHSA-f7qj-v3vp-4856JSONOSVJSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io libafl < 0.11.2 0.11.2
OSV crates.io libafl >= 0.0.0-0, < 0.11.2 0.11.2

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 19 Dec 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 23 Dec 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.