Skip to content

Response, New York. Noah Park: Check Point Patches Actively Exploited Management Server Path Traversal. Detection, Dallas. Ava Okello: Report Finds Nearly Half of Deployed Detections Need Attention Before SOCs Can Trust Them.

SOCtember

Always First. Fast SOC News.

Figure 3 from arXiv paper 2611.28584, a horizontal stacked bar chart of how 13 language models judged matched pairs of vulnerable functions and their fixed versions. Each bar splits into pair-wise correct in blue, pair-wise reversed in dark grey, both judged benign in light grey and both judged vulnerable in orange. Claude Opus 5.5 has the longest blue segment, close to 70 percent. GPT-6.1-sol and GPT-5.6-sol have large orange segments for pairs where both versions were judged vulnerable. CodeLlama-34B is almost entirely orange and Qwen2.5-Coder-7B almost entirely light grey.
Figure: Leizhen Zhang and Sheng Chen, University of Louisiana at Lafayette, arXiv:2611.28584 (CC BY-NC-ND 4.0), Fig. 3, outcome of the matched pairs for 13 models, reproduced unaltered from the PDF on a white background.

Opinion

Researchers Replayed Proofs of Concept for 515 Vulnerable C and C++ Functions and Found AI Vulnerability Detectors Point to the Faulty Line Far Better Than a Keyword Rule, Yet the GPT Models Still Called the Developer's Own Fix Vulnerable in About Half the Pairs, and Security Teams Should Make Every AI Finding Name the Input That Breaks the Code

A University of Louisiana at Lafayette study tested 13 language models against what actually happened when each vulnerability was triggered. The four commercial models cited the faulting line in 56% to 81% of functions, but no model reliably told a vulnerable function from its screened fix, and much of the edge on execution reasoning disappeared on 195 CVEs published after the models were trained. Elena Vos argues security teams should treat an AI verdict as a pointer, and make it show the input that breaks the code.

Elena Vos, OpinionLondon8 min read

LONDON - Security teams are being handed more vulnerability findings written by language models every month: code review bots on pull requests, scanners pointed at open-source dependencies, vendor tools that attach a neat paragraph explaining why a function is dangerous. The paragraph is persuasive. A new study asks the question that matters before anyone acts on it: when the model is right, is it right for the right reason?

The paper, posted to arXiv on Nov. 21 by Leizhen Zhang and Sheng Chen of the University of Louisiana at Lafayette, does not grade models against a vulnerability label alone. For 515 C and C++ functions from the BigVul and PrimeVul datasets, drawn from 152 projects with CVEs dating from 2005 to 2022, the authors reproduced each vulnerability with a proof of concept and recorded two facts from the faulting run: the line where the fault occurs, which they call the trigger line, and the statements the run actually depended on. Two of the authors also screened every developer fix, independently and before seeing any model output, and the fixed versions were run against the trigger input with sanitizers and other dynamic tests.

That gives a reference for the reason that does not depend on the model, the patch or a static analysis tool. As the authors put it, "A correct verdict can therefore rest on the wrong reason."

Screenshot of the arXiv abstract page for paper 2611.28584, Right Verdict, Right Reason? An Execution-Grounded Study of Whether LLM Vulnerability Detectors Understand Vulnerabilities, by Leizhen Zhang and Sheng Chen, submitted on 21 Nov 2026, with the full abstract and the subject listing Software Engineering, Artificial Intelligence, Cryptography and Security, and Programming Languages.
Image: arXiv (fair use).The abstract page for arXiv:2611.28584, captured Nov. 26, 2026.

A ladder of five tests, each with a shortcut to beat

The study runs 13 models, nine open-weight and four commercial (GPT-6.1-sol, GPT-5.6-sol, Claude Opus 5.5 and Claude Opus 4.8), up a ladder of five tests. Can the model tell a vulnerable function from its fixed version? Do the lines it cites point at the fault? Does its verdict change when that evidence is blanked out? Does it follow edits whose effect was confirmed by running the exploit? And given the driver and a concrete input, can it predict whether the run will fault?

Every test is paired with a baseline that needs no understanding at all, such as a rule that picks lines containing risky calls like memcpy, or a rule that assumes any added check is a fix. The authors then repeated the experiments on 195 CVEs from 100 projects published between Sept. 3 and Nov. 9, 2026, after the training cutoffs the vendors state for all four commercial models.

Figure 1 from arXiv paper 2611.28584, an overview diagram of the study. On the left, BigVul and PrimeVul supply a vulnerable function and its fixed version, a proof of concept is replayed on both builds, and the fixed version is screened by manual review and dynamic tests. In the middle, these produce the trigger line where the fault occurs, the dynamic slice of what the run depended on, and variants of the vulnerable function labelled by execution. On the right, five levels: L1 verdict on both versions against a surface classifier and chance, L2 cited lines against a keyword rule and random lines, L3 verdict with evidence blanked or marked, L4 verdict on confirmed edits against renaming and decoys, and L5 outcome of one run given the input against guard rules, benign input and a hidden body.
Figure: Zhang and Chen, arXiv:2611.28584 (CC BY-NC-ND 4.0), Fig. 1, overview of the five-level test ladder, reproduced unaltered from the PDF.

Good at pointing, poor at judging a fix

The encouraging result is localization. The trigger line is often a visibly risky statement, since 61.1% of trigger lines contain one of the keywords, so a keyword rule is a fair test. The four commercial models cited four to five lines per function and included the trigger line in 67.2% (GPT-6.1-sol), 58.6% (GPT-5.6-sol), 81.3% (Claude Opus 5.5) and 55.9% (Claude Opus 4.8) of functions, against roughly 25% to 28% for a keyword rule citing the same number of lines. That is a margin of 30.5 to 52.9 percentage points, and it held on the post-cutoff CVEs.

Table 4 from arXiv paper 2611.28584, showing for each of 13 models how often the cited lines contain the trigger line, alongside a keyword rule and random lines. Commercial models: GPT-6.1-sol 67.2 against 27.2 for the keyword rule, GPT-5.6-sol 58.6 against 25.7, Claude Opus 5.5 81.3 against 28.4, and Claude Opus 4.8 55.9 against 25.4, all marked significantly above. Open-weight models range from 8.3 to 39.7, with CodeLlama-34B, Qwen2.5-Coder-7B, VulnLLM-R-7B and Foundation-Sec-8B-Reasoning not distinguishable from the keyword rule.
Figure: Zhang and Chen, arXiv:2611.28584 (CC BY-NC-ND 4.0), Table 4, how often cited lines contain the trigger line, reproduced unaltered from the PDF.

The uncomfortable result is the first rung. The authors conclude: "No model reliably tells a vulnerable function from its screened fix." None of the nine open-weight models separated more vulnerable and fixed pairs than chance. The commercial models did better, and Claude Opus 5.5 separated 67.2% of pairs, but the two GPT models judged both the vulnerable function and the developer's screened repair vulnerable in 54.9% and 49.3% of pairs. The tendency grows with code size: GPT-6.1-sol called both versions vulnerable for 35.2% of pairs up to 30 lines long and for 81.1% of those beyond 200 lines.

Headline accuracy numbers hide this. CodeLlama-34B labelled almost every version vulnerable and scored an F1 of 0.665 while separating 0.0% of pairs. The authors' warning is that "F1 rewards indiscriminate vulnerable verdicts."

The models are not blind to the fix. Shown both versions side by side and asked which is vulnerable, the commercial models chose correctly for 96.0% to 99.0% of pairs, though a rule that simply picks the shorter version was right for 84.8%. "The capability that is missing is thus an absolute judgment of one function without a contrast," the authors write.

Give it the input and it reasons, until the code is new

The most practical finding sits at the top of the ladder. Given the test driver and a concrete input, the four commercial models predicted whether a run would fault with 86.3% to 94.6% accuracy, against 80.3% for a rule that knows the vulnerable version and treats every added check as a fix. The gain came mainly from the developer fixes: the models predicted at least 98.2% of them would run clean, where the rule managed 67.0%, and they spotted 70.0% to 95.0% of decoy edits that still faulted, against 15.0% for the rule. When GPT-6.1-sol predicted a fault, it named a line within two lines of the real fault site for 97.0% of versions.

Then came the post-cutoff test. On the 195 CVEs the models could not have seen in training, outcome accuracy fell to 70.2% to 78.2%, about 15 points lower, and the margin over the guard rule shrank to between minus 6.0 and plus 2.0 points, with intervals that all include zero. Claude Opus 5.5, the strongest model at telling pairs apart, fell from 67.2% to 37.1%. The authors say its earlier lead is consistent with training exposure, while noting that differences between the two sets of functions remain a possible explanation.

Figure 5 from arXiv paper 2611.28584, four panels of dot plots comparing the four commercial models' margins over each level's baseline before and after their training cutoffs. Blue circles mark the pre-cutoff set of CVEs up to 2022, and orange squares mark CVEs published after the training cutoffs. In the L1 panel Claude Opus 5.5 drops from about 43 points to about 16. In the L2 trigger-line panel margins stay well above zero for all four models. In the L5 outcome-accuracy panel the orange squares cluster around zero.
Figure: Zhang and Chen, arXiv:2611.28584 (CC BY-NC-ND 4.0), Fig. 5, margins over each baseline before and after the training cutoffs, reproduced unaltered from the PDF.

What security teams should take from it

This is an academic study with limits the authors spell out. It covers C and C++ functions with a reproducible proof of concept, which favours memory-safety faults and short call chains. Claude Opus 5.0 wrote the test harnesses and inputs, which the authors flag as something that could favour code Claude models read well, though Claude Opus 4.8 had the lowest outcome accuracy of the four commercial models. Fine-tuned detectors were not tested, and commercial models were queried once per prompt, with repeated queries giving the same answer for 83.0% to 86.9% of versions.

Even so, the shape of the results is clear enough to change how a security team handles AI findings.

  • Treat the cited lines as the useful part. The models are good at pointing at where a fault would occur, including on new code. Use that to route a human reviewer to the right place, not as a verdict that the code is exploitable.
  • Do not let an AI verdict decide whether a patch worked. A model shown only the patched function may still call it vulnerable, especially in long functions. If a review bot flags a fix, that alone is weak evidence that the fix failed.
  • Ask for the input. The paper's own recommendation is that a detector reviewing a patch "should see both versions" and "state the input under which it expects the fault." A finding that names a concrete input can be tested in a sanitizer or a staging build. A finding that cannot is a lead, not a ticket.
  • Discount benchmark scores on old CVEs. Public datasets are full of vulnerabilities the models may have seen in training. Ask vendors how their tool performs on flaws published after the model was trained, and on matched vulnerable and fixed pairs, not just F1.

AI code review will keep getting faster and more confident. This study is a reminder that confidence about where a bug lives is not the same as knowing whether it is still there.

About the Author

Elena Vos

Elena Vos covers SOC strategy and detection operations for SOCtember from London.

Related stories

Opinion desk