Bug 2568141

Summary: CVE-2026-120440 quickjs-ng: quickjs-ng: Denial of Service via memory leak in atomic store operations [fedora-all]
Product: [Fedora] Fedora Reporter: Ganesh <gnaik>
Component: quickjs-ngAssignee: Artur Frenszek-Iwicki <fedora>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: fedora
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["0fb50b92-2d3c-4a38-997c-43a1902e9813"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-11-06 14:48:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2565315    

Description Ganesh 2026-11-06 14:14:19 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

QuickJS-NG before 0.16.0 contains a memory leak vulnerability in js_atomics_store() in quickjs.c that fails to free the converted value when returning a RangeError. Attackers running JavaScript can repeatedly call Atomics.store with a valueOf that detaches or shrinks the buffer to exhaust heap memory and cause denial of service.

Comment 1 Artur Frenszek-Iwicki 2026-11-06 14:48:07 UTC
> QuickJS-NG before 0.16.0
The version currently in Fedora Rawhide is quickjs-ng-0.18.0-1.fc46.
The version currently in Fedora 45 is quickjs-ng-0.17.0-1.fc45, with quickjs-ng-0.18.0-1.fc45 being in testing.