CVE-2023-5342 Shim: expired secure boot certificate

Medium 4.1 Published Updated

An expired Secure Boot certificate in Fedora's shim allows loading of old or invalid signed boot components, bypassing security checks.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-5342?

CVE-2023-5342 is a medium-severity vulnerability in Red Hat Enterprise Linux 10, published on 15 Aug 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The Fedora Secure Boot CA certificate shipped with shim in Fedora was expired which could lead to old or invalid signed boot components being loaded.

Weakness: CWE-324

Which versions are affected by CVE-2023-5342?

How do I fix CVE-2023-5342?

No fix has been published for CVE-2023-5342 yet. Limit exposure of the affected software until one is available.

Is CVE-2023-5342 being exploited?

There is no known exploitation of CVE-2023-5342 in the wild and no public exploit code.

Sources

Also known as GHSA-pj5r-f4h5-qprv.

Is CVE-2023-5342 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free