PT-2024-40265 · Libafl · Libafl

Published

2024-12-23

·

Updated

2024-12-23

CVSS v4.0

6.9

Medium

VectorAV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions: LibAFL versions prior to 0.11.2
Description: The issue arises from the misuse of the slice::from raw parts mut API, where a pointer is misaligned due to a direct cast from u8 to u16 raw pointer, leading to unsound behavior. The problem is resolved by utilizing align offset to ensure memory address alignment for u16 to 2 bytes.
Recommendations: For versions prior to 0.11.2, update to version 0.11.2 or later to resolve the issue. As a temporary workaround, consider using align offset to align memory addresses to 2 bytes for u16 to minimize the risk of exploitation.

Fix

Related Identifiers

GHSA-F7QJ-V3VP-4856

Affected Products

Libafl