← Vulnerability feed

Vulnerability record · CVE-2019-13272 · published 17 July 2019

CVE-2019-13272: Linux kernel ptrace credential mishandling allows local root escalation

Linux · Linux Kernel

The Linux kernel before 5.1.17 mishandles credential recording in ptrace_link (kernel/ptrace.c) when a process creates a ptrace relationship, and also incorrectly marks the relationship as privileged. A local user can exploit parent-child process scenarios, such as a parent dropping privileges and calling execve, to gain root.

7.8 CVSS 3.1 High CISA KEV since 10 Dec 2021 EPSS 52% · top 1.1%
7.8CVSS 3.1 base score, v2 7.2
52%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
22Affected product versions listed by NVD
59References, 10 tagged exploit
17 Jun 2026Last modified by NVD

Description

In the Linux kernel before 5.1.17, ptrace_link in kernel/ptrace.c mishandles the recording of the credentials of a process that wants to create a ptrace relationship, which allows local users to obtain root access by leveraging certain scenarios with a parent-child process relationship, where a parent drops privileges and calls execve (potentially allowing control by an attacker). One contributing factor is an object lifetime issue (which can also cause a panic). Another contributing factor is incorrect marking of a ptrace relationship as privileged, which is exploitable through (for example) Polkit's pkexec helper with PTRACE_TRACEME. NOTE: SELinux deny_ptrace might be a usable workaround in some environments.

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 17 September 2026. Confidence: high.

high priorityIt is a locally exploitable kernel privilege escalation to root with KEV-listed exploitation and very high EPSS, though it requires local access rather than being remotely reachable.

What it is

The Linux kernel before 5.1.17 mishandles credential recording in ptrace_link (kernel/ptrace.c) when a process creates a ptrace relationship, and also incorrectly marks the relationship as privileged. A local user can exploit parent-child process scenarios, such as a parent dropping privileges and calling execve, to gain root.

Impact

An attacker with local access gains full root privileges, including confidentiality, integrity and availability impact across the system. The flaw can also trigger a kernel panic through the object lifetime issue.

Attack surface

Reached locally by an authenticated user running code on the host; no user interaction or network access is required per the CVSS vector AV:L/PR:L/UI:N. The described path involves a parent-child process relationship and helpers such as Polkit's pkexec with PTRACE_TRACEME.

Exploitation

CISA KEV lists it as exploited with a 2021-12-10 addition and 2022-06-10 remediation due date, and multiple references are tagged Exploit. EPSS is 0.52199 (98.9th percentile), indicating high predicted exploitation activity.

What to do

  • Patch the Linux kernel to 5.1.17 or later, or apply the vendor kernel update for your distribution (Red Hat, Debian, Ubuntu, Fedora, SUSE, NetApp advisories are referenced).
  • Where patching is not immediately possible, enable SELinux deny_ptrace as a workaround in environments that support it.
  • Restrict local interactive and service accounts to the minimum needed, since exploitation requires local code execution.
  • Monitor and limit use of pkexec and other setuid helpers that can be combined with PTRACE_TRACEME.
  • Track KEV remediation due dates and verify kernel versions across servers, appliances and firmware-listed products.

Detection

  • Audit kernel versions on Linux hosts and appliances against the 5.1.17 fix threshold and vendor errata.
  • Monitor for unexpected ptrace or PTRACE_TRACEME activity involving setuid helpers such as pkexec.
  • Alert on privilege transitions to root from non-root parent processes that drop privileges and execve.
  • Watch for kernel panic or oops events tied to ptrace credential handling.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2019-13272 to the Known Exploited Vulnerabilities catalog on 10 December 2021 as "Linux Kernel Improper Privilege Management Vulnerability". Required action: Apply updates per vendor instructions. Federal deadline 10 June 2022.

Affected products

22 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://packetstormsecurity.com/files/153663/Linux-PTRACE_TRACEME-Broken-Permission-Object-Lifetime-Handling.html Third Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/153702/Slackware-Security-Advisory-Slackware-14.2-kernel-Updates.html Third Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/154245/Kernel-Live-Patch-Security-Notice-LSN-0054-1.html ExploitThird Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/154957/Linux-Polkit-pkexec-Helper-PTRACE_TRACEME-Local-Root.html ExploitThird Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/156929/Linux-PTRACE_TRACEME-Local-Root.html ExploitThird Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/165051/Linux-Kernel-5.1.x-PTRACE_TRACEME-pkexec-Local-Privilege-Escalation.html ExploitThird Party AdvisoryVDB Entry
https://access.redhat.com/errata/RHSA-2019:2405 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:2411 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:2809 Third Party Advisory
https://bugs.chromium.org/p/project-zero/issues/detail?id=1903 ExploitIssue TrackingPatchThird Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1730895 Issue TrackingPatch
https://bugzilla.suse.com/show_bug.cgi?id=1140671 Issue TrackingPatchThird Party Advisory
https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.1.17 PatchVendor Advisory
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=6994eefb0053799d2e07cd140df6c2ea106c41ee PatchVendor Advisory
https://github.com/torvalds/linux/commit/6994eefb0053799d2e07cd140df6c2ea106c41ee Patch
https://lists.debian.org/debian-lts-announce/2019/07/msg00022.html Mailing ListThird Party Advisory
https://lists.debian.org/debian-lts-announce/2019/07/msg00023.html Mailing ListThird Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OGRK5LYWBJ4E4SRI4DKX367 Release Notes
https://seclists.org/bugtraq/2019/Jul/30 Issue TrackingMailing ListThird Party Advisory
https://seclists.org/bugtraq/2019/Jul/33 Issue TrackingMailing ListThird Party Advisory
https://security.netapp.com/advisory/ntap-20190806-0001/ Third Party Advisory
https://support.f5.com/csp/article/K91025336 Third Party Advisory
https://support.f5.com/csp/article/K91025336?utm_source=f5support&amp%3Butm_medium=RSS Third Party Advisory
https://usn.ubuntu.com/4093-1/ Third Party Advisory
https://usn.ubuntu.com/4094-1/ Third Party Advisory
https://usn.ubuntu.com/4095-1/ Third Party Advisory
https://usn.ubuntu.com/4117-1/ Third Party Advisory
https://usn.ubuntu.com/4118-1/ Third Party Advisory
https://www.debian.org/security/2019/dsa-4484 Third Party Advisory
http://packetstormsecurity.com/files/153663/Linux-PTRACE_TRACEME-Broken-Permission-Object-Lifetime-Handling.html Third Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/153702/Slackware-Security-Advisory-Slackware-14.2-kernel-Updates.html Third Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/154245/Kernel-Live-Patch-Security-Notice-LSN-0054-1.html ExploitThird Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/154957/Linux-Polkit-pkexec-Helper-PTRACE_TRACEME-Local-Root.html ExploitThird Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/156929/Linux-PTRACE_TRACEME-Local-Root.html ExploitThird Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/165051/Linux-Kernel-5.1.x-PTRACE_TRACEME-pkexec-Local-Privilege-Escalation.html ExploitThird Party AdvisoryVDB Entry
https://access.redhat.com/errata/RHSA-2019:2405 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:2411 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:2809 Third Party Advisory
https://bugs.chromium.org/p/project-zero/issues/detail?id=1903 ExploitIssue TrackingPatchThird Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1730895 Issue TrackingPatch

Track CVE-2019-13272 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed9.8CVE-2024-4577PHP-CGI on Windows argument injection leads to remote code executionPHP-CGI on Windows can misinterpret characters in the command line passed to Win32 API functions when certain code pages are configured, due to Windo…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2019-13272), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.