arrow
Return

Fuzzing JavaScript JIT Compilers With Optimization Path Feedback

delete2026-05-08
delete0
PRE
AI
J
Jiming Wang
C
Chenggang Wu
Y
Yan Kang
Y
Yuhao Hu
Y
Yaojia Sun
J
Jikai Ren
Y
Yuanming Lai
M
Mengyao Xie
张超 (Chao Zhang)
T
Tao Li
Z
Zhe Wang
DOI:10.1109/tdsc.2026.3691462delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Just-In-Time (JIT) compiler is a core component of JavaScript engines, which takes JavaScript code as input and applies a series of optimization passes on it and transforms it to machine code.The optimization passes often have some assumptions (e.g., variable types) on the input program, and therefore will yield vulnerabilities if the assumptions are violated. To discover such bugs, it is essential to thoroughly test different optimization passes, but previous work fails to do so and mainly focused on exploring code coverage. In this paper, we present the first optimization path guided fuzzing solution for JavaScript JIT compilers, namely OptFuzz, which focuses on exploring optimization paths. Specifically, we utilize an optimization subpath metric to approximate the optimization path, and use it as feedback to guide seed preservation and seed scheduling. Furthermore, we identify optimization triggering by analyzing code transformations at the JIT intermediate representation (IR) level, and preserve optimization subpaths only when optimizations are triggered. We implemented OptFuzz on four baseline fuzzers and evaluated it on 4 mainstream JavaScript engines. On earlier engine versions, OptFuzz found several times more bugs than baselines. On the latest engines, OptFuzz discovered 52 new bugs, among which 43 have been confirmed or fixed.
Keywords:
Fuzzing
JIT compiler
JavaScript engine
optimization

Journal

IEEE Transactions on Dependable and Secure Computing cover
IEEE Transactions on Dependable and Secure Computing
IF:
7.5
Papers:
2.4K
Citations:
9.6K

Organization

T
tsinghua university
Scholars:
11.8W
Papers: 10.0W
Citations: 137
N
nankai university
Scholars:
4.7W
Papers: 3.2W
Citations: 74
C
chinese academy of sciences
Scholars:
56.2W
Papers: 44.8W
Citations: 704
researcher View more organizations