The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • 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
      DFIR, Breach Readiness, & Compromise Assessments
    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
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • 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-54574

CVE-2025-54574: Squid-cache Squid RCE Vulnerability

CVE-2025-54574 is a heap buffer overflow RCE vulnerability in Squid-cache Squid that occurs when processing URN requests. This article covers the technical details, affected versions, security impact, and mitigation.

Published: March 11, 2026

CVE-2025-54574 Overview

CVE-2025-54574 is a heap buffer overflow vulnerability in Squid, a widely-deployed caching proxy for the web. The vulnerability exists in versions 6.3 and below, where incorrect buffer management during URN (Uniform Resource Name) processing can lead to heap memory corruption and potentially enable remote code execution. Attackers can exploit this flaw by sending specially crafted URN requests to vulnerable Squid proxy instances.

Critical Impact

This vulnerability allows unauthenticated remote attackers to potentially achieve remote code execution on Squid proxy servers through malicious URN requests, compromising network infrastructure and potentially enabling lateral movement within corporate networks.

Affected Products

  • Squid-cache Squid versions 6.3 and below
  • Systems running vulnerable Squid proxy instances with URN access permissions enabled
  • Network infrastructure relying on Squid for web caching and proxy services

Discovery Timeline

  • 2025-08-01 - CVE-2025-54574 published to NVD
  • 2025-11-05 - Last updated in NVD database

Technical Details for CVE-2025-54574

Vulnerability Analysis

This heap buffer overflow vulnerability (CWE-122, CWE-787) occurs during the processing of URN requests in Squid proxy. The flaw stems from improper buffer management in the HTTP reply parsing functionality, where boundary conditions are not correctly validated when handling URN data. When a maliciously crafted URN request is processed, the application writes data beyond the allocated heap buffer boundaries, corrupting adjacent memory structures.

The vulnerability requires no authentication and can be triggered remotely over the network with no user interaction required. An attacker exploiting this vulnerability could achieve complete system compromise, affecting the confidentiality, integrity, and availability of the target system.

Root Cause

The root cause lies in incorrect buffer management within Squid's URN processing code path. Specifically, the HTTP reply parsing functionality failed to properly validate buffer boundaries when serializing HTTP headers during storeClientCopy() operations. The fix introduces additional parsing safety mechanisms through parseTerminatedPrefix() to properly handle buffer sizes while respecting reply_header_max_size constraints.

Attack Vector

The attack vector is network-based, requiring an attacker to send specially crafted URN requests to a vulnerable Squid proxy server. The exploitation flow involves:

  1. Attacker identifies a Squid proxy server running version 6.3 or below with URN access enabled
  2. Crafted URN request is sent to the proxy server
  3. The malformed request triggers the heap buffer overflow during URN processing
  4. Memory corruption occurs, potentially allowing code execution in the context of the Squid process

The security patch introduces improved buffer handling in the HTTP reply parsing code:

c
    /// parses reply header using Parser
    bool parseHeader(Http1::Parser &hp);

    /// Parses response status line and headers at the start of the given
    /// NUL-terminated buffer of the given size. Respects reply_header_max_size.
    /// Assures pstate becomes Http::Message::psParsed on (and only on) success.
    /// \returns the number of bytes in a successfully parsed prefix (or zero)
    /// \retval 0 implies that more data is needed to parse the response prefix
    size_t parseTerminatedPrefix(const char *, size_t);

private:
    /** initialize */
    void init();

Source: GitHub Squid Commit

Detection Methods for CVE-2025-54574

Indicators of Compromise

  • Unexpected Squid proxy crashes or service restarts indicating potential exploitation attempts
  • Anomalous URN-related requests in Squid access logs with malformed or unusually long URN strings
  • Memory corruption indicators in Squid error logs or system crash dumps
  • Unusual outbound network connections from the Squid proxy host suggesting post-exploitation activity

Detection Strategies

  • Monitor Squid access logs for unusual URN request patterns or abnormally large URN payloads
  • Implement network intrusion detection rules to identify malformed URN requests targeting Squid proxies
  • Deploy memory corruption detection tools and monitor for heap overflow signatures
  • Use SentinelOne Singularity to detect exploitation attempts and post-compromise behaviors

Monitoring Recommendations

  • Enable verbose logging on Squid proxy servers to capture detailed request information
  • Configure alerting for Squid service crashes or unexpected restarts
  • Monitor network traffic to and from Squid proxy servers for anomalous patterns
  • Implement host-based monitoring for suspicious process spawning from Squid processes

How to Mitigate CVE-2025-54574

Immediate Actions Required

  • Upgrade Squid to version 6.4 or later which contains the security fix
  • Disable URN access permissions in Squid configuration as an immediate workaround if patching is not immediately possible
  • Review and restrict network access to Squid proxy servers to trusted sources only
  • Implement network segmentation to limit potential lateral movement if compromise occurs

Patch Information

The vulnerability has been fixed in Squid version 6.4. The patch addresses the buffer management issues in the HTTP reply parsing functionality by introducing proper boundary validation through the parseTerminatedPrefix() function. Organizations should upgrade to the fixed version as soon as possible. For detailed patch information, refer to the GitHub Security Advisory and the Squid 6.4 Release.

Workarounds

  • Disable URN access permissions in Squid configuration until patching can be completed
  • Implement access control lists (ACLs) to restrict which clients can make URN requests
  • Deploy a web application firewall (WAF) or reverse proxy to filter malicious URN requests before they reach Squid
  • Consider temporarily disabling Squid if URN functionality is not critical to operations
bash
# Configuration example - Disable URN access in squid.conf
# Add or modify the following ACL rules to deny URN requests
acl URN_deny urlpath_regex ^urn:
http_access deny URN_deny

# Reload Squid configuration
squid -k reconfigure

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechSquid

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability2.96%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-122

  • CWE-787
  • Technical References
  • GitHub Squid Release

  • Openwall OSS Security Post

  • Debian LTS Announcement
  • Vendor Resources
  • GitHub Squid Commit

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-32748: Squid-cache Squid DoS Vulnerability

  • CVE-2026-33526: Squid Caching Proxy DoS Vulnerability

  • CVE-2026-33515: Squid Information Disclosure Vulnerability

  • CVE-2025-62168: Squid Caching Proxy Info Disclosure Flaw
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
  • 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

English