Assertion failure: !cx->runtime()->jitRuntime()->disallowArbitraryCode(), at vm/Interpreter.cpp:407
Originally disclosed on Mozilla
- Fixed in 39 hours
- Paid in 8 days
- Disclosed after 39 hours
Created attachment 9530415
debug stack
'''js
for (var i = 0 ; i < 99 ; i++) {
[].__proto__.__proto__ = new Proxy(Object, Object);
Object.keys([]);
}
'''
'''
(gdb) bt
#0 0x0000555557370638 in MOZ_CrashSequence (aAddress=0x0, aLine=407)
at /home/msf2/shell-cache/js-dbg-64-linux-x86_64-256e8bad1a52-598750/objdir-js/dist/include/mozilla/Assertions.h:237
#1 js::RunScript (cx=cx@entry=0x7ffff5e3c200, state=...) at /home/msf2/trees/firefox/js/src/vm/Interpreter.cpp:406
#2 0x00005555573710fc in js::InternalCallOrConstruct (cx=0x7ffff5e3c200, args=..., construct=construct@entry=js::NO_CONSTRUCT, reason=<optimized out>)
at /home/msf2/trees/firefox/js/src/vm/Interpreter.cpp:618
#3 0x0000555557371da8 in InternalCall (cx=<optimized out>, args=..., reason=407, reason@entry=js::CallReason::Call)
at /home/msf2/trees/firefox/js/src/vm/Interpreter.cpp:653
#4 0x0000555557371fbd in js::Call (cx=<optimized out>, fval=fval@entry=..., thisv=thisv@entry=..., args=..., rval=...,
reason=reason@entry=js::CallReason::Call) at /home/msf2/trees/firefox/js/src/vm/Interpreter.cpp:685
#5 0x00005555574399a7 in js::Call (cx=0x7ffff5e3c200, fval=..., thisObj=<optimized out>, arg0=..., arg1=..., rval=...)
at /home/msf2/trees/firefox/js/src/vm/Interpreter.h:145
/snip
'''
'''
7c0e78c0e457-597167
7c0e78c0e4575dda295abed143b32888ac5a8f5d is the first interesting commit
commit 7c0e78c0e4575dda295abed143b32888ac5a8f5d
Author: Alex Thayer
Date: Wed Nov 19 21:05:46 2025 +0000
Bug 1995077 - Integrate with existing iterator indices optimizations r=iain
'''
Run with `--fuzzing-safe --no-threads --ion-eager`, compile with `AR=ar sh ~/trees/firefox/js/src/configure --enable-debug --enable-debug-symbols --with-ccache --enable-nspr-build --enable-ctypes --enable-gczeal --enable-rust-simd --disable-tests`, tested on gh rev 256e8bad1a52af07e29574baf4aaf02f05b39d93.
Note that a previous similar-looking bug 1853180 was marked sec-moderate.
Alex/Iain, is bug 1995077 a likely regressor?
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is known
A high-severity doS bug in JavaScript Engine. Mozilla made it public on 4 December 2025.
About DoS
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is DoS?
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.