CVE-2021-4034 · Known exploited vulnerability

CVE-2021-4034: Red Hat Polkit Out-of-Bounds Read and Write

Actively exploited (CISA KEV)Ransomware use: KnownPatch available

Summary

CVE-2021-4034 is an out-of-bounds read and write vulnerability in Red Hat Polkit, rated high severity with a CVSS base score of 7.8.

CISA added it to the Known Exploited Vulnerabilities catalogue on 27 June 2022, which means there is reliable evidence that attackers have exploited it and it is known to have been used in ransomware campaigns.

It can be exploited by someone who can already run code or log in on the device with a low-privileged account.

The Red Hat polkit pkexec utility contains an out-of-bounds read and write vulnerability that allows for privilege escalation with administrative rights.
CISA catalogue description

Key facts

Affected product
Red Hat · Polkit
CVSS severity
High7.8CVSS v3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS (exploitation likelihood, next 30 days)
94.92%Higher than 99.8% of all scored CVEs
Weakness (CWE)
CWE-787
Added to CISA KEV
CISA due date (US federal agencies)
First published (NVD)
NVD status
Analyzed

CISA required action

Apply updates per vendor instructions.

What UK organisations should do

01 Patch or mitigate

  • The vendor has published a fix. Apply the update to every affected instance, starting with internet-facing systems.
  • CISA's required action: Apply updates per vendor instructions. CISA set a remediation due date of 18 July 2022 for US federal agencies; treat it as an indication of urgency rather than a deadline you can wait for.
  • If you cannot patch straight away, record the risk decision, limit access to the affected service and set a review date.

02 Check your exposure

  • Confirm whether you run Red Hat Polkit anywhere, including systems managed by suppliers or cloud providers.
  • Identify every installed version, including embedded or bundled copies, and prioritise internet-facing and user-facing systems.
  • Because this vulnerability is known to be exploited, check affected systems for signs of compromise before and after patching, not just for the missing update.

03 Monitor and respond

  • Watch for crashes or restarts of the affected service, which can indicate exploitation attempts, alongside unusual process activity.
  • If you find signs of compromise, follow your incident response plan. UK organisations can report significant incidents to the National Cyber Security Centre (NCSC), and personal data breaches may need to be reported to the ICO within 72 hours.

Other exploited Red Hat Polkit vulnerabilities

More from Red Hat

  • CVE-2015-5287

    Automatic Bug Reporting Tool

    Privilege Escalation

    High7.8
  • CVE-2015-3246

    Libuser

    Race Condition

    High7.4
  • CVE-2018-14667

    JBoss RichFaces Framework

    Expression Language Injection

    Critical9.8
  • CVE-2010-1428

    JBoss

    Information Disclosure

    RansomwareHigh7.5
  • CVE-2010-0738

    JBoss

    Authentication Bypass

    RansomwareMedium5.3
  • CVE-2017-12149

    JBoss Application Server

    Remote Code Execution

    RansomwareCritical9.8
All 9 Red Hat vulnerabilities

Same weakness (CWE-787) in other products

  • CVE-2026-111497

    Google · Brotli

    Unchecked Return Value

    Critical9.8
  • CVE-2026-86950

    Apple · Multiple Products

    Out-of-Bounds Write

    High8.8
  • CVE-2026-53266

    Linux · Kernel

    Out-of-Bounds Write

    High8.8
  • CVE-2026-87491

    Google · Chromium V8

    Out of Bounds Write

    High8.8
  • CVE-2025-25249

    Fortinet · Multiple Products

    Heap-based Buffer Overflow

    Critical9.8
  • CVE-2026-53362

    Linux · Kernel

    Out-of-bounds write

    High7.8

Sources and references

Last updated . Summary and guidance are generated from CISA, NVD and FIRST data; always confirm details in the vendor advisory.