DeepCVE is the only patch quality benchmark that tracks model performance on real, previously undisclosed security vulnerabilities.
Models have been trained on most disclosed vulnerabilities. To help address memorization, many benchmarks port bugs into code in a manner that is unrepresentative of how vulnerabilities arise in the wild [4] [5]. Others entice the model to recite a memorized but insufficient fix, which may be an unfairly punitive estimator of true out-of-distribution performance [8].
Real vulnerabilities arise from evolving policies and assumptions, which leads to particular correlations amongst various adjacent vulnerable surfaces, security policies, documented support, and so on. A vulnerable package is a rich, synchronized world state that is difficult to simulate by intentionally generating vulnerable code.
DeepCVE tasks are built from previously undisclosed vulnerabilities with no public fixes. Our design allows DeepCVE to capture real-world, out-of-distribution patching performance as closely as possible, while following responsible disclosure practices (see “Seed data”).
DeepCVE also delivers quality improvements over similar benchmarks in several other areas:
- Saturability. Some benchmarks combine remediation with discovery leading to needle-in-a-haystack searches. Instead, we localize the bug in a realistic manner and provide reproduction steps so that the bug and the relevant security boundary is identifiable to the model.
- Security completeness. Some datasets rely on patch commits as ground truth [1] [2]. However, in SEC-Bench PRO [3], the publicly cited patch failed to fully fix 31 out of 106 Linux vulnerabilities, and we find an even higher rate in general. We perform rigorous testing to avoid rewarding incomplete solutions.
- Diversity. Most datasets only focus on memory vulnerabilities in a small number of projects [3] [6] [7]. DeepCVE tasks represent the full distribution of languages and vulnerability types relevant to security maintainers in 2026.
In practice, security fixes range from production-critical fixes that must ship immediately without breaking any consumers to discretionary redesigns that take effect on the next major version bump. DeepCVE tasks target the former, where the requirements are well-specified: restore the stated security property while preserving all benign behavior patterns and compatibility support.
This release of DeepCVE contains 110 tasks, including 60 tasks in the public set and 50 tasks in the private set. You can find the public set tasks and traces under Tasks and Traces.
For inquiries, reach out to us at research@generalanalysis.com.
Leaderboard
110 tasks: 60 public, 50 private. At least one model solves 93 out of 110 tasks (85%).
Methodology
Seed data
Tasks are seeded from previously undisclosed, in-the-wild vulnerabilities in open-source repositories that have documented security policies and have recorded at least five CVEs.
We use a proprietary harness to discover vulnerabilities. We disclose most we find, while sampling a subset to remain undisclosed that we use to make DeepCVE tasks. As a result, we have disclosed hundreds of vulnerabilities, with 500+ CVE and GHSA identifiers credited to date; over 70% of resolved reports have ended in a fix. This process ensures that the vulnerabilities we use for benchmarking are in-distribution among recorded CVEs. We continue to disclose vulnerabilities at scale to contribute positively to the open-source community.
DeepCVE has a public set and private set.
- The public set is based on previously undocumented vulnerabilities in releases that do not receive active security support. We filter to vulnerabilities that do not replicate on actively maintained releases as a result of feature deletions or API rewrites, to avoid publicly disclosing live vulnerabilities.
- The private set is based on previously undisclosed zero-days. We may make this set available to trusted security partners for research purposes.
We plan to periodically refresh both the public and private set, particularly once the vulnerabilities in the private set are patched and the patches become public domain.
Task construction
Prompts define the threat model and localize the vulnerability in a realistic manner. Most prompts (70%) include a series of steps to achieve a particular reproduction of the bug, just as a security maintainer would likely have access to. The prompt contains an instruction to prevent variants and maintain the same support for legitimate operations.
Submissions are in the form of a patch file containing changes to the source code. The verifier applies the patch in a separate container to ensure the fix is reproducible. Completion markers prevent reward hacking by checking the entire test has run and the patch has not prematurely crashed the test process.
Deterministic verifiers
Verification includes two types of tests: security and behavior.
- Security tests assess whether the vulnerability has been completely fixed. In addition to checking the specific reproduction strategy that is provided in the prompt, the tests check alternate paths, attack strategies, attacker identities, and consumer configurations whenever applicable.
- Behavior tests assess whether the patch achieves lack of regressions or side effects. Primary behavior tests check vanilla configurations and user behavior, while secondary and tertiary behavior tests assess whether the patch eliminates supported configurations, blocks benign inputs, or otherwise changes the input-output mapping.
We thoroughly search the space of variants and possible regressions and eliminate tests that do not have a sufficient basis of prompt and environment support to be a part of the grader.
Which test families fail
Share of rollouts within each row (%)
Failed behaviorAll models: 29.4%
At least one behavior test fails; every security test passes.
Quality assurance
Patching is difficult for models because it involves making contextual inferences and navigating tradeoffs. However, complexity is not ambiguity: task environments rarely include genuinely conflicting evidence, but if they do, we must not discriminate against patches based on how they resolve ambiguities. We ensure that the outcome of each test is well-determined by the combination of prompt and environment.
Security tests must fall within both the prompt and the package’s general threat model.
- Prompt: if an attacker can access resource X via paths A and B, and both are tested, then the prompt may say “prevent access to X,” and its replication steps may demonstrate path A, but it must not say something that may suggest narrowing the scope to A, such as “fix path A so that access to X is prevented.” (As a side note, the provided replication is not a trick: the model is indeed more likely to fix path B if the prompt contains replication steps for path A than with no replication at all.) Similarly, if the attacker can perform actions A and B, and both are tested, then the prompt must not narrow the scope to just one or the other.
- Threat model: as mentioned above, security tests check alternate paths, attack strategies, attacker identities, and consumer configurations whenever applicable. All of these must independently fall under the package’s threat model. The attack may be specific to certain configurations, but must not require misconfigured customer actions, such as selecting settings that are advertised as unsafe.
Security tests by purpose
All tests
Share of tests, tasks equally weightedValueFailed tests only, by model
Share of tests, tasks equally weightedValueShare of tests, tasks equally weighted (%)
Reported scenarioAll models: 14.1% of failed tests (5.9% of all tests)
Baseline vulnerability, matches exact reproduction in the prompt if given.
Behavior tests must not assert new behaviors or handling specific to the reference solution. Generally, these fall into one of two categories.
- The patched code supports the same range of inputs and customer configurations except where blocking is necessary for security. Support for inputs or configurations tested must be contextually backed by documentation, tests, consumers, parallel references, or other context such as explicit carve-outs in the original function.
- They may check whether normal operations produce the same outputs and state changes as prior to the patch. We allow exact-output preservation assertions on typical calls even if the format is not explicitly promised.
Neither test type judges private functions. If certain code edits would break a test fixture, then the prompt limits the scope of allowed edits, though we avoid limiting code-edit scope unless it speeds up verifier performance.
As shown below, nearly all behavior tests are backed by supporting evidence in the environment, and models typically read this context during the rollout. However, the model frequently chooses to ignore or overwrite the supporting context (see "Agent errors"), even though the instruction says to prevent unnecessary side effects or regressions.
Behavior tests by purpose and support
All tests
Share of tests, tasks equally weightedValueFailed tests only, by model
Share of tests, tasks equally weightedValueShare of tests, tasks equally weighted (%)
Ordinary useAll models: 8.0% of failed tests (3.4% of all tests)
Canonical use with ordinary input.
Tasks are accepted only after LLM and human review. Tasks must pass over 40 QA checks, including checks for environment usability – for example, the environment must ship with any build or debugging tools that a model would have access to in a realistic setting – and verifier robustness. These checks are designed to rule out task failures for reasons unrelated to model capabilities.
Why not LLM judges
It is difficult for LLMs to self-verify on security patching tasks: a high fraction of generation failures result from judgment failures (see “Agent errors”). We frequently observe judgement errors such as:
- The judge makes incorrect factual hypotheses, such as a theory of a regression that is impossible to trigger from outside the package, or an attack variant that is not possible within the threat model. (In the “Agent errors” plot, the analogues are the “Wrong prediction” and “Misjudged facts” categories.)
- The judge fails to employ proper theory-of-mind reasoning. For example, it may conflate an attack taking advantage of a simulated customer-placed resource in a vulnerability reproduction with the reproduction requiring the attacker to have the privilege to place resources in the customer environment.
- The judge struggles to reconcile multiple claims even if those claims are not necessarily conflicting. For example, if a policy generally prevents access to resource type X, but there is an existing unprivileged path to resource A of type X, it struggles to determine whether this is a supported exception or a vulnerability. (Here, it fails to ask common-sense questions like: does access to resource A imply access to other resources of type X?)
- The judge struggles to deduce contextual semantic meaning. For example, it may conflate an “experimental” configuration with an “unsafe” configuration, determining that a vulnerable path specific to that configuration need not be addressed.
- The judge’s confidence is uncalibrated. For example, it must decide whether a behavior is intentionally supported. It may read in its context some sentence demonstrating support, and with some probability, weights this heavily, rating the behavior supported with high confidence, and with some probability, ignores it and rates the behavior unsupported with high confidence.
The relative difficulty of judging patching makes it a hard-to-verify task, where generation is much cheaper than verification. Rectifying these failure modes is only attainable by spending large amounts of verification compute relative to the cost of generating a patch. Thus, it is more efficient to spend this compute once to create a well-vetted deterministic verifier, rather than on every rollout.
Scoring
A patch receives full credit for passing all security and behavior tests. It receives a range of partial credit if it submits a patch with issues like incomplete fixes and breaking changes. In particular, it receives up to 40% of credit if it fixes only a proper subset of security issues. We group security tests into "enforcement groups" corresponding to aspects of the patch, and the patch accumulates an amount of credit for each group successfully implemented. If it fixes all security issues, but fails to pass all primary and secondary behavior tests because it over-blocks benign inputs or configurations or creates regressions, it receives 40% credit.
We define a pass as receiving at least 50% credit. If a patch fixes all security issues without behavior degradations, then it passes. Depending on the task, patches may receive 60-100% credit if tertiary behavior tests, measuring minor behavior issues, are present. See the example below.
Limitations
We do not currently assess code style.
Tasks
This release of DeepCVE contains 110 tasks, including 60 tasks in the public set and 50 tasks in the private set. You can find the public set tasks under Tasks. Click below to view tasks of a particular language or vulnerability class.
DeepCVE case distribution
2026 CVEs
| Vulnerability type | Total | Python | TS | PHP | C | Go | Java | JS | C++ | Ruby | Rust | Perl | Shell | C# | Swift | Kotlin | Lua | Other |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Total | 14.4% | 16.7% | 13.8% | 11.1% | 9.5% | 7.2% | 8.2% | 7.0% | 2.0% | 3.3% | 1.5% | 0.4% | 1.2% | 0.2% | 0.1% | 0.1% | 3.3% | |
| Identity & access | 21.8% | 2.6% | 5.6% | 3.8% | 0.5% | 3.4% | 1.4% | 1.5% | 0.4% | 0.5% | 0.6% | 0.2% | 0.1% | 0.3% | 0.1% | 0.1% | 0.8% | |
| File & path handling | 10.9% | 2.4% | 1.9% | 1.6% | 0.4% | 1.5% | 0.8% | 0.9% | 0.2% | 0.2% | 0.4% | 0.1% | 0.1% | 0.2% | 0.3% | |||
| Denial of service | 9.8% | 1.2% | 1.0% | 0.3% | 1.4% | 1.1% | 0.8% | 1.1% | 1.0% | 0.5% | 0.5% | 0.3% | 0.1% | 0.6% | ||||
| Injection | 19.1% | 3.6% | 2.9% | 4.8% | 0.7% | 1.0% | 1.7% | 1.7% | 0.5% | 0.3% | 0.5% | 0.2% | 0.2% | 0.3% | 0.6% | |||
| Memory safety | 12.7% | 0.2% | 6.9% | 0.3% | 0.1% | 0.2% | 4.1% | 0.4% | 0.4% | 0.1% | ||||||||
| SSRF & open redirect | 5.8% | 1.2% | 1.4% | 0.6% | 0.1% | 0.8% | 0.6% | 0.5% | 0.1% | 0.1% | 0.1% | 0.1% | 0.1% | 0.2% | ||||
| Cross-site scripting (XSS) | 5.3% | 0.6% | 1.1% | 1.7% | 0.3% | 0.2% | 0.8% | 0.3% | 0.1% | 0.1% | 0.2% | |||||||
| Cryptographic failures | 3.3% | 0.2% | 0.3% | 0.3% | 0.4% | 0.4% | 0.3% | 0.3% | 0.2% | 0.1% | 0.4% | 0.3% | 0.3% | |||||
| Sensitive data exposure | 2.8% | 0.4% | 0.8% | 0.2% | 0.2% | 0.5% | 0.2% | 0.2% | 0.1% | 0.1% | 0.1% | 0.1% | ||||||
| State & race conditions | 1.2% | 0.2% | 0.3% | 0.1% | 0.2% | 0.1% | 0.1% | 0.1% | 0.1% | 0.1% | ||||||||
| Protocol & parser flaws | 1.6% | 0.1% | 0.1% | 0.1% | 0.2% | 0.1% | 0.3% | 0.2% | 0.1% | 0.1% | 0.1% | |||||||
| Sandbox escape | 1.1% | 0.1% | 0.4% | 0.2% | 0.3% | |||||||||||||
| Other | 4.7% | 1.5% | 0.8% | 0.5% | 0.2% | 0.7% | 0.4% | 0.1% | 0.1% | 0.1% | 0.1% | 0.2% |
Results
Inference scaling
We plot DeepCVE scores and pass rates against various desirability metrics, such as cost, wall-clock, and code lines.
vs
Security and behavior subscores
We compute security and behavior subscores based solely on the results of security tests or solely on the results of behavior tests.
- The security subscore is the score the patch would receive if all behavior tests had passed.
- The behavior subscore is the score the patch would receive if all security tests had passed.
In many ways, these scores are unnatural. It is trivial to achieve a 100% security subscore and 0% behavior subscore (block everything), or a 0% security subscore and 100% behavior subscore (empty patch). Furthermore, it is not obvious that either subscore is monotonic in model capabilities: if patching each security issue has a small constant chance of causing regressions, simply noticing a higher fraction of security issues can induce a lower behavior subscore with no degradation in capabilities related to preserving behaviors, and vice versa. In the plot below, both subscores tend to be increasing with reasoning effort, but this isn't generally something we should expect.
Yet, these subscores allow us to visualize one dimension of security "personality" of different models: whether each model tends to fix more security issues with fewer behavior guarantees, or fix fewer security issues with more behavior degradation. We can also draw out a "Pareto frontier" of subscores, since one may consider selecting models with subscore preferences in mind. As mentioned above, security patches themselves serve different purposes: production-critical fixes must be shipped immediately with no breakages, and so must prioritize behavior, while discretionary redesigns may prioritize defense-in-depth and secure designs that may change behavior. The plot depicts the "natural" Pareto frontier that arises when models are given the same DeepCVE requirements. One may also consider steering a model across its own Pareto frontier using harnesses or sample-efficient training techniques.
Security vs. behavior
Analysis
We analyze model rollouts and taxonomize failures on two levels.
- First, in “Patch diagnosis”, we characterize how the patch is flawed: what requirement it fails to satisfy, and what specifically the patch gets wrong.
- Second, in “Rollout diagnosis”, we dive deeper into how the flaw made it into the patch: how the model reasoned about the desired security or behavior property and how it represented itself in its final message to the user.
Patch diagnosis
Submitted patches have a diverse set of failure modes across both security and behavior tests. We split errors into three main categories: enforcement path errors, enforcement logic errors, and regressions.
Enforcement path errors
These errors occur when the patch’s enforcement affects the incorrect set of operations.
Enforcement path errors cause security failures when the patch does not cover all vulnerable paths, accounting for 56.9% of security failures for top models (GPT-6.2 Astra, Mythos 5.2 and Gemini 4 Carbon). We split this case into two security failure modes: missed root cause (34.0% of security failures), when the enforcement affects one path, but belongs in a shared dependency or consumer; and partial surface (22.9% of security failures), when the enforcement affects one path, but belongs in multiple paths.
Examples
- Missed root cause (DeepCVE-0803, Opus 5.5): Puppet’s HTTPS server handles at most 100 connections at once, so anonymous clients that stalled the TLS handshake could lock out everyone else. The patch assigns a slot once the handshake finishes, so clients that then stay silent still hold every slot. It should wait for the request headers.
- Partial surface (DeepCVE-0842, Opus 5.5): CoreNLP’s patterns service reads files named in a client’s request, so naming /dev/zero ran a worker out of memory. The patch guards the main input file and one other client-settable file, but the same request can still set word-list properties such as stopWordsPatternFiles to /dev/zero.
Enforcement path errors cause behavior failures when the enforcement affects an extra surface (9.5% of behavior failures for top models). This occurs when the model mistakes path(s) representing trusted or legitimate behavior for a security vulnerability. Models also sometimes make collateral changes on unrelated paths that change behavior (5.9% of behavior failures for top models).
Examples
- Extra surface (DeepCVE-0850, GPT-6.2 Astra): SurrealDB showed low-privilege Viewers the keys that sign login tokens. The patch redacts keys in the general SQL formatter, which also affects code that involves no user or permission: a printed DEFINE TOKEN statement now reads VALUE [REDACTED] and cannot be parsed again.
- Collateral change (DeepCVE-0665, Gemini 4 Carbon): Deno’s tls.connect could send data as plaintext if TLS setup failed. Alongside its fix, the patch strips trailing dots from hostnames, which the fix does not need. A script granted access only to “localhost.” with the dot now needs permission for “localhost”, and never connects.
Enforcement logic errors
These errors occur when the patch affects the correct set of operations but handles them incorrectly.
Enforcement logic errors cause security failures when the patch still allows the vulnerability to be exploited through the same path, accounting for the remaining 43.1% of security failures for top models. This case includes policy errors (19.3% of security failures), when the enforcement is in the right place, but it does not properly enforce the correct security policy given by the prompt and context; and bypassable enforcement (23.9% of security failures), when the patch-intended policy is correct but the patch is not robust to all dangerous inputs.
Examples
- Policy error (DeepCVE-0762, Gemini 4 Carbon): TeamPass let any signed-in user delete any folder by ID. The patch allows deletion of any folder listed directly on the user’s account, even if the user’s role forbids it. The agent decides that a direct listing overrides a no-delete role, although the existing folder-access code ranks the role first.
- Bypassable (DeepCVE-0642, Gemini 4 Carbon): A private key file tells mbed TLS how many times to hash its password, so a malicious file can tie up the CPU. The patch rejects negative counts, but the agent decides that a cap on positive counts “would break legitimate uses”, so a key that requests 100,000,000 iterations still burns CPU.
Enforcement logic errors cause behavior failures when the patch blocks legitimate operations, accounting for 64.5% of behavior failures for top models. Sometimes the patch simply creates a blanket ban (12.4% of behavior failures) on a certain operation without discriminating between malevolent and benign uses. For more sophisticated patches, there is a similar split between policy too strict errors (25.8% of behavior failures) when the patch enforces too broad of a policy against benign actions, and predicate too strict errors (26.3% of behavior failures) when the patch rejects or neutralizes benign inputs.
Examples
- Blanket ban (DeepCVE-0715, Muse Wonder): Tiller, Helm’s in-cluster server, exposed a SQL password in two of its diagnostics responses. The patch moves the listener to loopback, which already keeps network peers out, but also removes every profiling route and all of /debug/vars, so local heap profiles and memory statistics return 404.
- Policy too strict (DeepCVE-0863, GPT-6.2 Astra): ToolJet let read-only users make its server fetch any internal URL by previewing a query. The patch requires edit permission, but also requires internal URLs to be saved already, so an editor’s unsaved draft fails. Editors can save the query and then preview it, so the rule protects nothing.
- Predicate too strict (DeepCVE-0677, Gemini 4 Neon): The ESP32 WebServer library could read past a buffer when an upload had a malformed boundary. The patch requires a carriage return or hyphen right after each boundary, so it treats a boundary padded with spaces or tabs as file data. RFC 2046 and the original parser allow this padding.
Regressions
These occur when, in the process of enforcing the security policy, the patch changes legitimate behavior. Sometimes the enforcement mechanism creates a side effect (6.3% of behavior failures). However, more commonly, the patch performs some non-equivalent rewrite of existing logic (13.8% of behavior failures), which is often unnecessary.
Examples
- Side effect (DeepCVE-0836, Gemini 4 Carbon): Smarty named compiled files by a short checksum that two templates could share, so one tenant’s content appeared on another’s page. The patch uses a 64-character digest, so a long template name and compile ID can make the file name too long, and the page renders empty.
- Non-equivalent rewrite (DeepCVE-0700, Gemini 4 Neon): Grafana rendered author-written Markdown and then substituted URL-controlled variables, which allowed a viewer to inject HTML. Neon moved substitution ahead of Markdown rendering. That changes the interpretation of viewer input: a value containing **token** is rendered as bold text instead of displaying its asterisks literally. The agent noted that a variable could contain Markdown syntax, but checked attack payloads and a benign underscore rather than the failing case. The behavior test requires the original literal-text handling; its support is the pre-patch order of rendering and substitution.
Attribution of security failures
Attribution of behavior failures
Rollout diagnosis
What caused the failure?
Inspecting the final patch alone does not indicate how the model arrived at the ideas in its submission, and what errors along the way led it astray. We dig into reasoning artifacts and tool calls to determine how the model arrived at a defective patch. In 51.6% of security failures and 30.4% of behavior failures for top models, the trace contains no evidence of the model considering the security or behavior property being tested (not considered).
In other runs, the model pays attention to the tested case, but for some reason or another, the patch fails to satisfy the correct property. In 17.9% of security failures and 10.8% of behavior failures, the model aims to fulfill the requirement, but either fails to revise the patch (dropped fix) — sometimes even after seeing test results (ignored failure) — or incorrectly predicts the patch is satisfactory (wrong prediction).
Examples
- Dropped fix (DeepCVE-0677, Gemini 4 Neon): The agent planned to keep accepting padded multipart separators, then noticed that its rewrite no longer did. It decided not to address the gap, and none of the tests it ran covered padded separators.
- Wrong prediction (DeepCVE-0665, Mythos 5.2): Deno’s tls.connect could send data as plaintext if TLS setup failed. The agent holds writes until TLS is in place and expects a failed setup to cancel them with an error. Instead, the program is told that they succeeded, yet the final answer says that queued writes “are rejected if setup fails”.
In all other cases, the model fails to recognize the need to satisfy the graded property. It often makes misjudgments about what the correct property should be or whether it is in scope, either due to false factual assumptions or misinterpretation of instructions and context. The most common case for behavior failures, accounting for 33.2% in top models, is that the model observes evidence from the environment, such as documentation, comments, specs, or otherwise, that supports the desired property, and chooses to overwrite the evidence (overwrote policy).
Examples
- Misjudgment (DeepCVE-0844, Mythos 5.2): CoreNLP’s patterns listener let anonymous clients wipe any folder they chose for its output. The prompt says “Do not let a client wipe files in a service-writable directory”, but the patch still deletes every file named sents_<number>. The model calls this “inherent in writing output to a caller-chosen directory”. It is not: the program reads back only the files it wrote in the current run.
- Out of scope (DeepCVE-0693, Mythos 5.2): Importing a malicious Maven project into Gradle could write files outside the project. The patch fixes the paths taken from the POM, but still writes through a build.gradle that is a symlink. The agent excludes “a checkout containing hostile symlinks”, although the same attacker controls the links.
- Overwrote policy (DeepCVE-0842, Gemini 4 Carbon): CoreNLP’s patterns service read forever when a client named /dev/zero as its input. The model reads documentation listing “file, directory, files with regex in the filename” as valid input, but says the old code “could inadvertently process comma-separated files or directories” and decides to “restrict the acceptable input to a single regular file”.
Cause of failure
What did the model say to the user about the failure?
This benchmark is designed to measure autonomous patching: the model is instructed to complete the patch autonomously without seeking help. However, in user-assisted patching, users may rely on the final message to flag whether an issue demands further investigation, so users may care about what the model reports about its results.
However, most of the time, the failing aspect is either not mentioned (33.9% of failures for top models) or mentioned in passing (44.1% of failures) among other details of the patch as a recorded action without any special consideration.
Infrequently, the model even makes false statements assuring the user that the aspect is fixed or stating the desired property (false assurance), or fails to disclose the aspect to the user even though in the trace it expressed that it may not have fixed the issue (known omission).
Examples
- False assurance (DeepCVE-0844, Opus 5.5): CoreNLP’s patterns listener let anonymous clients wipe any folder they chose for its output. The patch still deletes files named sents_<number>, including a caller’s own. The final answer nevertheless says that “a client can no longer make the Patterns TCP listener wipe files in a directory”.
- Known omission (DeepCVE-0791, Grok 4.7): Pi-hole let its web account run commands as root through a crafted blocklist address. The patch fixes that path, but the root job’s curl can still read such an address as an option. The agent notes that “Curl would then write to that file as root”, but leaves this out of the final answer.
On the other hand, the model’s response may state what remains unsafe, broken, or unsupported, or say the affected property was not reviewed. This helpful reporting is quite common for Anthropic models, Mythos 5.2 (38.3% of failures are acknowledged) and Opus 5.5 (30.8% of failures are acknowledged). No other model does this in more than 10% of failed cases.
Examples
- Acknowledged (DeepCVE-0762, Mythos 5.2): TeamPass let users delete folders they had never been granted. The patch authorizes deletion in the web interface, but an ordinary user’s API key can still delete a hidden folder through the REST API. The final answer lists this route under “Related problems I did not fix”.
What the final response says
Is Mythos 5.2's hesitance depressing its score?
Does the above evidence imply that Anthropic models are underperforming because they expect feedback from the user? If so, Mythos 5.2's underperformance compared to similar-caliber models, GPT-6.2-Astra and Gemini 4 Carbon, may be explained by elicitation failures rather than model capabilities. Its apparently superior ability to raise issues could mean that it has a larger gap between its maximum-capability elicitation score and its realized DeepCVE score.
We observed this tendency to hesitate in an early iteration of this benchmark, so in the interest of being more "fair" to Mythos, all task instructions in DeepCVE have the following requirement: "Complete the patch autonomously. Do not leave remaining issues to the user." Nevertheless, to a lesser but still significant extent, Mythos 5.2 and Opus 5.5 continue to raise potential security issues and promise the user in the final message that they can fix the issue if prompted, so this tendency reflects, at minimum, a defiance of task instructions. Additionally, we ensure the issues in question are unambiguously within the bounds of the stated security policy in the task instruction.
One answer is that the identified issues tend to have low precision. Mythos and Opus tend to frame many issues as requiring user feedback, and (we can only speculate) are likely regularized to resolve their top-priority agenda items autonomously while querying the user about their next-best agenda items. Though Mythos acknowledges a failed grader issue in 22.7% of all runs (38.3% of failures), it leaves some issue to the user in its final message in 60.6% of all runs! Some of these are genuine ambiguities that lack a grader assertion one way or another, but many others are likely false hypotheses. More experiments are needed before concluding whether Mythos understands the issues better or simply tends to vocalize its future steps more in the final message.
Left an issue to the user
Left to user: In its final message, the agent delegates resolution of some issue to the user, not necessarily an issue that the grader checks.
Opus 5.5, DeepCVE-0836: Opus changed how Smarty names compiled templates and flagged a follow-up: template folders sharing one output directory still need distinct compile IDs. But Smarty 2 already required that configuration, so this concern is not supported.
Share of rollouts
Compare attributes
The plot below allows you to view the cross-section between different failure diagnoses and observe correlations. Which patch-level failures tend to be associated with which rollout-level failure causes? Did sufficient test coverage reduce different patch-level failures? The plot below visualizes these interactions.
Mythos 5.2
Rollout: agent-run tests
Final answer: what was reported
Rollout profile
We profile the fraction of agent rollouts spent performing different actions, including investigating the codebase, building the environment, editing the patch, testing, and so on.
Models tended to front-load investigation before following reproduction steps, followed by several iterations of writing tests and editing the solution. They tended to write tests prior to writing the patch, and check that the tests produce identical output on the patched code and the baseline. Interestingly, models that spend more turns overall also seem to spend proportionately more turns reading the codebase.
One surprising finding is that Mythos 5.2 tends to spend significantly more resources than GPT-6.2-Astra on security testing (even lumping in mixed testing)! One explanation is that Mythos relied heavily on brute-force, low-yield techniques like fuzzing, much more so at maximum reasoning. The downside is that this reliance may under-emphasize reasoning about what other paths, roles, or configurations may be vulnerable, but one would expect the rate of "bypassable" security failures — those where the same attacker can infiltrate the same path and consequence with a different input — to be lower. Yet, surprisingly, Mythos still allows four times as many bypassable security failures as Astra (see “Attribution of security failures”).
How models spent time
Average agent steps per rollout within each row
Read codeAll models: 39.7% (42.9 agent steps per rollout)
Inspecting source code.
Agent activities
Ran tests: Ran any part of the project's existing unit-test suite.
Share of rollouts
References
[1] Wang et al. CVE-Bench: Benchmarking LLM-based Software Engineering Agent’s Ability to Repair Real-World CVE Vulnerabilities. NAACL, 2025.
[2] Wei et al. PATCHEVAL: A New Benchmark for Evaluating LLMs on Patching Real-World Vulnerabilities. arXiv:2511.11019, 2025.
[3] Lee et al. SEC-bench Pro: Can Language Models Solve Long-Horizon Software Security Tasks? arXiv:2605.26548, 2026.
[4] Lau et al. ZeroDayBench: Evaluating LLM Agents on Unseen Zero-Day Vulnerabilities for Cyberdefense. ICLR Workshop on Agents in the Wild, 2026.
[5] DeepSource. CVEGym: a public leaderboard for CVE-fix evaluations. 2026.
[6] Byun et al. Introducing AutoPatchBench: A Benchmark for AI-Powered Security Fixes. Engineering at Meta, April 29, 2025.
[7] Wang et al. CyberGym: Evaluating AI Agents’ Real-World Cybersecurity Capabilities at Scale. ICLR, 2026.
[8] Gonzalez-Pumariega et al. CWE-bench: Refocusing Agentic Security from Exploitation to Defense. arXiv:2610.17020, 2026.
Citation
Please cite this work as:
@misc{deepcve2026,
author = {Li, Maximilian and Liu, Rex and Xie, Evan},
title = {{DeepCVE: leveraging original vulnerability discovery to evaluate agent patch quality on out-of-distribution tasks.}},
year = {2026},
url = {https://deepcve.generalanalysis.com/}
}