Skip to content

Commit b36e0a3

Browse files
committed
Jackalope for Firefox
1 parent 505054d commit b36e0a3

3 files changed

Lines changed: 1091 additions & 0 deletions

File tree

FirefoxJackalope/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
### Fuzzing Firefox with Jackalope
2+
3+
This directory contains a .patch file that demonstrates how to fuzz Firefox code with [Jackalope fuzzer](https://github.com/googleprojectzero/Jackalope). The patch adds Jackalope as a FuzzerDriver in addition to to the existing ones (libfuzzer, AFL).
4+
5+
The .patch also contains a target and the corresponding grammar for fuzzing Firefox's XSLT implementation using Jackalope's grammar mutator. This setup resulted in the discovery of CVE-2025-1932.
6+
7+
Note: The patch was created in February 2025 and might not apply cleanly to later versions.
8+
9+
An example mozconfig file suitable for fuzzing is included in this directory.
10+
11+
Once Jackalope and Firefox have been built, the XSLT fuzzer can be ran using the following example command line:
12+
13+
```
14+
/path/to/Jackalope/build/fuzzer -grammar dom/xslt/fuzztest/ffgrammar.txt -instrumentation sancov -in empty -out out -t 5000 -delivery shmem -iterations 5000 -nthreads 6 -mute_child -target_env FUZZER=XSLTFuzzer -- objdir-ff-asan/dist/bin/firefox -m @@
15+
```
16+

0 commit comments

Comments
 (0)