CVE-2026-0821CWE-119CWE-122

quickjs-ng quickjs quickjs.c js_typed_array_constructor heap-based overflow

Medium · published January 10, 2026

CVSS v4.0
6.9
EPSS
1%
Percentile
43.3
In the wild
Unconfirmed
What it is

⚠️ A sneaky heap-based buffer overflow lurks in quickjs-ng versions up to 0.11.0, ready to be exploited with a clever manipulation! Think of it like a spill in a factory: if the assembly line isn’t careful, a little overflow can cause a huge mess, potentially stopping production altogether. In this case, attackers can leverage the overflow to manipulate memory and execute their code. If exploited, an attacker could potentially run arbitrary code on your machine, leading to unauthorized access or disrupting your application. This might not be a catastrophic breach, but it can definitely lead to vulnerabilities and headaches!

Put simply

Think of it like a spill in a factory: if the assembly line isn’t careful, a little overflow can cause a huge mess, potentially stopping production altogether. In this case, attackers can leverage the overflow to manipulate memory and execute their code. The vulnerability exists in the js_typed_array_constructor function within quickjs.c, allowing attackers to trigger a heap-based buffer overflow that may lead to code execution.

What to do

If exploited, an attacker could potentially run arbitrary code on your machine, leading to unauthorized access or disrupting your application. This might not be a catastrophic breach, but it can definitely lead to vulnerabilities and headaches! To secure your application, promptly apply the patch identified as c5d80831e51e48a83eab16ea867be87f091783c5. Updating to a version higher than 0.11.0 is essential to mitigate this risk. Don’t forget to test after applying the patch! You’ve got this! Apply the patch and secure your environment — your future self will thank you! 🛡️

The record
Technical detail
CVSS v4.0
6.9 · MEDIUM
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
EPSS
0.00520 · 43.3th percentile
Weaknesses
CWE-119 · Improper Restriction of Operations within the Bounds of a Memory Buffer; CWE-122 · Heap-based Buffer Overflow
Published
2026-01-10T13:02Z
EPSS history
Timeline
  • 10 JAN 13:02Z
    quickjs-ng quickjs quickjs.c js_typed_array_constructor heap-based overflow
    cvelistv5