Heap Buffer Overflow Vulnerability in Squid Package - CVE-2025-54574

squid Updated 02 Oct 2025

Summary

01/08/2025
N/A
No i
Critical
9.8

CVE-2025-54574: Squid is a caching proxy for the Web. Affects squid across 2 version ranges.

< 1d8175b27fc1c347649d4f221ff2633e8d800429 < a27bf4b84da23594150c7a86a23435df0b35b988

No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Squid is a widely used caching proxy for the Web, designed to improve web performance by caching frequently accessed content. It supports various protocols and is known for its flexibility and scalability. However, certain versions of Squid have been found to be vulnerable to a serious security issue that could allow attackers to exploit the system.

Vulnerability Detail

The vulnerability identified as CVE-2025-54574 affects Squid versions 6.3 and below, where a heap buffer overflow occurs due to improper buffer management when processing URN. This flaw can potentially lead to remote code execution, allowing attackers to execute arbitrary code on the affected system, posing significant security risks.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, you can disable URN access permissions to mitigate the risk of exploitation. This can be done by modifying the Squid configuration file (usually located at /etc/squid/squid.conf) and adding the following line: 'urn_access deny all'. After making changes, restart the Squid service using

sudo systemctl restart squid'.

Conclusion

CVE-2025-54574 represents a critical vulnerability in the Squid caching proxy, necessitating prompt action to update to the patched version or implement workarounds to mitigate risks. Regular monitoring and updates are essential to maintain security.

See every vulnerability recorded for squid →

Share this vulnerability

FAQ

CVE-2025-54574 is a vulnerability in the Squid caching proxy that allows for a heap buffer overflow, potentially leading to remote code execution.

Versions 6.3 and below of Squid are affected by this vulnerability.

You can use Vulert, which monitors open-source vulnerabilities in your software using a manifest file like package-lock.json. Visit Vulert Scanner to check if your application is affected without any signup.

If immediate updates are not possible, you should disable URN access permissions as a temporary workaround to reduce the risk of exploitation.

More information can be found in the official CVE database or through security advisories related to Squid.

Related vulnerabilities

Recent vulnerabilities recorded for squid.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback