CVE-2018-12181: Buffer Overflow

Published Mar 7, 2019
·
Updated

A stack buffer overflow was found in edk2 when the HII database contains a Bitmap who claims as 4-bit or 8-bit per pixel, but the palette contains more than 16(2^4) or 256(2^8) colors.

Upstream issue:

https://bugzilla.tianocore.org/showbug.cgi?id=1135

References:

https://lists.01.org/pipermail/edk2-devel/2019-March/037626.html

Other sources

A stack-based buffer overflow was discovered in edk2 when the HII database contains a Bitmap that claims to be 4-bit or 8-bit per pixel, but the palette contains more than 16(2^4) or 256(2^8) colors.

Stack overflow in corrupted bmp for EDK II may allow unprivileged user to potentially enable denial of service or elevation of privilege via local access.

Affected Software

4 affected componentsFixes available
redhat/ovmf<0:20180508-6.gitee3198e672e2.el7
0:20180508-6.gitee3198e672e2.el7
redhat/edk2<0:20190308git89910a39dcfd-6.el8
0:20190308git89910a39dcfd-6.el8
Tianocore EDK II
debian/edk2
2020.11-2+deb11u22020.11-2+deb11u32022.11-6+deb12u22022.11-6+deb12u12025.02-8+deb13u12025.02-92025.11-4

Event History

Mar 7, 2019
CVE Published
12:00 AM
Mar 8, 2019
Data Sourced
via Red Hat·10:07 AM
DescriptionSeverityAffected Software
Mar 27, 2019
CVE Published
via MITRE·07:23 PM
Data Sourced
via MITRE·07:23 PM
DescriptionWeakness
Data Sourced
via NVD·08:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Feb 20, 2026
Data Sourced
via Ubuntu·04:24 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·04:25 PM
DescriptionAffected Software
Data Sourced
via Launchpad·04:25 PM
Description

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2018-12181?

CVE-2018-12181 is a vulnerability that allows an unprivileged user to potentially enable denial of service through a stack overflow in corrupted bmp for EDK II.

2

What is the severity of CVE-2018-12181?

CVE-2018-12181 has a severity level of medium.

3

Which software is affected by CVE-2018-12181?

The affected software includes ovmf version 0:20180508-6.gitee3198e672e2.el7, edk2 version 0:20190308git89910a39dcfd-6.el8, and several versions of edk2 in Debian and Ubuntu.

4

How can I fix CVE-2018-12181?

To fix CVE-2018-12181, update the affected software to the recommended versions provided by the respective vendors.

5

Where can I find more information about CVE-2018-12181?

You can find more information about CVE-2018-12181 on the following references: [link1](https://bugzilla.tianocore.org/show_bug.cgi?id=1135), [link2](https://lists.01.org/pipermail/edk2-devel/2019-March/037626.html), [link3](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=1686785).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203