threat_intelligence2178 wordsRead on Arc Codex

AI-related software vulnerabilities: 2025

AI-related software vulnerabilities: 2025–2026 Why AI software vulnerabilities are increasing faster than the rest of the CVE landscape—and what defenders should do about it Key takeaways AI-related CVEs are growing at an accelerated pace. AI software produced roughly 870 CVEs in 2025, while the first five months of 2026 had already exceeded 1,200 vulnerabilities, indicating rapid growth in the AI attack surface. AI software vulnerabilities tend to be more severe and more exploitable. AI-related CVEs have higher average CVSS scores and higher EPSS-based exploitation risk than the broader vulnerability ecosystem. The highest-risk category isn't the model itself—it's the surrounding ecosystem. AI agent frameworks, tool integrations, LLM application platforms, and API-connected systems show the highest concentration of severe vulnerabilities, making them a priority for defenders. | From the desk of the CISO is authored by Arve Kjoelen, Chief Information Security Officer (CISO) at Barracuda. It examines the strategic implications of emerging security trends — not just the technical mechanics behind them. It is written for IT and security leaders who need to understand what is changing, why it matters and where to focus next — often before there is clear industry consensus. | AI and machine learning (ML) software has generated a steady stream of Common Vulnerabilities and Exposures (CVEs) in deep-learning frameworks, model-serving stacks, large language model (LLM) application platforms, agent frameworks and enterprise AI assistants. This article examines that body of AI-related software as a whole and compares it to the rest of the vulnerability corpus across 2025 and the first months of 2026: how severe its vulnerabilities are, how likely they are to be exploited, which weaknesses dominate, and who builds the affected software. Scope and data We draw on the National Vulnerability Database (NVD) and the Exploit Prediction Scoring System (EPSS). A CVE is counted as AI-related when our annotation pipeline classifies the affected software as AI/ML technology. The categories we track, with a few well-known examples of each, are: | Type of AI-related software | Well-known examples | | Hosted model APIs & models | OpenAI / GPT, Anthropic / Claude, Google Gemini | | Enterprise AI assistants | Microsoft 365 Copilot, GitHub Copilot, Security Copilot | | AI agent protocols & integrations | Model Context Protocol (MCP), Agent2Agent (A2A), LangChain agents | | Deep-learning frameworks | TensorFlow, PyTorch, Keras | | Machine-learning libraries | scikit-learn, XGBoost, MLflow | | Data-processing libraries | NumPy, Pandas | | NLP & transformer libraries | Hugging Face Transformers, LangChain, llama.cpp | | Classical NLP libraries | spaCy, NLTK, Gensim | | Computer vision | OpenCV, Pillow, torchvision | | Vector / similarity search | FAISS, Pinecone, Weaviate | | LLM application platforms & other AI software | Open WebUI, Dify, LibreChat | We single out software implementing the Model Context Protocol (MCP) as a highlighted subset in several charts, because it turns out to be the most divergent subcategory. Unless noted, charts cover CVEs published in 2025; the growth and year-over-year sections extend into 2026. Summary findings The surface is growing fast. Roughly 870 AI-related CVEs were published in 2025; the first five months of 2026 have already produced more than 1,200, on pace to comfortably double the year. AI-related vulnerabilities are more severe. Average Common Vulnerability Scoring System (CVSS) base score 7.09 versus 6.61 for everything else (a statistically significant gap), with roughly 55% rated High or Critical versus 44% for non-AI software. They are more reachable and more impactful. They skew toward network attack vectors, require fewer privileges, and carry higher confidentiality and integrity impact. Attack complexity and required user interaction, by contrast, are not distinguishing features for the AI cohort as a whole. The weakness profile is broad, not injection-dominated. Where MCP clusters around command injection, the wider AI cohort spreads across cross-site scripting, code injection, server-side request forgery, unsafe deserialization and missing authorization. Most of it is open source. The affected products are dominated by open-source LLM-application and agent projects; 59% of 2025 AI-related CVEs affect open-source software. Near-term exploitation risk runs higher than the baseline by EPSS, and the agentic / API-facing subcategories carry the most of it. Public threat-actor attribution is almost entirely absent. Of the roughly 2,100 AI-related CVEs across 2025–2026, exactly one is tied to named threat actors, and that single attribution is itself dubious. The AI attack surface is growing fast AI-related CVE publication climbed through 2025 and accelerated sharply into 2026: a cohort that produced about 870 CVEs in all of 2025 had already published more than 1,200 by the end of May 2026. Monthly counts that hovered around 50–95 for much of 2025 reached 347 in May 2026. The non-AI corpus grew too, but nowhere near as steeply; the AI share of new CVEs is rising, not holding constant. Severity Vulnerabilities in AI-related software are more severe than vulnerabilities in other software. The average CVSS base score is 7.09, against 6.61 for the non-AI baseline; the difference is statistically significant (Welch's t-test, p < 0.001). Seventeen percent of AI-related CVEs are rated Critical, almost double the 8.7% Critical rate in the rest of the corpus, and roughly 55% are High or Critical. The MCP subset is higher still, at an average of 7.62. The CVSS fingerprint Rather than chart each CVSS vector component separately, Figure 3 shows the share of each cohort sitting at the high-risk value of every component at once. The shape is the story. AI-related vulnerabilities are markedly more network-reachable (89% have a Network attack vector versus 73% for non-AI software) and require fewer privileges to exploit (59% need none, versus 48%). They also land harder when exploited, with elevated High-impact rates for confidentiality (48% vs 38%) and integrity (39% vs 31%). Attack complexity is low for about 91% of CVEs in both groups, and required user interaction is, if anything, marginally lower for AI software. This is worth stating plainly: the "agentic, probabilistic, high-complexity" exploitation pattern that characterized the MCP subset is not a property of AI-related software in general. The general cohort looks like ordinary network-exposed application software, only more so on reachability and impact. Which AI software is riskiest? Broken into subcategories, two patterns stand out. First, the self-hosted LLM application layer dominates by volume: LLM Application Platforms (Open WebUI, Dify, LibreChat, Lunary and similar) is now the single largest subcategory at 291 CVEs in 2025, with high severity (average 7.2) and the second-highest near-term exploitation risk by EPSS. Second, the agent protocols and integrations that wire models to tools, tops both measures: the highest average severity (7.6) and the highest EPSS-based exploitation risk. The transformer model-serving and ML-library layers (vLLM, Ollama, LlamaIndex, MLflow) sit just behind at 7.4–7.5. Enterprise AI assistants are more moderate (7.0), and the deep-learning frameworks rank lowest (6.5) The takeaway for defenders: the closer a piece of AI software sits to taking actions on a user's behalf (brokering model calls, wiring agents to tools, executing generated code), the worse its vulnerabilities tend to be. Common weaknesses This is where the general AI cohort diverges most sharply from MCP. The MCP subset was dominated by command injection: Common Weakness Enumeration (CWE)-78 (30%) and CWE-77 (23%) accounted for more than half of its CVEs. The wider AI cohort has no such dominant weakness. Its top weaknesses are cross-site scripting (CWE-79, 9.6%), code injection (CWE-94, 7.2%), missing authorization (CWE-862, 6.8%), unsafe deserialization (CWE-502, 6.6%) and server-side request forgery (CWE-918, 5.7%), with command injection present but no longer dominant. The profile reads like that of a fast-moving web-application ecosystem: model-serving and LLM-app projects expose HTTP endpoints, render model output into web UIs (Cross-site scripting, or XSS), fetch remote resources on the model's behalf (Server-side request forgery, or SSRF), load serialized model artifacts (deserialization) and bolt authentication on late (missing authorization). Unsafe deserialization and SSRF are far more prevalent here than in the non-AI baseline, because of how AI software loads model files and reaches out to external services. Who builds it, and the open-source question The vendors most represented in AI-related CVEs are, with few exceptions, open-source LLM-application and agent projects: the Linux Foundation, Dify, Lunary, vLLM, LibreChat, Hugging Face, Cursor and Open WebUI among them, alongside a small number of proprietary vendors such as Microsoft. Overall, 59% of 2025 AI-related CVEs affect open-source software and 41% proprietary. This open-source skew cuts two ways. It partly reflects transparency (anyone can file a CVE against an open project) rather than open source being inherently less safe. But it also reflects a genuine reality: much of the AI application layer is being built in fast-moving open-source projects that have not yet accumulated the security hardening of mature web frameworks. For consumers, the practical implication is that an AI deployment's risk surface is largely a supply-chain surface. Exploitability CISA's Known Exploited Vulnerabilities (KEV) catalog lists only about one in 300 CVEs and is too sparse to characterize a cohort this size, so we use EPSS, which estimates the probability of exploitation in the wild. By EPSS, AI-related vulnerabilities carry materially higher near-term exploitation risk: a mean of 0.017 versus 0.010 for non-AI software, with 1.3% scoring above 0.5 (versus 0.7%). The difference between the distributions is large and highly significant (Mann–Whitney, p < 0.001). The MCP subset is higher again, at 3.0% above 0.5. In short, the emerging AI ecosystem does not just produce more severe vulnerabilities; it produces vulnerabilities that are more likely to be exploited soon. Are threat actors targeting AI software yet? Here the answer is: not visibly, not yet. Across the roughly 2,100 AI-related CVEs published in 2025 and 2026, our attribution data ties exactly one to named threat actors: CVE-2026-22813, an HTML-injection flaw in the open-source AI coding agent OpenCode. And that attribution is a cautionary tale: it links a single open-source XSS bug to five unrelated state-aligned groups at once (Gamaredon, MuddyWater, Kimsuky, Mustang Panda and Volt Typhoon), a pattern that says far more about the noise in automated attribution than about any real campaign. The gap between attack surface and attribution is the point. The vulnerabilities are here, they are severe, and they are increasingly exploitable, but public attribution of who is exploiting AI software lags far behind. Defenders who wait for a named actor before treating this surface as a target will be waiting a long time. The leading indicators are the documented, unattributed exploitation cases in the MCP world: the unauthenticated Remote code execution (RCE) in MCP Inspector (CVE-2025-49596) and the command injection in mcp-remote (CVE-2025-6514), not a threat-intel label. Year over year: did 2026 get worse? So far, 2026 looks like more of 2025 rather than something qualitatively worse. The volume has surged, but the severity profile is essentially unchanged. | AI-related cohort | 2025 (full year) | 2026 (to date) | | CVEs published | 874 | 1,249 | | Average CVSS base score | 7.09 | 7.00 | | High or Critical | 55.3% | 54.8% | EPSS scores appear lower for the 2026 cohort, but that is an artefact rather than good news: EPSS for very recently published CVEs has not yet matured, so a current-year cohort will always look quieter than it eventually proves to be. The volume trend is the real story. Recommendations For software producers The weakness profile points to well-understood defenses applied to a new context. Treat AI-application code as the network-exposed web software it is: sanitize model output before rendering it (XSS), constrain and validate outbound requests (SSRF), avoid unsafe deserialization of model artifacts and untrusted payloads, and enforce authentication and authorization on every endpoint by default rather than as an afterthought. For agent and tool-calling components, add AI-specific controls on top: sandboxing, least-privilege scoping of the host context, tool signing/verification, and human-in-the-loop confirmation for sensitive actions. For enterprises (software consumers) Because the AI risk surface is overwhelmingly a supply-chain surface, inventory the open-source AI components in your stack the way you would any dependency, and track their advisories. Ask vendors and projects for penetration-test results focused on the weakness classes above, and prioritize patching for the agentic and API-brokering components that this data shows are both the most severe and the most likely to be exploited. Don't wait for threat-actor attribution to treat this surface as a target. Author: Arve Kjoelen. Data: NVD and EPSS, snapshot 10 Jun 2026 20:47 UTC. Cohorts defined by the project's AI-classification pipeline; the non-AI baseline is all other CVEs published in the same window. Counts reflect CVEs carrying the relevant data (e.g. a CVSS vector or an EPSS score) and exclude those that do not. Feel free to share, adapt, or build on this work; attribution appreciated but not required. Daily CVE analysis · Data: NVD, EPSS, CISA KEV, MITRE ATLAS, OWASP LLM Top 10 for LLMs 2026 Email Threats Report Learn how AI and phishing-as-a-service are reshaping the email threat landscape and how to stay protected Subscribe to the Barracuda Blog. Sign up to receive threat spotlights, industry commentary, and more. The Managed XDR Global Threat Report Key findings about the tactics attackers use to target organizations and the security weak spots they try to exploit

How it works

Once you click Generate, Ollama reads this article and crafts 5 comprehension questions. Your answers are graded against the article content — general knowledge won't be enough. Score 70+ to count toward your certificate.

Questions are cached — you'll always get the same 5 for this article.