HSEC-2024-0008 Sign extension error in the PPC64le FFI
Sign extension errors in GHC's PPC64le FFI can cause incorrect values, leading to denial of service or potential buffer overflows.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Not stated
- Victim action needed
- Not needed
- Fix
- Available
What is HSEC-2024-0008?
HSEC-2024-0008 is a vulnerability in ghc, published on 14 Nov 2025.
Official description
Sign extension error in the PPC64le FFI
Numeric arguments of FFI call on the PPC64le backend may result in incorrect runtime values. For the most part, this bug only causes availability and data integrity issues. However, in some circumstances, it may result in other, more complicated security related flaws, such as buffer overflow conditions.
Which versions are affected by HSEC-2024-0008?
1 open source package ship an affected version, including ghc.
| Package | Affected | Fixed in |
|---|---|---|
ghc GHC | From 9.2.1 | 9.6.6, 9.8.3, 9.10.2 |
How do I fix HSEC-2024-0008?
Upgrade ghc to a fixed version for your release line: 9.6.6, 9.8.3 or 9.10.2.
Is HSEC-2024-0008 being exploited?
There is no known exploitation of HSEC-2024-0008 in the wild and no public exploit code.