CVE-2026-19411

Shim/dp.c library: null-pointer dereference in is_removable_media_path() when devicepathtostr() returns null

Published Aug 10, 2026 CVSS 3.1 · 3.9 Low EPSS < 1% KEV · Not listed
Description
A NULL pointer vulnerability has been found in the the shim application of dp.c library. A missing NULL pointer could allow attackers to perform a denial of service attack on a system that uses shim application for UEFI bootloader.

Analysis

AI-generated

Technical impact

The flaw occurs in the Shim application of the dp.c library; a missing null pointer check means that if devicepathtostr() returns null, the function is_removable_media_path() will dereference it and cause the system to crash. This crash results in a denial of service for any machine that relies on Shim for its UEFI bootloader. The weakness is a null pointer dereference, as identified by CWE‑476. No path to code execution or data disclosure is indicated in the description.

Affected Systems

The vulnerability affects Red Hat Enterprise Linux 7, 8, and 9, as listed by the CNA. The flaw is tied to the shim component used during UEFI boot on those operating systems. No more granular version information is provided beyond the overall RHEL families.

Risk and Exploitability

The CVSS score of 3.9 signals low severity, and there is no EPSS data or KEV listing. Exploitation would likely require an attacker to deliver a device path that causes devicepathtostr() to return null, but the specific preconditions are not detailed in the advisory. Because the impact is limited to a crash that interrupts boot, the practical risk appears modest, and no public exploits are documented.

Remediation

Vendor Workaround

The code could be modified to include NULL pointer checkers in the code. Before DevicePathToStr : "if (li == NULL || li->FilePath == NULL) return 0;" After DevicePathToStr : "if (bootpath == NULL) return 0;" At error: "if (bootpath != NULL)"


OpenCVE Recommended Actions

  • Modify the shim source to insert null pointer checks as shown in the CNA workaround: add "if (bootpath == NULL) return 0;" before dereferencing, and guard errors with "if (bootpath != NULL)".
  • Install any Red Hat security update that contains the shim fix; check the vendor’s advisory or update repository for a patch that addresses the null‑pointer dereference.
  • If a patch is not yet available, avoid using legacy shim binaries by upgrading to the latest RHEL 9 release or disabling shim during the UEFI boot process to prevent the crash.

Generated by OpenCVE AI on August 10, 2026 at 22:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A NULL pointer vulnerability has been found in the the shim application of dp.c library. A missing NULL pointer could allow attackers to perform a denial of service attack on a system that uses shim application for UEFI bootloader.
Title Shim/dp.c library: null-pointer dereference in is_removable_media_path() when devicepathtostr() returns null
First Time appeared Redhat
Redhat enterprise Linux
Weaknesses CWE-476
CPEs cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
References
Metrics cvssV3_1

{'score': 3.9, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:N/I:L/A:L'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 6, 2026, 6:09 PM
Reserved
Aug 10, 2026, 9:33 AM
Status
Awaiting Analysis
Published
Aug 10, 2026, 9:17 PM
Modified
Nov 6, 2026, 7:17 PM
Severity
Low
Public date
Aug 10, 2026, 9:00 AM