Menu

Star on GitHub · 3.4k

CVE-2024-26678

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: x86/efistub: Use 1:1 file:memory mapping for PE/COFF .compat section The .compat section is a dummy PE section that contains th…

Published Apr 2, 2024CWE-787EPSS 0.22%

Overview

CVE-2024-26678 is a medium-severity vulnerability. It was published on April 2, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

x86/efistub: Use 1:1 file:memory mapping for PE/COFF .compat section

The .compat section is a dummy PE section that contains the address of

the 32-bit entrypoint of the 64-bit kernel image if it is bootable from

32-bit firmware (i.e., CONFIG_EFI_MIXED=y)

This section is only 8 bytes in size and is only referenced from the

loader, and so it is placed at the end of the memory view of the image,

to avoid the need for padding it to 4k, which is required for sections

appearing in the middle of the image.

Unfortunately, this violates the PE/COFF spec, and even if most EFI

loaders will work correctly (including the Tianocore reference

implementation), PE loaders do exist that reject such images, on the

basis that both the file and memory views of the file contents should be

described by the section headers in a monotonically increasing manner

without leaving any gaps.

So reorganize the sections to avoid this issue. This

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2024-26678?

CVE-2024-26678 is a medium-severity vulnerability. It was published on April 2, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2024-26678?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-26678?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-26678?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-26678 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2024

View all
LiveWatch live →