{"id":"UBUNTU-CVE-2025-7519","details":"A flaw was found in polkit. When processing an XML policy with 32 or more nested elements in depth, an out-of-bounds write can be triggered. This issue can lead to a crash or other unexpected behavior, and arbitrary code execution is not discarded. To exploit this flaw, a high-privilege account is needed as it's required to place the malicious policy file properly.","modified":"2026-04-22T16:15:51.224832Z","published":"2025-07-14T14:15:00Z","related":["USN-8173-1"],"upstream":["CVE-2025-7519"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-7519"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-7519"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2025-7519"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8173-1"}],"affected":[{"package":{"name":"policykit-1","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/policykit-1@0.105-4ubuntu3.14.04.6+esm1?arch=source&distro=esm-infra-legacy/trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.105-3ubuntu3","0.105-4ubuntu1","0.105-4ubuntu2","0.105-4ubuntu2.14.04.1","0.105-4ubuntu3.14.04.1","0.105-4ubuntu3.14.04.2","0.105-4ubuntu3.14.04.5","0.105-4ubuntu3.14.04.6","0.105-4ubuntu3.14.04.6+esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.105-4ubuntu3.14.04.6+esm1","binary_name":"gir1.2-polkit-1.0"},{"binary_version":"0.105-4ubuntu3.14.04.6+esm1","binary_name":"libpolkit-agent-1-0"},{"binary_version":"0.105-4ubuntu3.14.04.6+esm1","binary_name":"libpolkit-backend-1-0"},{"binary_version":"0.105-4ubuntu3.14.04.6+esm1","binary_name":"libpolkit-gobject-1-0"},{"binary_version":"0.105-4ubuntu3.14.04.6+esm1","binary_name":"policykit-1"}],"priority_reason":"Root privileges are required to exploit this issue"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-7519.json"}},{"package":{"name":"policykit-1","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/policykit-1@0.105-14.1ubuntu0.5+esm1?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.105-11ubuntu2","0.105-13","0.105-13ubuntu1","0.105-14","0.105-14.1","0.105-14.1ubuntu0.1","0.105-14.1ubuntu0.4","0.105-14.1ubuntu0.5","0.105-14.1ubuntu0.5+esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.105-14.1ubuntu0.5+esm1","binary_name":"gir1.2-polkit-1.0"},{"binary_version":"0.105-14.1ubuntu0.5+esm1","binary_name":"libpolkit-agent-1-0"},{"binary_version":"0.105-14.1ubuntu0.5+esm1","binary_name":"libpolkit-backend-1-0"},{"binary_version":"0.105-14.1ubuntu0.5+esm1","binary_name":"libpolkit-gobject-1-0"},{"binary_version":"0.105-14.1ubuntu0.5+esm1","binary_name":"policykit-1"}],"priority_reason":"Root privileges are required to exploit this issue"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-7519.json"}},{"package":{"name":"policykit-1","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/policykit-1@0.105-20ubuntu0.18.04.6?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.105-18","0.105-20","0.105-20ubuntu0.18.04.1","0.105-20ubuntu0.18.04.4","0.105-20ubuntu0.18.04.5","0.105-20ubuntu0.18.04.6"],"ecosystem_specific":{"binaries":[{"binary_version":"0.105-20ubuntu0.18.04.6","binary_name":"gir1.2-polkit-1.0"},{"binary_version":"0.105-20ubuntu0.18.04.6","binary_name":"libpolkit-agent-1-0"},{"binary_version":"0.105-20ubuntu0.18.04.6","binary_name":"libpolkit-backend-1-0"},{"binary_version":"0.105-20ubuntu0.18.04.6","binary_name":"libpolkit-gobject-1-0"},{"binary_version":"0.105-20ubuntu0.18.04.6","binary_name":"policykit-1"}],"priority_reason":"Root privileges are required to exploit this issue"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-7519.json"}},{"package":{"name":"policykit-1","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/policykit-1@0.105-26ubuntu1.3?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.105-26ubuntu1","0.105-26ubuntu1.1","0.105-26ubuntu1.2","0.105-26ubuntu1.3"],"ecosystem_specific":{"binaries":[{"binary_version":"0.105-26ubuntu1.3","binary_name":"gir1.2-polkit-1.0"},{"binary_version":"0.105-26ubuntu1.3","binary_name":"libpolkit-agent-1-0"},{"binary_version":"0.105-26ubuntu1.3","binary_name":"libpolkit-gobject-1-0"},{"binary_version":"0.105-26ubuntu1.3","binary_name":"policykit-1"}],"priority_reason":"Root privileges are required to exploit this issue"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-7519.json"}},{"package":{"name":"policykit-1","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/policykit-1@0.105-33ubuntu0.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.105-33ubuntu0.1"}]}],"versions":["0.105-31","0.105-31ubuntu1","0.105-31.1","0.105-32","0.105-33"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"0.105-33ubuntu0.1","binary_name":"gir1.2-polkit-1.0"},{"binary_version":"0.105-33ubuntu0.1","binary_name":"libpolkit-agent-1-0"},{"binary_version":"0.105-33ubuntu0.1","binary_name":"libpolkit-gobject-1-0"},{"binary_version":"0.105-33ubuntu0.1","binary_name":"pkexec"},{"binary_version":"0.105-33ubuntu0.1","binary_name":"policykit-1"},{"binary_version":"0.105-33ubuntu0.1","binary_name":"polkitd"}],"priority_reason":"Root privileges are required to exploit this issue"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-7519.json"}},{"package":{"name":"policykit-1","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/policykit-1@124-2ubuntu1.24.04.3?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"124-2ubuntu1.24.04.3"}]}],"versions":["123-1","123-3","124-1","124-1ubuntu1","124-2ubuntu1","124-2ubuntu1.24.04.2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"124-2ubuntu1.24.04.3","binary_name":"gir1.2-polkit-1.0"},{"binary_version":"124-2ubuntu1.24.04.3","binary_name":"libpolkit-agent-1-0"},{"binary_version":"124-2ubuntu1.24.04.3","binary_name":"libpolkit-gobject-1-0"},{"binary_version":"124-2ubuntu1.24.04.3","binary_name":"pkexec"},{"binary_version":"124-2ubuntu1.24.04.3","binary_name":"policykit-1"},{"binary_version":"124-2ubuntu1.24.04.3","binary_name":"polkitd"},{"binary_version":"124-2ubuntu1.24.04.3","binary_name":"polkitd-pkla"}],"priority_reason":"Root privileges are required to exploit this issue"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-7519.json"}},{"package":{"name":"policykit-1","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/policykit-1@126-2ubuntu0.1?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"126-2ubuntu0.1"}]}],"versions":["126-2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"126-2ubuntu0.1","binary_name":"gir1.2-polkit-1.0"},{"binary_version":"126-2ubuntu0.1","binary_name":"libpolkit-agent-1-0"},{"binary_version":"126-2ubuntu0.1","binary_name":"libpolkit-gobject-1-0"},{"binary_version":"126-2ubuntu0.1","binary_name":"pkexec"},{"binary_version":"126-2ubuntu0.1","binary_name":"polkitd"}],"priority_reason":"Root privileges are required to exploit this issue"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-7519.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"low"}]}