CVE-2016-4998: Buffer Overflow

Published Jun 24, 2016
·
Updated

An out-of-bounds heap memory access, leading to a Denial of Service or possibly heap disclosure or further impact was found in setsockopt(). The particular setsockopt() call is normally restricted to root, however some processes with capsysadmin may also be able to trigger this flaw.

Upstream fixes

http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ce683e5f9d04 http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=6e94e0cfb088 http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=bdf533de6968

Discussion on oss-sec: http://www.openwall.com/lists/oss-security/2016/06/24/5

Other sources

The IPTSOSETREPLACE setsockopt implementation in the netfilter subsystem in the Linux kernel before 4.6 allows local users to cause a denial of service (out-of-bounds read) or possibly obtain sensitive information from kernel heap memory by leveraging in-container root access to provide a crafted offset value that leads to crossing a ruleset blob boundary.

Launchpad

Affected Software

7 affected componentsFixes available
Linux Linux kernel<=4.5.5
Oracle Linux=7
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=15.10
Canonical Ubuntu Linux=16.04
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-1

Event History

Jun 24, 2016
Data Sourced
via Red Hat·12:51 PM
DescriptionSeverityAffected Software
Jul 3, 2016
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
Description
Jan 11, 2024
Data Sourced
via Launchpad·10:19 PM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·01:15 AM
RemedyDescriptionSeverityAffected Software
Apr 28, 2025
Data Sourced
via Debian·03:32 AM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2016-4998?

CVE-2016-4998 is a vulnerability in the Linux kernel that allows local users to cause a denial of service or obtain sensitive information from kernel heap memory.

2

How does CVE-2016-4998 impact the Linux kernel?

CVE-2016-4998 can result in an out-of-bounds read, leading to a denial of service or potential information disclosure.

3

Which versions of the Linux kernel are affected by CVE-2016-4998?

CVE-2016-4998 affects Linux kernel versions before 4.6.

4

How can the vulnerability in CVE-2016-4998 be fixed?

To fix the vulnerability in CVE-2016-4998, update to Linux kernel version 4.6 or later.

5

Where can I find more information about CVE-2016-4998?

You can find more information about CVE-2016-4998 at the following references: [SecurityTracker](http://www.securitytracker.com/id/1036171), [SecurityFocus](http://www.securityfocus.com/bid/91451), [Debian Security Advisory](http://www.debian.org/security/2016/dsa-3607).

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