CVE-2021-4327
CWE-190Published: March 1, 2023· Updated: Jun 17, 2026
Official 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.
Risk Analysis
SerenityOS contains an integer overflow vulnerability in the LibJS library. This critical flaw can be triggered remotely and may lead to system compromise.
A public exploit has been disclosed for this vulnerability, but it is not in the CISA KEV. It is remotely exploitable with low attack complexity.
Apply the patch identified as f6c6047e49f1517778f5565681fb64750b14bf60 to the SerenityOS codebase.
Technical Analysis
CVE-2021-4327 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.8.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (8)
Quick Facts
Related CVEs (CWE-190)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2021-4327 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts