What’s Vulnerable › Vulnerabilities
CVE-2021-4327: SerenityOS TypedArray.cpp initialize_typed_array_from_array_buffer integer overflow
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2023-03-01 · updated 2026-06-17
- Weakness: CWE-190
Description
A vulnerability was found in SerenityOS. It has been rated as critical. Affected by this issue is the function initialize_typed_array_from_array_buffer in the library Userland/Libraries/LibJS/Runtime/TypedArray.cpp. The manipulation leads to integer overflow. The exploit has been disclosed to the public and may be used. Continious delivery with rolling releases is used by this product. Therefore, no version details of affected nor updated releases are available. The patch is identified as f6c6047e49f1517778f5565681fb64750b14bf60. It is recommended to apply a patch to fix this issue. VDB-222074 is the identifier assigned to this vulnerability.
Affected products
- SerenityOS: before 2021-01-27 — fixed in 2021-01-27
How to fix
Upgrade to a fixed version: SerenityOS 2021-01-27. Check the vendor advisory for mitigations.
References
- https://devcraft.io/2021/02/11/serenityos-writing-a-full-chain-exploit.html
- https://github.com/SerenityOS/serenity/commit/f6c6047e49f1517778f5565681fb64750b14bf60
- https://vuldb.com/?ctiid.222074
- https://vuldb.com/?id.222074
- https://devcraft.io/2021/02/11/serenityos-writing-a-full-chain-exploit.html
- https://github.com/SerenityOS/serenity/commit/f6c6047e49f1517778f5565681fb64750b14bf60
- https://vuldb.com/?ctiid.222074
- https://vuldb.com/?id.222074
Get alerted when CVE-2021-4327 or the next vulnerability affects your stack