PoC Monitor
← All CVEs
CVE-2019-13272published 17 Jul 2019 12:32 UTCData: JSON · API

Linux Kernel

Linux Kernel Improper Privilege Management Vulnerability

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.

First public PoC 1 hafter publication · 17 Jul 2019 · Exploit-DB
Public PoCs138 on GitHub · 5 Exploit-DB, Metasploit or nuclei
CVSS7.8high · scored by CISA ADP · CWE-noinfo
CISA KEV 10 Dec 20212.4 years after publication

Timeline

Days relative to CVE publication
t=0+180+360+540+720CVE published17 Jul 2019 · t = 0First public PoC17 Jul 2019 · t = 0Added to CISA KEV10 Dec 2021 · t+2.4y

First public PoC 0 h after publication; added to CISA KEV 2.4 years after publication.

PoC repositories

Found on GitHub.

8 PoCs · 1 pending · 9 informational · 1 not a PoC · 2 suspicious or fake

PoCs 8
RepositoryCreatedStarsAssessment
jas502n/CVE-2019-13272 31 Jul 2019 +14 d 334 PoC
Cyc1eC/CVE-2019-13272 31 Jul 2019 +14 d 5 PoC
oneoy/CVE-2019-13272 7 Aug 2019 +21 d 4 PoC
polosec/CVE-2019-13272 5 Mar 2020 +232 d 0 PoC
HaleyWei/POC-available 18 Sep 2020 +1.2 y 2 PoC via PoC Index
babyshen/CVE-2019-13272 10 Mar 2022 +2.6 y 0 PoC via PoC Index
asepsaepdin/CVE-2019-13272 4 Sep 2023 +4.1 y 0 PoC
MDS1GNAL/ptrace_scope-CVE-2019-13272-privilege-escalation 31 Jan 2024 +4.5 y 2 PoC
Pending 1
RepositoryCreatedStarsAssessment
Huandtx/CVE-2019-13272 unknown 0 Pending · repository unavailable (HTTP 404)
Informational 9
RepositoryCreatedStarsAssessment
bigbigliang-malwarebenchmark/cve-2019-13272 4 Aug 2019 +18 d 1 Informational · write-up
sumedhaDharmasena/-Kernel-ptrace-c-mishandles-vulnerability-CVE-2019-13272 2 May 2020 +290 d 0 Informational · write-up
Tharana/Exploiting-a-Linux-kernel-vulnerability 11 May 2020 +299 d 1 Informational · write-up
RashmikaEkanayake/Privilege-Escalation-CVE-2019-13272- 12 May 2020 +300 d 0 Informational · write-up
Tharana/vulnerability-exploitation 12 May 2020 +300 d 3 Informational · write-up
teddy47/CVE-2019-13272---Documentation 13 May 2020 +301 d 0 Informational · write-up
datntsec/CVE-2019-13272 19 Oct 2020 +1.3 y 0 Informational · write-up
jana30116/CVE-2019-13272-Local-Privilege-Escalation 20 May 2021 +1.8 y 0 Informational · write-up
GgKendall/secureCodingDemo 14 Nov 2022 +3.3 y 0 Informational · write-up
Not a PoC 1
RepositoryCreatedStarsAssessment
Chinmay1743/ptrace-vuln 10 Sep 2025 +6.2 y 0 Not a PoC · unrelated
Flags · score 15
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

Suspicious or fake 2
RepositoryCreatedStarsAssessment
josemlwdf/CVE-2019-13272 20 Jun 2024 +4.9 y 3 Fake
letsr00t/CVE-2019-13272 17 Nov 2025 +6.3 y 0 Fake

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.