There is a flaw in polkit which can allow an unprivileged user to cause polkit to crash, due to process file descriptor exhaustion.
There is a flaw in polkit which can allow an unprivileged user to cause polkit to crash, due to process file descriptor exhaustion. The highest threat from this vulnerability is to availability. NOTE: Polkit process outage duration is tied to the failing process being reaped and a new one being spawned
- Published
- Feb 21, 2022
- Updated
- Jun 17, 2026
- EPSS
- 0.5% · 42th percentile
- CWE
- CWE-400
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
22
Monitor
Low priority for now.
- CVSS
- 22 / 40 · 5.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.5%
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpAffected systems
| Vendor | Product | CPE |
|---|---|---|
| polkit project | polkit | cpe:2.3:a:polkit_project:polkit |
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_linux |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| oracle | zfs storage appliance kit | cpe:2.3:a:oracle:zfs_storage_appliance_kit |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- canonical ubuntu linux20.04
- canonical ubuntu linux21.10
- debian debian linux11.0
- fedoraproject fedora34
- fedoraproject fedora35
- oracle zfs storage appliance kit8.8
- polkit project polkit0.117
- redhat enterprise linux8.0
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
n/a polkitd
- 0.117affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | polkit | before 0.115-13.el8_5.2 | 0.115-13.el8_5.2 |
| AlmaLinux:8 | polkit-devel | before 0.115-13.el8_5.2 | 0.115-13.el8_5.2 |
| AlmaLinux:8 | polkit-docs | before 0.115-13.el8_5.2 | 0.115-13.el8_5.2 |
| AlmaLinux:8 | polkit-libs | before 0.115-13.el8_5.2 | 0.115-13.el8_5.2 |
| Debian:12 | policykit-1 | before 0.105-32 | 0.105-32 |
| openSUSE:Leap 15.3 | polkit | before 0.116-3.9.1 | 0.116-3.9.1 |
| openSUSE:Tumbleweed | polkit | before 0.120-3.1 | 0.120-3.1 |
| Red Hat:enterprise_linux:8::baseos | polkit | before 0:0.115-13.el8_5.2 | 0:0.115-13.el8_5.2 |
| Red Hat:enterprise_linux:8::baseos | polkit-debuginfo | before 0:0.115-13.el8_5.2 | 0:0.115-13.el8_5.2 |
| Red Hat:enterprise_linux:8::baseos | polkit-debugsource | before 0:0.115-13.el8_5.2 | 0:0.115-13.el8_5.2 |
| Red Hat:enterprise_linux:8::baseos | polkit-devel | before 0:0.115-13.el8_5.2 | 0:0.115-13.el8_5.2 |
| Red Hat:enterprise_linux:8::baseos | polkit-docs | before 0:0.115-13.el8_5.2 | 0:0.115-13.el8_5.2 |
| Red Hat:enterprise_linux:8::baseos | polkit-libs | before 0:0.115-13.el8_5.2 | 0:0.115-13.el8_5.2 |
| Red Hat:enterprise_linux:8::baseos | polkit-libs-debuginfo | before 0:0.115-13.el8_5.2 | 0:0.115-13.el8_5.2 |
| Rocky Linux:8 | polkit | before 0:0.115-13.el8_5.2 | 0:0.115-13.el8_5.2 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP3 | polkit | before 0.116-3.9.1 | 0.116-3.9.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP5 | polkit | before 0.113-5.27.1 | 0.113-5.27.1 |
Same product
polkit project: all recordsOther highest-scoring records for the same primary product.
- CVE-2021-4034A local privilege escalation vulnerability was found on polkit's pkexec utility.KEV89Now
- CVE-2021-3560It was found that polkit could be tricked into bypassing the credential checks for D-Bus requests, elevating the privileges of the requestorKEV68This week
- CVE-2018-19788A flaw was found in PolicyKit (aka polkit) 0.115 that allows a user with a uid greater than INT_MAX to successfully execute any systemctl co38Monitor
- CVE-2019-6133In PolicyKit (aka polkit) 0.115, the "start time" protection mechanism can be bypassed because fork() is not atomic, and therefore authoriza26Monitor
- CVE-2015-3256PolicyKit (aka polkit) before 0.113 allows local users to cause a denial of service (memory corruption and polkitd daemon crash) and possibl18Monitor
- CVE-2015-3255The polkit_backend_action_pool_init function in polkitbackend/polkitbackendactionpool.c in PolicyKit (aka polkit) before 0.113 might allow l18Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| almalinux:polkit | 0.115-13.el8_5.2 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:polkit-devel | 0.115-13.el8_5.2 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:polkit-docs | 0.115-13.el8_5.2 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:polkit-libs | 0.115-13.el8_5.2 · AlmaLinux:8 | Package registry (OSV) |
| debian:policykit-1 | 0.105-32 · Debian:12 | Package registry (OSV) |
| opensuse:polkit | 0.116-3.9.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| red hat:polkit | 0:0.115-13.el8_5.2 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:polkit-debuginfo | 0:0.115-13.el8_5.2 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:polkit-debugsource | 0:0.115-13.el8_5.2 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:polkit-devel | 0:0.115-13.el8_5.2 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:polkit-docs | 0:0.115-13.el8_5.2 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:polkit-libs | 0:0.115-13.el8_5.2 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:polkit-libs-debuginfo | 0:0.115-13.el8_5.2 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| rocky linux:polkit | 0:0.115-13.el8_5.2 · Rocky Linux:8 | Package registry (OSV) |
| suse:polkit | 0.113-5.27.1 · SUSE:Linux Enterprise Software Development Kit 12 SP5 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-400 · Uncontrolled Resource ConsumptionCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Root cause
Code that parses nested structures sets no depth or size limit. A small input can turn into a disproportionate processing load.
The bug in code
The whole CWE-400 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
function expand(node) { return node.children.map(expand);}Fixed
const MAX_DEPTH = 32;function expand(node, depth = 0) { if (depth > MAX_DEPTH) throw new Error("too deep"); return node.children.map((c) => expand(c, depth + 1));}Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- packetstormsecurity.com/files/172849/polkit-File-Descriptor-Exhaustion.html
- access.redhat.com/security/cve/cve-2021-4115
- gitlab.com/redhat/centos-stream/rpms/polkit/-/merge_requests/6/diffs?commit_id=bf900df04dc390d389e59aa10942b0f2b15c531e
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VGKWCBS6IDZYYDYM2WIWJM5BL7QQTWPF/
- www.oracle.com/security-alerts/cpujul2022.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.