Skip to main content
BenchLM
Data

CWE-bench v2 (CWE-bench)

We show this table for reference; we do not rank on it.

Data verified

Defensive vulnerability patching on 250 audit-and-patch tasks spanning 185 weakness types, 100 public and 150 held out.

Benchmark score on CWE-bench — November 13, 2026

We compile the CWE-bench rows from benchmark-owner or independent runs. Claude Fable 5.2 leads the table at 75.0%, followed by Gemini 4 Hydrogen (68.1%) and Claude Opus 5.5 (67.1%). We do not use these results to rank models overall.

14 modelsAgenticCurrentDisplay onlyUpdated November 13, 2026

Current releaseCWE-bench v2 · Released · 250 tasks (100 public, 150 held out) · Official leaderboard · Not comparable with v1

Benchmark score table (14 models)

Benchmark score results for CWE-bench
RankModel / configurationScoreParameters (B)Open / closed
1Claude Fable 5.2AnthropicRun by CWE-bench
75.0%
Not reportedClosed
2Gemini 4 HydrogenGoogleRun by CWE-bench
68.1%
Not reportedClosed
3Claude Opus 5.5AnthropicRun by CWE-bench
67.1%
Not reportedClosed
4Muse WonderMetaRun by CWE-bench
66.1%
Not reportedClosed
5Gemini 4 ArgonGoogleRun by CWE-bench
65.0%
Not reportedClosed
6GPT-6 AstraOpenAIRun by CWE-bench
64.2%
Not reportedClosed
7Hy4TencentRun by CWE-bench
64.1%
Not reportedPending
8DeepSeek V4.1 Flash 1017DeepSeekRun by CWE-bench
57.6%
Not reportedOpen
9Grok 4.7xAIRun by CWE-bench
54.7%
Not reportedClosed
10Hy4 previewTencentRun by CWE-bench
47.3%
Not reportedOpen
11Mistral Large 4MistralRun by CWE-bench
45.6%
Not reportedOpen
12Qwen3.8 MaxAlibabaRun by CWE-bench
45.4%
Not reportedOpen
13Kimi K3.1 ProMoonshot AIRun by CWE-bench
45.3%
Not reportedOpen
14GLM-5.3Z.AIRun by CWE-bench
42.0%
Not reportedOpen
  • Lab-reported
  • Benchmark-run
  • Independent
What the labels mean

CWE-Bench

CWE-Bench evaluates automated vulnerability patching. BenchLM stores exact provider-reported pass@1 results as display-only cybersecurity evidence until a stable benchmark-owned result artifact is available for the exact model setup.

CWE-Bench; source configurations remain separate from the canonical benchmark table.
Source rankSource model or configurationScoreWho ran itSource setupParameters (B)Open / closed
1Gemini 3.8 Flash CyberGoogle47.2%Reported by GoogleCollinearOriginal resultNot reportedClosed

CWE-bench version history

Every CWE-bench version BenchLM has recorded, newest first. Version 2 changes the task set (250 tasks, 185 weakness types, a public set of 100), so its pass@1 scores are not comparable with v1; ranks are the fairer way to follow a model across versions.

CWE-bench releases with their release date, task set, change and published leader.
VersionReleasedTasksWhat changedLeaderModels
CWE-bench v2CurrentNov 2, 2026250 tasks (100 public, 150 held out)Adds a public set of 100 tasks to 150 held-out ones and raises coverage from 73 to 185 weakness types. Pass@1 is over all 250 tasks.LeaderClaude Fable 5.2 75%Official board14 models
CWE-bench v1Sep 25, 2026120 held-out tasks120 held-out tasks across 73 weakness types, grouped by the OWASP Top 10. The source no longer shows this table; scores are as last captured on October 28, 2026.LeaderGemini 4 Carbon 71%Official board12 models

Rankings across CWE-bench versions

Each cell is the model’s rank among catalog models on that version’s leaderboard, with its pass@1 below. A dash means the model has no row on that version.

Model rank and score on each official CWE-bench leaderboard.
ModelCWE-bench v214 modelsCWE-bench v112 models
Claude Fable 5.2#175%Not on this board
Gemini 4 Hydrogen#268.1%Not on this board
Claude Opus 5.5#367.1%#567%
Muse Wonder#466.1%Not on this board
Gemini 4 Argon#565%#268%
GPT-6 Astra#664.2%#268%
Hy4#764.1%Not on this board
DeepSeek V4.1 Flash 1017#857.6%#855%
Grok 4.7#954.7%#268%
Hy4 preview#1047.3%#1053%
Mistral Large 4#1145.6%Not on this board
Qwen3.8 Max#1245.4%Not on this board
Kimi K3.1 Pro#1345.3%Not on this board
GLM-5.3#1442%Not on this board
Gemini 4 CarbonNot on this board#171%
Claude Fable 5.1Not on this board#658%
Grok 4.6Not on this board#757%
Muse Spark 1.3Not on this board#855%
GPT-6 SolNot on this board#1152%
InklingNot on this board#1237%

