CVE-2026-1145: Heap-based Buffer Overflow in quickjs-ng quickjs
A flaw has been found in quickjs-ng quickjs up to 0.11.0. Affected by this vulnerability is the function js_typed_array_constructor_ta of the file quickjs.c. This manipulation causes heap-based buffer overflow. The attack is possible to be carried out remotely. The exploit has been published and may be used. Patch name: 53aebe66170d545bb6265906fe4324e4477de8b4. It is suggested to install a patch to address this issue.
AI Analysis
Technical Summary
CVE-2026-1145 identifies a heap-based buffer overflow vulnerability in the quickjs-ng quickjs JavaScript engine, specifically in the function js_typed_array_constructor_ta located in quickjs.c. This function improperly handles typed array construction, leading to a heap overflow condition when processing maliciously crafted inputs. The vulnerability affects all versions up to and including 0.11.0. The flaw can be exploited remotely without requiring authentication or elevated privileges, but user interaction is necessary to trigger the vulnerability, such as processing malicious JavaScript code. The overflow can corrupt heap memory, potentially allowing attackers to execute arbitrary code, crash the application, or cause denial of service. The vulnerability has been assigned a CVSS 4.0 score of 5.3, reflecting medium severity due to the combination of remote exploitability, user interaction requirement, and limited impact on confidentiality, integrity, and availability. A patch identified by commit 53aebe66170d545bb6265906fe4324e4477de8b4 has been released to address this issue. No confirmed exploits are currently observed in the wild, but proof-of-concept code is publicly available, increasing the risk of exploitation. Quickjs-ng quickjs is commonly embedded in IoT devices, embedded systems, and applications requiring lightweight JavaScript engines, making this vulnerability relevant to those environments.
Potential Impact
The heap-based buffer overflow in quickjs-ng quickjs can lead to memory corruption, which attackers may leverage to execute arbitrary code remotely or cause application crashes resulting in denial of service. For organizations, this could mean compromise of devices or applications that embed quickjs-ng, potentially leading to unauthorized control, data breaches, or service disruptions. Given quickjs-ng's use in embedded and IoT devices, exploitation could affect critical infrastructure, consumer electronics, or industrial control systems. The requirement for user interaction limits automated widespread exploitation but targeted attacks remain feasible. The medium CVSS score reflects moderate risk; however, the availability of a public exploit increases the urgency for remediation. Organizations relying on quickjs-ng in their software stack must consider the risk of lateral movement or persistent compromise if exploited.
Mitigation Recommendations
To mitigate this vulnerability, organizations should immediately update quickjs-ng quickjs to versions beyond 0.11.0 that include the patch identified by commit 53aebe66170d545bb6265906fe4324e4477de8b4. Where updating is not immediately feasible, implement runtime mitigations such as enabling memory safety features, sandboxing the JavaScript engine execution environment, and applying strict input validation to prevent processing of untrusted or malformed JavaScript code. Employ network-level protections to limit exposure of services embedding quickjs-ng to untrusted sources. Security teams should monitor for indicators of compromise related to this vulnerability and apply intrusion detection signatures where available. Regularly audit embedded devices and applications for the presence of vulnerable quickjs-ng versions and prioritize patching accordingly.
Affected Countries
United States, China, Germany, Japan, South Korea, France, United Kingdom, India, Canada, Australia
CVE-2026-1145: Heap-based Buffer Overflow in quickjs-ng quickjs
Description
A flaw has been found in quickjs-ng quickjs up to 0.11.0. Affected by this vulnerability is the function js_typed_array_constructor_ta of the file quickjs.c. This manipulation causes heap-based buffer overflow. The attack is possible to be carried out remotely. The exploit has been published and may be used. Patch name: 53aebe66170d545bb6265906fe4324e4477de8b4. It is suggested to install a patch to address this issue.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-1145 identifies a heap-based buffer overflow vulnerability in the quickjs-ng quickjs JavaScript engine, specifically in the function js_typed_array_constructor_ta located in quickjs.c. This function improperly handles typed array construction, leading to a heap overflow condition when processing maliciously crafted inputs. The vulnerability affects all versions up to and including 0.11.0. The flaw can be exploited remotely without requiring authentication or elevated privileges, but user interaction is necessary to trigger the vulnerability, such as processing malicious JavaScript code. The overflow can corrupt heap memory, potentially allowing attackers to execute arbitrary code, crash the application, or cause denial of service. The vulnerability has been assigned a CVSS 4.0 score of 5.3, reflecting medium severity due to the combination of remote exploitability, user interaction requirement, and limited impact on confidentiality, integrity, and availability. A patch identified by commit 53aebe66170d545bb6265906fe4324e4477de8b4 has been released to address this issue. No confirmed exploits are currently observed in the wild, but proof-of-concept code is publicly available, increasing the risk of exploitation. Quickjs-ng quickjs is commonly embedded in IoT devices, embedded systems, and applications requiring lightweight JavaScript engines, making this vulnerability relevant to those environments.
Potential Impact
The heap-based buffer overflow in quickjs-ng quickjs can lead to memory corruption, which attackers may leverage to execute arbitrary code remotely or cause application crashes resulting in denial of service. For organizations, this could mean compromise of devices or applications that embed quickjs-ng, potentially leading to unauthorized control, data breaches, or service disruptions. Given quickjs-ng's use in embedded and IoT devices, exploitation could affect critical infrastructure, consumer electronics, or industrial control systems. The requirement for user interaction limits automated widespread exploitation but targeted attacks remain feasible. The medium CVSS score reflects moderate risk; however, the availability of a public exploit increases the urgency for remediation. Organizations relying on quickjs-ng in their software stack must consider the risk of lateral movement or persistent compromise if exploited.
Mitigation Recommendations
To mitigate this vulnerability, organizations should immediately update quickjs-ng quickjs to versions beyond 0.11.0 that include the patch identified by commit 53aebe66170d545bb6265906fe4324e4477de8b4. Where updating is not immediately feasible, implement runtime mitigations such as enabling memory safety features, sandboxing the JavaScript engine execution environment, and applying strict input validation to prevent processing of untrusted or malformed JavaScript code. Employ network-level protections to limit exposure of services embedding quickjs-ng to untrusted sources. Security teams should monitor for indicators of compromise related to this vulnerability and apply intrusion detection signatures where available. Regularly audit embedded devices and applications for the presence of vulnerable quickjs-ng versions and prioritize patching accordingly.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2026-01-18T13:43:22.716Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 696deac5d302b072d98c4bf0
Added to database: 1/19/2026, 8:26:45 AM
Last enriched: 3/3/2026, 1:17:48 AM
Last updated: 3/24/2026, 8:26:28 PM
Views: 86
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.