CVE-2016-8704: Integer Overflow

Published Nov 1, 2016
·
Updated

An integer overflow in the processbinappendprepend function in Memcached, which is responsible for processing multiple commands of Memcached binary protocol, can be abused to cause heap overflow and lead to remote code execution.

Other sources

An integer overflow in the processbinappendprepend function which is responsible for processing multiple commands of Memcached binary protocol can be abused to cause heap overflow and lead to remote code execution.

External References:

http://www.talosintelligence.com/reports/TALOS-2016-0219/

Upstream patch:

https://github.com/memcached/memcached/commit/bd578fc34b96abe0f8d99c1409814a09f51ee71c

— Red Hat

Affected Software

2 affected componentsFixes available
redhat/memcached<1.4.33
1.4.33
Memcached Memcached<=1.4.31

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 1.4.33
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch bd578fc34b96abe0f8d99c1409814a09f51ee71c

Event History

Nov 1, 2016
Data Sourced
09:40 AM
DescriptionSeverityAffected Software
Jan 6, 2017
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
DescriptionSeverityWeakness
Data Sourced
09:59 PM
Weakness
Data Sourced
via NVD·09:59 PM
DescriptionSeverityWeaknessAffected Software
Feb 17, 2021
Data Sourced
via Red Hat·03:05 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2016-8704?

CVE-2016-8704 has a critical severity rating as it can lead to remote code execution due to a potential heap overflow.

2

How do I fix CVE-2016-8704?

To fix CVE-2016-8704, upgrade Memcached to version 1.4.33 or later.

3

What systems are affected by CVE-2016-8704?

CVE-2016-8704 affects Memcached versions up to and including 1.4.31.

4

Can CVE-2016-8704 be exploited remotely?

Yes, CVE-2016-8704 can be exploited remotely, allowing attackers to execute arbitrary code.

5

Is there a workaround for CVE-2016-8704?

There are no officially documented workarounds for CVE-2016-8704; upgrading to the patched version is recommended.

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