Previous releaseReleased · 120 held-out tasks · Official leaderboard · Not comparable with v2

CWE-bench v1

The deterministic programmatic pass@1 score requires blocking the exploit while preserving existing tests. Models use high reasoning, four rollouts per task, and a one-hour limit per rollout. Version 1 uses 120 tasks and stays separate from v0, pass@4, and judge-panel scores.

CWE-bench v1; source configurations remain separate from the canonical benchmark table.
Source rankSource model or configurationScoreWho ran itSource setupParameters (B)Open / closed
1Gemini 4 CarbonGoogle71.0%Run by CWE-bench v1Collinear AI · Original resultNot reportedClosed
2GPT-6 AstraOpenAI68.0%Run by CWE-bench v1Collinear AI · Original resultNot reportedClosed
3Gemini 4 ArgonGoogle68.0%Run by CWE-bench v1Collinear AI · Original resultNot reportedClosed
4Grok 4.7xAI68.0%Run by CWE-bench v1Collinear AI · Original resultNot reportedClosed
5Claude Opus 5.5Anthropic67.0%Run by CWE-bench v1Collinear AI · Original resultNot reportedClosed
6Claude Fable 5.1Anthropic58.0%Run by CWE-bench v1Collinear AI · Original resultNot reportedClosed
7Grok 4.6xAI57.0%Run by CWE-bench v1Collinear AI · Original resultNot reportedClosed
8DeepSeek V4.1 Flash 1017DeepSeek55.0%Run by CWE-bench v1Collinear AI · Original resultNot reportedOpen
9Muse Spark 1.3Meta55.0%Run by CWE-bench v1Collinear AI · Original resultNot reportedClosed
10Hy4 previewTencent53.0%Run by CWE-bench v1Collinear AI · Original resultNot reportedOpen
11GPT-6 SolOpenAI52.0%Run by CWE-bench v1Collinear AI · Original resultNot reportedClosed
12InklingThinking Machines Lab37.0%Run by CWE-bench v1Collinear AI · Original resultNot reportedOpen

Among the reported CWE-bench rows, Claude Fable 5.2 is first at 75.0%. The third row is 7.9 points behind. The broader top-10 range is 27.7 points, so the table still separates the published systems.

14 models have been evaluated on CWE-bench. The benchmark falls in the Agentic category. CWE-bench is currently displayed for reference but excluded from the scoring formula, so it does not directly affect overall rankings.

About CWE-bench

Year

2026

Tasks

Audit and patch C/C++, Go, Java, TypeScript/JavaScript, Python, and Rust repositories; 100 public and 150 held-out tasks

Format

Pass@1

Difficulty

Frontier agent evaluation

The deterministic programmatic pass@1 score requires blocking the exploit while preserving existing tests, over all 250 tasks. Models use high reasoning, four rollouts per task, and a one-hour limit per rollout. Version 2 (November 2, 2026) adds a public set of 100 tasks and raises coverage from 73 to 185 weakness types, so its scores are not comparable with v1, whose last scores stay on the same page. Pass@4 and judge-panel scores are separate metrics.

CWE-bench is one of the cyber benchmarks we track. The cybersecurity benchmark comparison sets it beside the others, one table per security job.

Freshness and provenance

Version

CWE-bench 2026

Refresh cadence

Quarterly

Staleness state

Current

Question availability

Public benchmark set

CurrentDisplay only

BenchLM uses freshness metadata to decide whether a benchmark should still be treated as a strong differentiator, a benchmark to watch, or a display-only reference. For the full scoring policy, see the BenchLM methodology page.

Questions

What does CWE-bench measure?

Defensive vulnerability patching on 250 audit-and-patch tasks spanning 185 weakness types, 100 public and 150 held out.

Which model scores highest on CWE-bench?

Claude Fable 5.2 by Anthropic currently leads with a score of 75.0% on CWE-bench.

How many models are evaluated on CWE-bench?

14 AI models have published results on CWE-bench in the BenchLM catalog.

Last updated: November 13, 2026 · BenchLM version CWE-bench 2026

Know when it’s worth switching models

The model to choose, the cheaper alternative, and the release we would wait on.

Read a sample issue

Join 7,000+ subscribers.

One email each week. Unsubscribe anytime.