Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-3979: Use After Free in quickjs-ng quickjs

0
Medium
VulnerabilityCVE-2026-3979cvecve-2026-3979
Published: Thu Mar 12 2026 (03/12/2026, 03:32:14 UTC)
Source: CVE Database V5
Vendor/Project: quickjs-ng
Product: quickjs

Description

A flaw has been found in quickjs-ng quickjs up to 0.12.1. This affects the function js_iterator_concat_return of the file quickjs.c. This manipulation causes use after free. The attack requires local access. The exploit has been published and may be used. Patch name: daab4ad4bae4ef071ed0294618d6244e92def4cd. Applying a patch is the recommended action to fix this issue.

AI-Powered Analysis

AILast updated: 03/12/2026, 03:59:20 UTC

Technical Analysis

CVE-2026-3979 identifies a use-after-free vulnerability in the quickjs-ng quickjs JavaScript engine, affecting versions 0.12.0 and 0.12.1. The vulnerability resides in the function js_iterator_concat_return within the quickjs.c source file. Use-after-free occurs when the program continues to use memory after it has been freed, leading to memory corruption, crashes, or potentially arbitrary code execution. This specific flaw can be triggered by a local attacker with limited privileges (PR:L) without requiring user interaction (UI:N). The attack vector is local (AV:L), meaning the attacker must have access to execute code on the target system. The vulnerability impacts confidentiality, integrity, and availability to a limited extent (VC:L, VI:L, VA:L), as the scope is local and exploitation complexity is low (AC:L). The exploit has been publicly disclosed, increasing the risk of exploitation despite no known widespread attacks. The recommended remediation is to apply the patch identified by commit daab4ad4bae4ef071ed0294618d6244e92def4cd, which corrects the memory management flaw in the affected function. Quickjs is a lightweight JavaScript engine often embedded in applications and devices, so the vulnerability could affect a range of software depending on quickjs-ng usage.

Potential Impact

The use-after-free vulnerability in quickjs-ng quickjs can lead to memory corruption, causing application crashes or potentially enabling local privilege escalation or arbitrary code execution. Since exploitation requires local access, remote attacks are not feasible without prior compromise. However, attackers who gain limited local access could leverage this flaw to escalate privileges or disrupt services. This could impact embedded devices, development tools, or applications embedding quickjs, especially those running on Linux or other systems where local user access is common. The vulnerability could result in denial of service or compromise of confidentiality and integrity of the affected system. Organizations relying on quickjs-ng in their software stacks may face increased risk of insider threats or attacks from compromised local accounts. The medium CVSS score reflects moderate risk but should not be underestimated due to the availability of a public exploit.

Mitigation Recommendations

Organizations should promptly apply the patch identified by commit daab4ad4bae4ef071ed0294618d6244e92def4cd to all affected versions of quickjs-ng quickjs (0.12.0 and 0.12.1). Beyond patching, restrict local access to systems running quickjs to trusted users only and implement strict access controls and monitoring to detect suspicious local activity. Employ memory protection mechanisms such as Address Space Layout Randomization (ASLR) and Data Execution Prevention (DEP) to reduce exploitation success. Conduct code audits and fuzz testing on applications embedding quickjs to identify similar memory management issues. For environments where patching is delayed, consider isolating or sandboxing applications using quickjs to limit impact. Maintain up-to-date inventories of software dependencies to quickly identify affected components. Finally, educate developers and system administrators about the risks of local vulnerabilities and the importance of timely patching.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulDB
Date Reserved
2026-03-11T14:26:13.418Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69b236b22f860ef943fc88b1

Added to database: 3/12/2026, 3:44:50 AM

Last enriched: 3/12/2026, 3:59:20 AM

Last updated: 3/13/2026, 11:21:00 PM

Views: 12

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses