# Anthropic says Claude found 11 of 21 logic bugs without hints

Published 2026-12-02 · AI.info Team · AI.info

> Anthropic tested four AI-assisted methods against a benchmark of previously patched software logic bugs. Its agentic code-review approach found 11 of 21 bugs without hints, while fuzzing and symbolic execution found none in that setting.

An AI agent reviewing code rediscovered 11 of 21 previously patched logic bugs without hints, while two more elaborate approaches found none under the same conditions, according to research published by [Anthropic](https://www.anthropic.com/research/finding-logic-bugs). The company tested four methods for finding software errors that can escape conventional automated checks.

The work, published December 2 by Anthropic's Frontier Red Team, also examined whether the approaches could find previously unknown bugs. The researchers described findings in Caliptra, macOS, eBPF and the Rust compiler.

## Testing against old bugs

Logic bugs arise when software behaves contrary to rules that govern how it should work. Unlike an invalid memory access, such an error may not cause a crash or another failure that a general-purpose detection tool can readily recognize.

The benchmark covered 21 historical bugs from open-source projects: nine in SQLite, three in zstd, one in brotli and eight in image-png. They were disclosed between 2016 and 2026 and had since been patched.

For each technique, the researchers gave the model unpatched source code and asked it to submit an input that would trigger the bug. A grader compared the input's effect on the unpatched and patched code, treating a difference in return value or output as a successful trigger.

The researchers ran each technique three times per bug and reported the total rediscovered across those runs. A run could submit up to 1,000 inputs, but received no feedback during the run on whether they had triggered the intended bug.

## Review versus specialized tools

The benchmark had a blind setting, in which the model had to infer the relevant rule from the source code, and an informed setting, in which it was also given the rule that the bug violated. All four techniques used Claude Mythos 5.

The agentic code-review method gave the model source access and the ability to run inputs against compiled code. Another method asked it to write informal correctness proofs in natural language and turn unresolved claims into test inputs. The other approaches used the model to assist fuzzing or symbolic execution, which explores code using symbolic inputs and constraints.

Anthropic reported that code review rediscovered 11 bugs in the blind setting and 20 in the informed setting. Informal proofs found eight and 21, respectively. The symbolic-execution approach found 13 with information about the violated rules and none without it; the fuzzing approach found one with that information and none without it.

Anthropic said the model found the informed symbolic-execution results during its own source review while preparing the test setup. The symbolic execution engine confirmed two of those bugs but did not add findings beyond the model's review.

## Limits of the benchmark

Because the benchmark used historical bugs, a model might remember them from training data rather than rediscover them, the researchers noted. They tested for this by asking models about the bugs without providing source code.

Claude Opus 5 and later models remembered between eight and 10 of the 10 bugs made public between 2016 and 2024, according to the research, and at most one of the 11 later bugs. The paper said the comparison among the four techniques was less exposed to memorization because they all used the same model.

The scoring method also assumed that a technique producing a valid input had correctly reasoned about the violated rule; the grader did not explicitly verify that assumption. Beyond the historical benchmark, the researchers tested the ability to find previously unknown logic bugs on four target programs.

## Anthropic on AI.info

- Company: [Anthropic](https://ai.info/companies/anthropic) — Anthropic is an AI safety and research company that builds reliable, interpretable, and steerable AI systems, including Claude.

## Sources

1. Original source [Anthropic](https://www.anthropic.com/research/finding-logic-bugs) “Finding logic bugs without general-purpose bug oracles” anthropic.com

## Companies in this story

- [Anthropic](https://ai.info/companies/anthropic)

## Related stories

- [Anthropic study links deliberate AI use to reported wellbeing](https://ai.info/news/anthropic-claude-users-wellbeing-ai-use-study)
- [Anthropic says unreleased AI model found 18-year-old firmware flaw](https://ai.info/news/anthropic-ai-model-server-firmware-vulnerability)
- [Anthropic’s Claude finds theoretical quantum attack on lattice cryptography](https://ai.info/news/anthropic-claude-lattice-cryptography-quantum-attack)
- [Anthropic makes Claude available on premises through AWS AI Factories](https://ai.info/news/anthropic-claude-on-premises-aws-ai-factories)
- [CT fat measurements linked to CKM syndrome stages in AI study](https://ai.info/news/ai-ct-fat-biomarkers-ckm-syndrome-study)

## Explore

[More articles](https://ai.info/news)

---

Canonical: https://ai.info/news/anthropic-ai-logic-bug-finding-research
