| Bug found (vulnerable file) | 1 of 3 runs |
|---|---|
| Patched file clean of the bug | 3 of 3 runs |
| False or unrelated findings removed by Opus | 5 rejected; 0 unrelated kept (unverified) |
| Local scan time, 6 runs | 44 minutes on one Mac Studio |
| Opus cost, 6 runs | USD 1.45 (both passes) |
The bug
CVE-2025-65955 in ImageMagick, one of the vulnerabilities AISLE Research discovered and disclosed. Options::fontFamily() with an empty string frees the font field instead of the family field, leaving a dangling pointer behind.
- Class: Wrong pointer freed, double free / use after free (CWE-415)
- File:
Magick++/lib/Options.cpp, 996 lines - Vulnerable:
9c0546a6e2c3; fix:6f81eb15f822
What happened
The fix changed one word: the setter released the wrong field. Bugs like this are hard for a scanner, because the code looks correct line by line. It is only wrong compared with what it is supposed to do.
In runs 1 and 2 the local model looked elsewhere (unchecked allocations, a dash-pattern array) and Opus rejected what it kept. In run 3 it reported the fontFamily setter. Opus confirmed it at 97% and explained it the way a reviewer would: the line frees the font field, while the identical font() setter a few lines above shows the intended pattern.
The patched file kept one or two findings per run. Opus rejected all of them, citing ImageMagick conventions such as allocation failures that end the process instead of returning NULL.
Run by run
"Raised" are findings the local scan sent to triage, "kept" are the ones local triage believed. Opus then checked every kept finding.
| Run | Vulnerable file | Patched file |
|---|---|---|
| 1 | Missed. 3 raised, 1 kept; Opus: 0 confirmed, 0 uncertain, 1 rejected | 4 raised, 1 kept; Opus: 0 confirmed, 0 uncertain, 1 rejected |
| 2 | Missed. 1 raised, 0 kept; Opus: 0 confirmed, 0 uncertain, 0 rejected | 3 raised, 1 kept; Opus: 0 confirmed, 0 uncertain, 1 rejected |
| 3 | Found. 3 raised, 1 kept; Opus: 1 confirmed, 0 uncertain, 0 rejected | 4 raised, 2 kept; Opus: 0 confirmed, 0 uncertain, 2 rejected |
Kept by local triage: 2 on the vulnerable file and 4 on the patched file over three runs. In a second pass Opus also checked every finding the local triage rejected; it recovered none of the missed bugs.
Takeaway
Lifetime bugs are found sometimes, not reliably. When the local model does report one, the Opus check confirms it convincingly.
How we ran it
Same setup as our first benchmark: nano-analyzer with Qwen 3.6 35B A3B running locally on our Mac Studio, 5 triage rounds, three runs per file, then Claude Opus 4.6 as an optional paid second opinion on public code only. The model is never told which bug to expect. Results for all nine applications: the overview.
Questions or raw run data: [email protected].