{
  "id": "CVE-2019-13272",
  "url": "https://poc.griffinguard.io/cve/CVE-2019-13272",
  "published_at": "2019-07-17T12:32:55Z",
  "title": "Linux Kernel Improper Privilege Management Vulnerability",
  "vendor": "Linux",
  "product": "Kernel",
  "cvss": {
    "score": 7.8,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2021-12-10",
    "known_ransomware_campaign_use": "Unknown",
    "days_after_publication": 877
  },
  "first_poc": {
    "created_at": "2019-07-17T12:32:55Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 0,
    "source": "exploitdb"
  },
  "poc_repo_count": 8,
  "exploit_count": 5,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-noinfo",
  "cvss_by_source": {
    "cisa-adp": 7.8
  },
  "repos": [
    {
      "repo": "Huandtx/CVE-2019-13272",
      "url": "https://github.com/Huandtx/CVE-2019-13272",
      "created_at": null,
      "first_seen_at": "2026-11-14T23:12:49.679Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped"
    },
    {
      "repo": "jas502n/CVE-2019-13272",
      "url": "https://github.com/jas502n/CVE-2019-13272",
      "created_at": "2019-07-31T04:51:43Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 334,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-01-07T12:20:39Z"
    },
    {
      "repo": "Cyc1eC/CVE-2019-13272",
      "url": "https://github.com/Cyc1eC/CVE-2019-13272",
      "created_at": "2019-07-31T06:36:21Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 5,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2017-03-29T12:47:57Z"
    },
    {
      "repo": "bigbigliang-malwarebenchmark/cve-2019-13272",
      "url": "https://github.com/bigbigliang-malwarebenchmark/cve-2019-13272",
      "created_at": "2019-08-04T06:51:36Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2018-12-11T01:19:21Z"
    },
    {
      "repo": "oneoy/CVE-2019-13272",
      "url": "https://github.com/oneoy/CVE-2019-13272",
      "created_at": "2019-08-07T01:21:26Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 4,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2018-04-16T16:16:15Z"
    },
    {
      "repo": "polosec/CVE-2019-13272",
      "url": "https://github.com/polosec/CVE-2019-13272",
      "created_at": "2020-03-05T10:10:19Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2017-12-19T00:46:13Z"
    },
    {
      "repo": "sumedhaDharmasena/-Kernel-ptrace-c-mishandles-vulnerability-CVE-2019-13272",
      "url": "https://github.com/sumedhaDharmasena/-Kernel-ptrace-c-mishandles-vulnerability-CVE-2019-13272",
      "created_at": "2020-05-02T05:41:54Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2018-09-27T12:07:03Z"
    },
    {
      "repo": "Tharana/Exploiting-a-Linux-kernel-vulnerability",
      "url": "https://github.com/Tharana/Exploiting-a-Linux-kernel-vulnerability",
      "created_at": "2020-05-11T11:24:29Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 1,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2017-09-10T15:54:16Z"
    },
    {
      "repo": "RashmikaEkanayake/Privilege-Escalation-CVE-2019-13272-",
      "url": "https://github.com/RashmikaEkanayake/Privilege-Escalation-CVE-2019-13272-",
      "created_at": "2020-05-12T11:53:55Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-02-15T18:22:07Z"
    },
    {
      "repo": "Tharana/vulnerability-exploitation",
      "url": "https://github.com/Tharana/vulnerability-exploitation",
      "created_at": "2020-05-12T17:59:48Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 3,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2017-09-10T15:54:16Z"
    },
    {
      "repo": "teddy47/CVE-2019-13272---Documentation",
      "url": "https://github.com/teddy47/CVE-2019-13272---Documentation",
      "created_at": "2020-05-13T03:28:45Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-03-04T19:26:21Z"
    },
    {
      "repo": "HaleyWei/POC-available",
      "url": "https://github.com/HaleyWei/POC-available",
      "created_at": "2020-09-18T01:51:27Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 2,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-07-04T06:30:42Z"
    },
    {
      "repo": "datntsec/CVE-2019-13272",
      "url": "https://github.com/datntsec/CVE-2019-13272",
      "created_at": "2020-10-19T02:33:29Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-09-01T04:08:31Z"
    },
    {
      "repo": "jana30116/CVE-2019-13272-Local-Privilege-Escalation",
      "url": "https://github.com/jana30116/CVE-2019-13272-Local-Privilege-Escalation",
      "created_at": "2021-05-20T19:13:28Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-08-03T11:25:46Z"
    },
    {
      "repo": "babyshen/CVE-2019-13272",
      "url": "https://github.com/babyshen/CVE-2019-13272",
      "created_at": "2022-03-10T01:27:46Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2015-03-10T05:34:18Z"
    },
    {
      "repo": "GgKendall/secureCodingDemo",
      "url": "https://github.com/GgKendall/secureCodingDemo",
      "created_at": "2022-11-14T00:07:04Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2021-01-12T17:15:33Z"
    },
    {
      "repo": "asepsaepdin/CVE-2019-13272",
      "url": "https://github.com/asepsaepdin/CVE-2019-13272",
      "created_at": "2023-09-04T15:16:09Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2023-01-13T14:15:49Z"
    },
    {
      "repo": "MDS1GNAL/ptrace_scope-CVE-2019-13272-privilege-escalation",
      "url": "https://github.com/MDS1GNAL/ptrace_scope-CVE-2019-13272-privilege-escalation",
      "created_at": "2024-01-31T21:50:04Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 2,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2023-11-05T20:27:32Z"
    },
    {
      "repo": "josemlwdf/CVE-2019-13272",
      "url": "https://github.com/josemlwdf/CVE-2019-13272",
      "created_at": "2024-06-20T10:04:13Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 3,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-01-22T12:13:32Z"
    },
    {
      "repo": "Chinmay1743/ptrace-vuln",
      "url": "https://github.com/Chinmay1743/ptrace-vuln",
      "created_at": "2025-09-10T10:01:50Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "unrelated",
      "suspicion_score": 15,
      "suspicious": false,
      "suspicion_reasons": [
        "no network code found (normal for a local exploit)"
      ],
      "status": "analyzed",
      "owner_created_at": "2019-06-22T16:56:51Z"
    },
    {
      "repo": "letsr00t/CVE-2019-13272",
      "url": "https://github.com/letsr00t/CVE-2019-13272",
      "created_at": "2025-11-17T16:24:19Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2018-04-24T16:51:40Z"
    }
  ],
  "remediation": null,
  "exploit_refs": [
    {
      "url": "https://www.exploit-db.com/exploits/47133",
      "source": "exploitdb",
      "title": "Linux - Broken Permission and Object Lifetime Handling for PTRACE_TRACEME",
      "published_at": "2019-07-17T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://www.exploit-db.com/exploits/47163",
      "source": "exploitdb",
      "title": "Linux Kernel 4.10 \u003c 5.1.17 - 'PTRACE_TRACEME' pkexec Local Privilege Escalation",
      "published_at": "2019-07-24T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://www.exploit-db.com/exploits/47543",
      "source": "exploitdb",
      "title": "Linux Polkit - pkexec helper PTRACE_TRACEME local root (Metasploit)",
      "published_at": "2019-10-24T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://www.exploit-db.com/exploits/50541",
      "source": "exploitdb",
      "title": "Linux Kernel 5.1.x - 'PTRACE_TRACEME' pkexec Local Privilege Escalation (2)",
      "published_at": "2021-11-23T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/local/ptrace_traceme_pkexec_helper.rb",
      "source": "metasploit",
      "title": "Metasploit exploit: Linux Polkit pkexec helper PTRACE_TRACEME local root exploit (exploit/linux/local/ptrace_traceme_pkexec_helper)",
      "published_at": "2019-09-05T17:00:44Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [],
  "rules": []
}
