जमा करें #731780: quickjs-ng quickjs v0.11.0 Heap-based Buffer Overflowजानकारी

शीर्षकquickjs-ng quickjs v0.11.0 Heap-based Buffer Overflow
विवरणA heap-buffer-overflow (out-of-bounds access) can be triggered in QuickJS-NG via side effects during js_typed_array_constructor. Root cause: When constructing a TypedArray(via Reflect.construct), js_typed_array_constructor calls js_create_from_ctor(ctx, new_target, classid), which performs a property lookup for prototype (JS_GetProperty(ctx, ctor, JS_ATOM_prototype)). A user-defined getter on new_target.prototype can run arbitrary JS at that point and resize or detach the input ArrayBuffer mid-execution. After returning, the constructor continues and typed_array_init is invoked with stale/outdated buffer assumptions, leading to out-of-bounds access on the resized/detached buffer. Affected version: quickjs-ng/quickjs commit 537d004cd22b86373c262528c7e8076eaf76996d (tested on 2026-01-05) Reproduction and ASAN crash details are publicly documented in: https://github.com/quickjs-ng/quickjs/issues/1296
स्रोत⚠️ https://github.com/quickjs-ng/quickjs/issues/1296
उपयोगकर्ता
 mcsky23 (UID 94179)
सबमिशन05/01/2026 04:11 PM (9 महीनों पहले)
संयम09/01/2026 07:24 PM (4 days later)
स्थितिस्वीकृत
VulDB प्रविष्टि340355 [quickjs-ng quickjs तक 0.11.0 quickjs.c js_typed_array_constructor बफ़र ओवरफ़्लो]
अंक20

Might our Artificial Intelligence support you?

Check our Alexa App!