CVE-2015-3636: Use-After-Free in Linux Kernel ping_unhash (CVE-2015-3636)
- Vendors
- Debian ProjectLinuxRed HatCanonical
CVE-2015-3636 is a use-after-free vulnerability in the Linux kernel's ping_unhash function (net/ipv4/ping.c) prior to version 4.0.3. The vulnerability arises because the function does not properly initialize a list data structure during the unhash operation. Local attackers can exploit this by creating a SOCK_DGRAM socket for IPPROTO_ICMP or IPPROTO_ICMPV6, then disconnecting and reconnecting, leading to use-after-free conditions. This can result in local privilege escalation or denial of service (system crash). The vulnerability is notable for being used in Android privilege escalation exploits, including by advanced spyware such as Skygofree.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows local attackers to gain root privileges or cause a denial of service (system crash) on affected Linux systems, including Android devices. The vulnerability has been weaponized in the wild, notably by advanced spyware such as Skygofree, to achieve privilege escalation and full device compromise.
Mitigation
If you can’t patch tonight, do this now.
Restrict local access to untrusted users where possible. On Android, limit the installation of untrusted applications and ensure SELinux is enforced. Monitor for vendor security updates and apply them promptly. Consider using kernel hardening features to reduce the risk of exploitation.
Remediation
Patch, then assume compromise.
Upgrade the Linux kernel to version 4.0.3 or later, where the ping_unhash function has been corrected to properly initialize the list data structure and prevent use-after-free conditions. For Android devices, apply vendor security updates that include the relevant kernel patches.
Exploits
3 exploits validated by Mallory's analysis.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2015-3636 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2015-3636?
- Yes. Mallory tracks 3 public exploits or proofs of concept for CVE-2015-3636, the earliest disclosed Sep 12, 2015.
- Is there a patch for CVE-2015-3636?
- Upgrade the Linux kernel to version 4.0.3 or later, where the ping_unhash function has been corrected to properly initialize the list data structure and prevent use-after-free conditions. For Android devices, apply vendor security updates that include the relevant kernel patches.
- What products are affected by CVE-2015-3636?
- Linux Kernel, Debian Project Debian Linux, Red Hat Enterprise Linux, and Canonical Ubuntu Linux.
- How severe is CVE-2015-3636?
- CVE-2015-3636 has a CVSS v2 score of 4.9 (Medium) and an EPSS score of 2.5% (85th percentile) as of Oct 16, 2026.
Recent activity
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.