CVE-2016-5408: Buffer Overflow

Published Jul 22, 2016
·
Updated

Due to incorrect buffer management Squid cachemgr.cgi tool is vulnerable to a buffer overflow when processing remotely supplied inputs relayed to it from Squid.

This CVE is for an incomplete fix for CVE-2016-4051 as applied to squid packages in Red Hat Enterprise Linux 6, released via RHSA-2016:1138.

Upstream advisory for the original issue CVE-2016-4051:

http://www.squid-cache.org/Advisories/SQUID-20165.txt

Red Hat Enterprise Linux 6 erratum with the incomplete fix:

https://rhn.redhat.com/errata/RHSA-2016-1138.html

External Reference:

(none)

Other sources

Stack-based buffer overflow in the mungeotherline function in cachemgr.cgi in the squid package before 3.1.23-16.el68.6 in Red Hat Enterprise Linux 6 allows remote attackers to execute arbitrary code via unspecified vectors. NOTE: this vulnerability exists because of an incorrect fix for CVE-2016-4051.

— MITRE

Affected Software

5 affected componentsFixes available
Oracle Linux=6
redhat Enterprise Linux Server=6.0
redhat Enterprise Linux Workstation=6.0
redhat/squid<3.5.17
3.5.17
redhat/squid<4.0.9
4.0.9

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/squid to a version that resolves this vulnerability.

    Fixed in 3.5.17
  2. Upgrade

    Upgrade redhat/squid to a version that resolves this vulnerability.

    Fixed in 4.0.9

Event History

Jul 22, 2016
Data Sourced
via Red Hat·01:54 PM
DescriptionSeverityAffected Software
Aug 10, 2016
CVE Published
via MITRE·02:00 PM
Data Sourced
via MITRE·02:00 PM
Description
Data Sourced
02:59 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2016-5408?

CVE-2016-5408 is classified as a high severity vulnerability due to its potential to allow remote attackers to execute arbitrary code.

2

How do I fix CVE-2016-5408?

To fix CVE-2016-5408, you should update the squid package to version 3.1.23-16.el6_8.6 or later.

3

What systems are affected by CVE-2016-5408?

CVE-2016-5408 affects Red Hat Enterprise Linux 6 and Oracle Linux 6 systems using the vulnerable squid package.

4

Can CVE-2016-5408 be exploited remotely?

Yes, CVE-2016-5408 can be exploited remotely, making it particularly dangerous for unpatched systems.

5

What is the nature of the vulnerability in CVE-2016-5408?

CVE-2016-5408 is a stack-based buffer overflow vulnerability that can lead to arbitrary code execution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203