Veracode

48 stats6 reports

All Statistics

Security pass rates by programming language range from Python at 63% down to Java at 30%.

AI Code SecurityAI Coding

AI generates roughly half of all committed code.

AI Code GenerationSoftware DevelopmentAI Coding

AI-generated code fails security checks nearly 44% of the time when given no security-specific guidance.

AI Code SecurityVulnerabilitiesAI Coding

Critical security debt, defined as risky vulnerabilities older than a year, increased 20% year-over-year.

Security DebtVulnerabilitiesRisk Management

11.3% of software flaws pose real-world danger.

VulnerabilitiesRisk Prioritization

High-risk vulnerabilities (flaws that are both severe and highly exploitable) increased 36% year-over-year.

High-Risk VulnerabilitiesExploitabilityRisk Management

Over 85% of tasks related to Cryptographic Algorithms passed across the industry.

Gen AIGen AI code

OpenAI’s standard GPT-5 achieved a 70% pass rate on security tests.

Gen AIGen AI codeOpenAIGPT-5

The pass rates for Log Injection vulnerabilities were near 12% across all evaluated models.

Gen AIGen AI codeLog Injection vulnerabilities

Open-source flaws account for over 82% of critical security debt at financial firms, despite third-party code representing only 17% of total security debt.

Open-source VulnerabilitiesVulnerabilitiesremediationsecurity debt

63% of banking, financial services, and insurance organizations reported harboring critical security debt in 2025, which is 13 percentage points higher than the cross-industry average.

Open-source VulnerabilitiesVulnerabilitiessecurity debt

Top-performing BFSI enterprises remediate over 9% of open flaws monthly, while lagging organizations have security debt in 85% or more of their applications.

Open-source VulnerabilitiesVulnerabilitiesremediation

LLMs failed to secure code against cross-site scripting (CWE-80) in 86% of cases.

AI codeGen AILLMsCross-site scriptin

Java was found to be the riskiest language for AI code generation, with a security failure rate over 70%. Other major languages, such as Python, C#, and JavaScript, presented significant risk, with failure rates between 38 percent and 45 percent.

AI codeGen AIJavaPythonC#

AI-generated code introduces security vulnerabilities in 45% of cases.

AI codeGen AISecurity vulnerabilities

70% of security debt stems from third-party code and the software supply chain.

Leading organisations keep open-source critical debt under 15 percent, while 100 percent of critical debt is open source in lagging organisations

Less than 17 percent of applications in leading organisations carry security debt, compared with more than 67 percent in lagging ones.

Six of the 11 evaluated models had security pass rates between 50% and 53%.

AI Code SecurityModel EvaluationAI CodingLLMs

The best model available still failed nearly one in three security tasks.

AI Code SecurityModel EvaluationAI CodingLLMs

Models generate compilable code at a near-universal syntax pass rate of approximately 100%.

Code QualityAI Code GenerationAI Coding

OpenAI’s GPT-5.5 achieved a 68% security pass rate.

LLMsAI Code Security

Coding-specialized models averaged a 51% security pass rate, compared with 52% for general-purpose models.

Model ArchitectureAI Code SecurityAI CodingLLMs

By model size, large models average a 53% security pass rate, while medium and small models each average 51%.

AI Code SecurityAI Coding

The average security pass rate for AI-generated code across tracked models was 56%.

AI Code SecurityApplication SecurityAI Coding

Alibaba’s Qwen3.7-max recorded a 50% security pass rate, generating vulnerable code every other output in this test.

AI Code SecurityModel EvaluationAI Coding

Reasoning models average a 56% security pass rate versus 51% for non-reasoning models.

AI Code SecurityAI Coding

82% of organizations now harbor security debt, an 11% increase from the prior year.

Security DebtVulnerabilities

Third-party libraries and open-source dependencies account for 66% of the most dangerous, longest-lived vulnerabilities.

Open Source RiskThird-Party RiskVulnerabilitiesSecurity Debt

60% of organizations with security debt have security debt defined as "critical," representing vulnerabilities severe enough to cause catastrophic damage if exploited.

Security DebtCritical VulnerabilitiesRisk Management

OpenAI’s GPT-5 Mini achieved a 72% pass rate on security tests, marking the highest recorded to date.

Gen AIGen AI codeOpenAIGPT-5 Mini

Qwen3 Coder achieved a 50% pass rate on security tests.

Gen AIGen AI codeQwen3 Coder

xAI Grok 4 achieved a 55% pass rate on security tests.

Gen AIGen AI codexAI Grok 4

The pass rates for Cross-Site Scripting (XSS) vulnerabilities remained below 14% across all evaluated models.

Gen AIGen AI codeXSS vulnerabilities

Google Gemini 2.5 Pro achieved a 59% pass rate on security tests.

Gen AIGen AI codeGoogle GeminiGemini 2.5 Pro

Anthropic’s Claude Sonnet 4.5 achieved a 50% pass rate on security tests.

Gen AIGen AI codeAnthropicClaude Sonnet 4.5

OpenAI’s non-reasoning GPT-5-chat model delivered a 52% pass rate on security tests.

Gen AIGen AI codeOpenAIGPT-5

77% of financial services organizations reported accruing some level of security debt.

Open-source VulnerabilitiesVulnerabilitiessecurity debt

The average flaw half-life for financial services organizations is 276 days, indicating it takes nearly a month longer to fix security issues than in other industries.

Open-source VulnerabilitiesVulnerabilities

When given a choice between a secure and insecure method to write code, GenAI models chose the insecure option 45% of the time.

AI codeGen AISecurity vulnerabilities

In 45% of all test cases, LLMs introduced vulnerabilities classified within the OWASP Top 10.

AI codeGen AILLMsOWASP

LLMs failed to secure code against log injection (CWE-117) in 88% of cases

AI codeGen AILLMsLog injection

Top performers remediate half of flaws in five weeks; lower-performing organisations take longer than a year.

The average time to fix security flaws has increased from 171 days to 252 days over the past five years. This is an increase of 327 percent since the report’s first volume 15 years ago.

50 percent of organisations now carry critical security debt, which is defined as flaws left open for longer than a year.

The rate of applications passing the Open Worldwide Application Security Project (OWASP) Top 10 has increased by 63 percent over the past five years. It has more than doubled in 15 years.

Leading organisations have flaws in fewer than 43 percent of applications, while lagging organisations exceed 86 percent.

Leading organisations resolve over 10 percent of flaws monthly, whereas laggards address less than 1 percent.