CVE-2016-4557
Description
The replace_map_fd_with_map_ptr function in kernel/bpf/verifier.c in the Linux kernel before 4.5.5 does not properly maintain an fd data structure, which allows local users to gain privileges or cause a denial of service (use-after-free) via crafted BPF instructions that reference an incorrect file descriptor.
Severity
HIGH
CVSS v3
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
10.202%
chance of exploitation in the next 30 days
higher than 95.8% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 1
Nuclei templates: 0
Exploit-DB: 2
Timeline
- 2016-05-04First Exploit-DB entry (EDB-ID 39772)19 days before publication
- 2016-05-23Published by the CNA10:00 UTC
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 40759 | local | linux | 2016-11-14 | yes |
| EDB-ID 39772 | local | linux | 2016-05-04 | yes |
Affected products
| Vendor | Product |
|---|---|
| linux | linux_kernel |
References
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=8358b02bf67d3a5d8a825070e1aa73f25fb2e4c7
- http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00044.html
- http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.5.5
- https://github.com/torvalds/linux/commit/8358b02bf67d3a5d8a825070e1aa73f25fb2e4c7
- https://www.exploit-db.com/exploits/40759/
- http://www.openwall.com/lists/oss-security/2016/05/06/4
- https://bugs.chromium.org/p/project-zero/issues/detail?id=808
- https://bugs.debian.org/823603
- https://bugzilla.redhat.com/show_bug.cgi?id=1334307
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2016-4557'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2016-4557'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2016-4557'curl 'https://api.contrastcyber.com/cve_products/CVE-2016-4557'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).