Skip to content
Emerging threatsHigh

CVE-2016-4054Squid Memory Corruption

Buffer overflow in Squid 3.x before 3.5.17 and 4.x before 4.0.9 allows remote attackers to execute arbitrary code via crafted Edge Side Includes (ESI) responses.

Published Apr 20, 2016 · Updated Oct 24, 2026 · Also known as UBUNTU-CVE-2016-4054

Key Facts

Patch immediately
  • CVE-2016-4054 is a high-severity vulnerability (CVSS 8.1 v3.1) affecting Squid (Squid-Cache), Ubuntu Linux (Canonical), Linux (Oracle) and 3 more products.
  • It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
  • EPSS estimates a 78% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Squid 3.3.14-20.2, Squid 3.3.14-6.1, Squid 7:3.1.23-16.21.amzn1.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

Scores

CVSS v3.1

8.1

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

78%

Higher than 99.5% of all scored CVEs

Exploit maturity

None known

ATLAS score

35/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

None known

Public exploit code

0

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

Description

Buffer overflow in Squid 3.x before 3.5.17 and 4.x before 4.0.9 allows remote attackers to execute arbitrary code via crafted Edge Side Includes (ESI) responses.

Affected Products

171 affected entries in total
ProductAffected versionsFixed in
SquidSquid-Cache3.0, 3.1, 3.1.0.1, 3.1.0.10, 3.1.0.11, 3.1.0.12, 3.1.0.13, 3.1.0.140
Ubuntu LinuxCanonical12.04, 14.04, 15.10, 16.04n/a
LinuxOracle6, 7n/a
squid3debianSee advisory3.1.20-2.2+deb7u5
squid34oracleSee advisory7:3.4.14-9.el6_8.3
1 more affected products in the full CVE brief

Patched Releases

Squid

3.3.14-20.2, 3.3.14-6.1, 7:3.1.23-16.21.amzn1, 7:3.1.23-16.el6_8.4, 7:3.3.8-26.el7_2.3

squid-sysvinit

7:3.3.8-26.el7_2.3

squid3

3.1.20-2.2+deb7u5, 3.1.23-8.16.30.1, 3.3.8-1ubuntu6.8, 3.4.8-6+deb8u3, 3.5.12-1ubuntu7.2

squid34

7:3.4.14-9.el6_8.3

Timeline

  1. Publicly disclosed

    Apr 20, 2016

  2. Last updated

    Oct 24, 2026

Weakness Type

  • CWE-20 Improper Input Validation
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

15 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2016-4054 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Dec 5, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.