---
title: "CVE-2025-54574\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2025-54574?format=md
keywords: index, follow
---

# CVE-2025-54574

Publication date 1 August 2025

Last updated 4 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**9.3 · Critical**

[Score breakdown](https://ubuntu.com/security/CVE-2025-54574?format=md#impact-score)

Toggle side navigation

## Description

Squid is a caching proxy for the Web. In versions 6.3 and below, Squid is
vulnerable to a heap buffer overflow and possible remote code execution
attack when processing URN due to incorrect buffer management. This has
been fixed in version 6.4. To work around this issue, disable URN access
permissions.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2025-54574?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| squid | 26.04 LTS resolute | Not affected |
| 25.10 questing | Not affected |
| 25.04 plucky | Not affected |
| 24.04 LTS noble | Not affected |
| 22.04 LTS jammy | Fixed 5.7-0ubuntu0.22.04.4 |
| 20.04 LTS focal | Fixed 4.10-1ubuntu1.12 |
| squid3 | 26.04 LTS resolute | Not in release |
| 25.10 questing | Not in release |
| 25.04 plucky | Not in release |
| 24.04 LTS noble | Not in release |
| 22.04 LTS jammy | Not in release |
| 18.04 LTS bionic | Needs evaluation |
| 16.04 LTS xenial | Needs evaluation |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2025-54574?format=md#patch-details)

## Notes

---

### [mdeslaur](https://launchpad.net/~mdeslaur)

Ths commit to fix this issue is the same commit that fixed
CVE-2023-5824 in USN-6728-1, USN-6728-2, and USN-6728-3.
See CVE-2023-5824 for additional commits.

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| squid | * Upstream:   [a27bf4b](https://github.com/squid-cache/squid/commit/a27bf4b84da23594150c7a86a23435df0b35b988) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

9.3 · Critical

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | None |
  | Scope | Changed |
  | Confidentiality impact | None |
  | Integrity impact | Low |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 9.3 · Critical |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-54574)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-54574)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2025-54574)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2025-54574)

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2025-54574>
* <https://github.com/squid-cache/squid/security/advisories/GHSA-w4gv-vw3f-29g3>
* <https://github.com/squid-cache/squid/releases/tag/SQUID_6_4>
