A Leader in the 2025 Gartner® Magic Quadrant™ for Endpoint Protection Platforms. Five years running.A Leader in the Gartner® Magic Quadrant™Read the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI Security Portfolio
      Leading the Way in AI-Powered Security Solutions
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      Digital Forensics, IRR & Breach Readiness
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-1975

CVE-2025-1975: Ollama Server DoS Vulnerability

CVE-2025-1975 is a denial of service flaw in Ollama server 0.5.11 that allows attackers to crash the server through malicious manifest content. This article covers the technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2025-1975 Overview

A Denial of Service (DoS) vulnerability exists in Ollama server version 0.5.11 that allows malicious users to crash the server through improper validation of array index access. The vulnerability is triggered when downloading a model via the /api/pull endpoint, where an attacker can customize manifest content and spoof a service to cause improper array index access, resulting in a complete server crash.

Critical Impact

Remote attackers can cause service disruption by exploiting improper array bounds checking during model download operations, potentially affecting AI/ML workloads relying on Ollama infrastructure.

Affected Products

  • Ollama version 0.5.11
  • Ollama server deployments with exposed /api/pull endpoint
  • Systems running Ollama with network-accessible API interfaces

Discovery Timeline

  • 2025-05-16 - CVE-2025-1975 published to NVD
  • 2025-06-24 - Last updated in NVD database

Technical Details for CVE-2025-1975

Vulnerability Analysis

This vulnerability (CWE-129: Improper Validation of Array Index) occurs in the model download functionality of the Ollama server. When processing requests to the /api/pull endpoint, the server fails to properly validate array index boundaries when parsing manifest content. This allows an attacker to craft malicious manifest data that references out-of-bounds array indices, triggering an unhandled exception that crashes the server process.

The attack is network-accessible and requires no authentication or user interaction, making it particularly dangerous for publicly exposed Ollama instances. The impact is limited to availability—no data confidentiality or integrity compromise occurs—but service disruption can be significant for organizations relying on Ollama for AI/ML inference workloads.

Root Cause

The root cause is improper validation of array index access within the model manifest parsing logic. When the Ollama server processes a model pull request, it parses manifest content that contains array structures. The code fails to verify that array indices referenced in the manifest are within valid bounds before attempting to access them. This classic bounds checking error (CWE-129) allows attackers to supply manifest data with malicious index values that cause the application to access memory outside allocated array boundaries, resulting in a crash.

Attack Vector

The attack vector is network-based, targeting the /api/pull endpoint exposed by the Ollama server. An attacker can exploit this vulnerability by:

  1. Setting up a malicious service that responds with crafted manifest content
  2. Spoofing or redirecting model download requests to the malicious service
  3. Including manifest data with array indices that exceed valid bounds
  4. Triggering the server to process this malicious manifest during a pull operation

The vulnerability requires the attacker to have network access to the Ollama API endpoint. No privileges or user interaction are required, making this a straightforward remote DoS attack.

For technical details about the vulnerability mechanism, refer to the Huntr Bug Bounty Report.

Detection Methods for CVE-2025-1975

Indicators of Compromise

  • Unexpected Ollama server crashes or restarts during model download operations
  • Error logs indicating array index out-of-bounds exceptions or segmentation faults
  • Anomalous requests to the /api/pull endpoint from untrusted sources
  • Network connections to unknown or suspicious model registries

Detection Strategies

  • Monitor Ollama server logs for crash events correlated with /api/pull requests
  • Implement network-level detection for unusual model pull requests from external sources
  • Deploy application crash monitoring to detect repeated DoS attempts
  • Use endpoint detection to identify patterns of service disruption targeting AI/ML infrastructure

Monitoring Recommendations

  • Enable verbose logging on Ollama server instances to capture request details before crashes
  • Implement health checks with alerting for Ollama service availability
  • Monitor network traffic to and from Ollama servers for connections to untrusted model sources
  • Track server restart frequency as an indicator of potential exploitation attempts

How to Mitigate CVE-2025-1975

Immediate Actions Required

  • Restrict network access to the Ollama API endpoint using firewall rules or network segmentation
  • Implement authentication and authorization controls for the /api/pull endpoint
  • Configure Ollama to only pull models from trusted, verified registries
  • Deploy a reverse proxy with request validation in front of Ollama servers

Patch Information

Organizations should monitor the official Ollama project for security updates addressing this vulnerability. Check the Huntr Bug Bounty Report for the latest remediation guidance and patch availability. Upgrade from version 0.5.11 to a patched version as soon as one becomes available.

Workarounds

  • Restrict /api/pull endpoint access to trusted internal networks only
  • Implement network-level controls to prevent connections to untrusted model registries
  • Use application-level firewalls to validate and sanitize incoming API requests
  • Deploy Ollama behind an authenticated API gateway to prevent unauthorized access
bash
# Example: Restrict Ollama API access using iptables
# Allow only trusted internal network to access Ollama API (default port 11434)
iptables -A INPUT -p tcp --dport 11434 -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p tcp --dport 11434 -j DROP

# Alternative: Use firewalld to restrict access
firewall-cmd --permanent --add-rich-rule='rule family="ipv4" source address="10.0.0.0/8" port protocol="tcp" port="11434" accept'
firewall-cmd --permanent --add-rich-rule='rule family="ipv4" port protocol="tcp" port="11434" reject'
firewall-cmd --reload

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechOllama

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.18%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-129
  • Technical References
  • Huntr Bug Bounty Report
  • Related CVEs
  • CVE-2025-66960: Ollama DoS Vulnerability in GGUF Parser

  • CVE-2025-66959: Ollama GGUF Decoder DoS Vulnerability

  • CVE-2025-15514: Ollama Null Pointer Dereference DoS Flaw

  • CVE-2025-0312: Ollama DoS Vulnerability via GGUF Model
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • English
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use