CVE-2026-0822
Heap-Based Buffer Overflow in quickjs-ng quickjs.js_typed_array_sort
Publication date: 2026-01-10
Last updated on: 2026-04-29
Assigner: VulDB
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| quickjs-ng | quickjs | to 0.11.0 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-119 | The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data. |
| CWE-122 | A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc(). |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability exists in the quickjs-ng quickjs library up to version 0.11.0, specifically in the js_typed_array_sort function within the quickjs.c file. It causes a heap-based buffer overflow due to improper manipulation during sorting. This flaw can be exploited remotely, and an exploit is publicly available. Applying the provided patch is recommended to fix the issue.
How can this vulnerability impact me? :
The vulnerability can lead to a heap-based buffer overflow, which may allow an attacker to execute arbitrary code remotely. This can compromise the affected system's integrity, confidentiality, and availability, potentially leading to unauthorized access or system crashes.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, it is recommended to deploy the patch identified by commit 53eefbcd695165a3bd8c584813b472cb4a69fbf5 that fixes the issue in quickjs-ng quickjs up to version 0.11.0.