{"answers":{"affected":"It affects 18 products.","exploited":"Yes. Attackers have exploited CVE-2016-5195 in the wild since at least 3 Mar 2022.","fix":"Apply the vendor's patch. US federal agencies must fix it by 24 Mar 2022.","what":"CVE-2016-5195 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 10 Nov 2016. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2016-5195 and fix it if it is affected.\n\nWhat it is: CVE-2016-5195 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 10 Nov 2016. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2016-5195 in the wild since at least 3 Mar 2022.\n\nAffected product: Canonical Ubuntu Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2016-5195/ (Markdown: https://insights.sbomify.com/CVE-2016-5195/index.md)","id":"CVE-2016-5195","markdown":"https://insights.sbomify.com/CVE-2016-5195/index.md","name":"CVE-2016-5195","record":{"aliases":["CVE-2016-3919","DEBIAN-CVE-2016-5195","GHSA-j68w-7qm9-fjqq","RHSA-2016:2098","RHSA-2016:2105","RHSA-2016:2106","RHSA-2016:2118","RHSA-2016:2120","RHSA-2016:2126","RHSA-2016:2127","RHSA-2016:2132","SUSE-SU-2016:2585-1","SUSE-SU-2016:2592-1","SUSE-SU-2016:2593-1","SUSE-SU-2016:2596-1","SUSE-SU-2016:2614-1","SUSE-SU-2016:2657-1","UBUNTU-CVE-2016-5195","USN-3105-1","USN-3106-1","USN-3106-2","USN-3106-3","USN-3106-4"],"analysis":{"component_type":"kernel","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux kernel","requires_auth":"low_privilege","summary":"Local attackers can exploit a race condition in the Linux kernel's copy-on-write handling to gain elevated privileges.","user_interaction":"not_required","vuln_class":"race_condition"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Chrome","cpe":[{"product":"ubuntu_linux","vendor":"canonical"},{"product":"debian_linux","vendor":"debian"},{"product":"fedora","vendor":"fedoraproject"},{"product":"linux_kernel","vendor":"linux"},{"product":"cloud_backup","vendor":"netapp"},{"product":"hci_storage_nodes","vendor":"netapp"},{"product":"oncommand_balance","vendor":"netapp"},{"product":"oncommand_performance_manager","vendor":"netapp"},{"product":"oncommand_unified_manager_for_clustered_data_ontap","vendor":"netapp"},{"product":"ontap_select_deploy_administration_utility","vendor":"netapp"},{"product":"snapprotect","vendor":"netapp"},{"product":"solidfire","vendor":"netapp"},{"product":"pan-os","vendor":"paloaltonetworks"},{"product":"enterprise_linux","vendor":"redhat"},{"product":"enterprise_linux_aus","vendor":"redhat"},{"product":"enterprise_linux_eus","vendor":"redhat"},{"product":"enterprise_linux_long_life","vendor":"redhat"},{"product":"enterprise_linux_tus","vendor":"redhat"}],"cvss":{"score":7,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"description":"Race condition in mm/gup.c in the Linux kernel 2.x through 4.x before 4.8.3 allows local users to gain privileges by leveraging incorrect handling of a copy-on-write (COW) feature to write to a read-only memory mapping, as exploited in the wild in October 2016, aka \"Dirty COW.\"","ecosystems":["Red Hat:enterprise_linux:6::client","Red Hat:enterprise_linux:6::computenode","Red Hat:enterprise_linux:6::server","Red Hat:enterprise_linux:6::workstation","Red Hat:enterprise_linux:7::client","Red Hat:enterprise_linux:7::computenode","Red Hat:enterprise_linux:7::server","Red Hat:enterprise_linux:7::workstation","Red Hat:rhel_aus:5.9","Red Hat:rhel_aus:6.5::server","Red Hat:rhel_eus:6.7::computenode","Red Hat:rhel_eus:6.7::server","Red Hat:rhel_eus:7.1::computenode","Red Hat:rhel_eus:7.1::server","Red Hat:rhel_mission_critical:5.6","Red Hat:rhel_mission_critical:6.2::server","Red Hat:rhel_tus:6.5::server","SUSE:Linux Enterprise Desktop 12 SP1","SUSE:Linux Enterprise Live Patching 12","SUSE:Linux Enterprise Module for Public Cloud 12","SUSE:Linux Enterprise Point of Sale 11 SP3","SUSE:Linux Enterprise Server 11 SP2-LTSS","SUSE:Linux Enterprise Server 11 SP3-LTSS","SUSE:Linux Enterprise Server 11 SP4","SUSE:Linux Enterprise Server 12 SP1","SUSE:Linux Enterprise Server 12-LTSS","SUSE:Linux Enterprise Server for SAP Applications 11 SP4","SUSE:Linux Enterprise Server for SAP Applications 12","SUSE:Linux Enterprise Server for SAP Applications 12 SP1","SUSE:Linux Enterprise Software Development Kit 11 SP4","SUSE:Linux Enterprise Software Development Kit 12 SP1","SUSE:Linux Enterprise Workstation Extension 12 SP1","SUSE:Manager 2.1","SUSE:Manager Proxy 2.1","SUSE:OpenStack Cloud 5"],"exploits":{"exploitdb":5,"first_seen":"2016-10-19","github_poc":66,"max_poc_stars":1018,"metasploit":0,"nuclei":0,"refs":[{"date":"2016-10-21T11:19:21Z","kind":"github_poc","ref":"https://github.com/timwr/CVE-2016-5195","stars":1018,"title":"CVE-2016-5195 (dirtycow/dirtyc0w) proof of concept for Android"},{"date":"2016-11-25T21:08:01Z","kind":"github_poc","ref":"https://github.com/firefart/dirtycow","stars":933,"title":"Dirty Cow exploit - CVE-2016-5195"},{"date":"2016-10-22T15:25:34Z","kind":"github_poc","ref":"https://github.com/scumjr/dirtycow-vdso","stars":511,"title":"PoC for Dirty COW (CVE-2016-5195)"},{"date":"2016-10-23T00:16:33Z","kind":"github_poc","ref":"https://github.com/gbonacini/CVE-2016-5195","stars":343,"title":"A CVE-2016-5195 exploit example."},{"date":"2022-03-07T18:36:50Z","kind":"github_poc","ref":"https://github.com/r1is/CVE-2022-0847","stars":281,"title":"CVE-2022-0847-DirtyPipe-Exploit   CVE-2022-0847 是存在于 Linux内核 5.8 及之后版本中的本地提权漏洞。攻击者通过利用此漏洞，可覆盖重写任意可读文件中的数据，从而可将普通权限的用户提升到特权 root。    CVE-2022-0847 的漏洞原理类似于 CVE-2016-5195 脏牛漏洞（Dirty Cow），但它更容易被利用。漏洞作者将此漏洞命名为“Dirty Pipe”"},{"date":"2017-01-20T05:28:04Z","kind":"github_poc","ref":"https://github.com/hyln9/VIKIROOT","stars":271,"title":"CVE-2016-5195 (Dirty COW) PoC for Android 6.0.1 Marshmallow"},{"date":"2018-05-27T08:06:50Z","kind":"github_poc","ref":"https://github.com/Brucetg/DirtyCow-EXP","stars":142,"title":"编译好的脏牛漏洞（CVE-2016-5195）EXP"},{"date":"2016-10-24T12:35:55Z","kind":"github_poc","ref":"https://github.com/DavidBuchanan314/cowroot","stars":32,"title":"Universal Android root tool based on CVE-2016-5195. Watch this space."}],"tier":"exploited"},"has_fix":true,"headline":"Linux Kernel Race Condition","id":"CVE-2016-5195","indexable":true,"kev":{"dateAdded":"2022-03-03","dueDate":"2022-03-24","knownRansomwareCampaignUse":"Unknown","product":"Kernel","requiredAction":"Apply updates per vendor instructions.","vendorProject":"Linux","vulnerabilityName":"Linux Kernel Race Condition Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":"canonical:ubuntu_linux","products":["canonical:ubuntu_linux","debian:debian_linux","fedoraproject:fedora","linux:linux_kernel","netapp:cloud_backup","netapp:oncommand_balance","netapp:oncommand_performance_manager","netapp:ontap_select_deploy_administration_utility","netapp:solidfire","paloaltonetworks:pan-os","redhat:enterprise_linux","redhat:enterprise_linux_aus","redhat:enterprise_linux_eus"],"type":"race_condition","year":"2016"},"n_packages":394,"n_references":126,"next":{"headline":"Security feature bypass in Google Chrome prior to 54.0.2840.85 for Android","id":"CVE-2016-5196"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.6.32-642.6.2.el6"],"introduced":["0"],"last_affected":[],"package":"kernel","purl":"pkg:rpm/redhat/kernel","source":"RHSA-2016:2105"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.6.32-642.6.2.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-abi-whitelists","purl":"pkg:rpm/redhat/kernel-abi-whitelists","source":"RHSA-2016:2105"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.6.32-642.6.2.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-debug","purl":"pkg:rpm/redhat/kernel-debug","source":"RHSA-2016:2105"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.6.32-642.6.2.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-debuginfo","purl":"pkg:rpm/redhat/kernel-debug-debuginfo","source":"RHSA-2016:2105"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.6.32-642.6.2.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-devel","purl":"pkg:rpm/redhat/kernel-debug-devel","source":"RHSA-2016:2105"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.6.32-642.6.2.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo","purl":"pkg:rpm/redhat/kernel-debuginfo","source":"RHSA-2016:2105"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.6.32-642.6.2.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo-common-i686","purl":"pkg:rpm/redhat/kernel-debuginfo-common-i686","source":"RHSA-2016:2105"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.6.32-642.6.2.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo-common-x86_64","purl":"pkg:rpm/redhat/kernel-debuginfo-common-x86_64","source":"RHSA-2016:2105"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.6.32-642.6.2.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-devel","purl":"pkg:rpm/redhat/kernel-devel","source":"RHSA-2016:2105"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.6.32-642.6.2.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-doc","purl":"pkg:rpm/redhat/kernel-doc","source":"RHSA-2016:2105"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.6.32-642.6.2.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-firmware","purl":"pkg:rpm/redhat/kernel-firmware","source":"RHSA-2016:2105"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.6.32-642.6.2.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-headers","purl":"pkg:rpm/redhat/kernel-headers","source":"RHSA-2016:2105"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.6.32-642.6.2.el6"],"introduced":["0"],"last_affected":[],"package":"perf","purl":"pkg:rpm/redhat/perf","source":"RHSA-2016:2105"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.6.32-642.6.2.el6"],"introduced":["0"],"last_affected":[],"package":"perf-debuginfo","purl":"pkg:rpm/redhat/perf-debuginfo","source":"RHSA-2016:2105"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.6.32-642.6.2.el6"],"introduced":["0"],"last_affected":[],"package":"python-perf","purl":"pkg:rpm/redhat/python-perf","source":"RHSA-2016:2105"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.6.32-642.6.2.el6"],"introduced":["0"],"last_affected":[],"package":"python-perf-debuginfo","purl":"pkg:rpm/redhat/python-perf-debuginfo","source":"RHSA-2016:2105"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.6.32-642.6.2.el6"],"introduced":["0"],"last_affected":[],"package":"kernel","purl":"pkg:rpm/redhat/kernel","source":"RHSA-2016:2105"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.6.32-642.6.2.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-abi-whitelists","purl":"pkg:rpm/redhat/kernel-abi-whitelists","source":"RHSA-2016:2105"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.6.32-642.6.2.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-debug","purl":"pkg:rpm/redhat/kernel-debug","source":"RHSA-2016:2105"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.6.32-642.6.2.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-debuginfo","purl":"pkg:rpm/redhat/kernel-debug-debuginfo","source":"RHSA-2016:2105"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.6.32-642.6.2.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-devel","purl":"pkg:rpm/redhat/kernel-debug-devel","source":"RHSA-2016:2105"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.6.32-642.6.2.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo","purl":"pkg:rpm/redhat/kernel-debuginfo","source":"RHSA-2016:2105"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.6.32-642.6.2.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo-common-i686","purl":"pkg:rpm/redhat/kernel-debuginfo-common-i686","source":"RHSA-2016:2105"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.6.32-642.6.2.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo-common-x86_64","purl":"pkg:rpm/redhat/kernel-debuginfo-common-x86_64","source":"RHSA-2016:2105"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.6.32-642.6.2.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-devel","purl":"pkg:rpm/redhat/kernel-devel","source":"RHSA-2016:2105"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.6.32-642.6.2.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-doc","purl":"pkg:rpm/redhat/kernel-doc","source":"RHSA-2016:2105"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.6.32-642.6.2.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-firmware","purl":"pkg:rpm/redhat/kernel-firmware","source":"RHSA-2016:2105"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.6.32-642.6.2.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-headers","purl":"pkg:rpm/redhat/kernel-headers","source":"RHSA-2016:2105"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.6.32-642.6.2.el6"],"introduced":["0"],"last_affected":[],"package":"perf","purl":"pkg:rpm/redhat/perf","source":"RHSA-2016:2105"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.6.32-642.6.2.el6"],"introduced":["0"],"last_affected":[],"package":"perf-debuginfo","purl":"pkg:rpm/redhat/perf-debuginfo","source":"RHSA-2016:2105"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.6.32-642.6.2.el6"],"introduced":["0"],"last_affected":[],"package":"python-perf","purl":"pkg:rpm/redhat/python-perf","source":"RHSA-2016:2105"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.6.32-642.6.2.el6"],"introduced":["0"],"last_affected":[],"package":"python-perf-debuginfo","purl":"pkg:rpm/redhat/python-perf-debuginfo","source":"RHSA-2016:2105"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:2.6.32-642.6.2.el6"],"introduced":["0"],"last_affected":[],"package":"kernel","purl":"pkg:rpm/redhat/kernel","source":"RHSA-2016:2105"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:2.6.32-642.6.2.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-abi-whitelists","purl":"pkg:rpm/redhat/kernel-abi-whitelists","source":"RHSA-2016:2105"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:2.6.32-642.6.2.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-bootwrapper","purl":"pkg:rpm/redhat/kernel-bootwrapper","source":"RHSA-2016:2105"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:2.6.32-642.6.2.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-debug","purl":"pkg:rpm/redhat/kernel-debug","source":"RHSA-2016:2105"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:2.6.32-642.6.2.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-debuginfo","purl":"pkg:rpm/redhat/kernel-debug-debuginfo","source":"RHSA-2016:2105"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:2.6.32-642.6.2.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-devel","purl":"pkg:rpm/redhat/kernel-debug-devel","source":"RHSA-2016:2105"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:2.6.32-642.6.2.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo","purl":"pkg:rpm/redhat/kernel-debuginfo","source":"RHSA-2016:2105"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:2.6.32-642.6.2.el6"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo-common-i686","purl":"pkg:rpm/redhat/kernel-debuginfo-common-i686","source":"RHSA-2016:2105"}],"prev":{"headline":"Unspecified vulnerabilities in Google Chrome before 54.0.2840.59.","id":"CVE-2016-5194"},"products":["n/a"],"published":"2016-11-10","related":[{"cvss_score":9.8,"headline":"SaltStack Salt Authentication Bypass","id":"CVE-2020-11651","kev_date_added":"2021-11-03","published":"2020-04-30"},{"cvss_score":9.8,"headline":"OpenSMTPD Remote Code Execution","id":"CVE-2020-7247","kev_date_added":"2022-03-25","published":"2020-01-29"},{"cvss_score":9.8,"headline":"Exim Out-of-bounds Write","id":"CVE-2019-16928","kev_date_added":"2022-03-03","published":"2019-09-27"},{"cvss_score":9.8,"headline":"Exim Buffer Overflow","id":"CVE-2018-6789","kev_date_added":"2021-11-03","published":"2018-02-08"},{"cvss_score":9.8,"headline":"Oracle Java SE and Java SE Embedded Remote Code Execution","id":"CVE-2015-2590","kev_date_added":"2022-03-03","published":"2015-07-16"},{"cvss_score":9.8,"headline":"Oracle JRE Remote Code Execution","id":"CVE-2013-0422","kev_date_added":"2022-05-25","published":"2013-01-10"},{"cvss_score":9.8,"headline":"Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution","id":"CVE-2011-3544","kev_date_added":"2022-03-03","published":"2011-10-19"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-11-04","vendors":["n/a"]},"summary":"Local attackers can exploit a race condition in the Linux kernel's copy-on-write handling to gain elevated privileges.","url":"https://insights.sbomify.com/CVE-2016-5195/"}