CVE-2026-0822
Unknown Unknown - Not Provided
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
A vulnerability was identified in quickjs-ng quickjs up to 0.11.0. This issue affects the function js_typed_array_sort of the file quickjs.c. The manipulation leads to heap-based buffer overflow. Remote exploitation of the attack is possible. The exploit is publicly available and might be used. The identifier of the patch is 53eefbcd695165a3bd8c584813b472cb4a69fbf5. To fix this issue, it is recommended to deploy a patch.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-01-10
Last Modified
2026-04-29
Generated
2026-05-07
AI Q&A
2026-01-10
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
quickjs-ng quickjs to 0.11.0 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
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.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart