CVE-2018-12181: Buffer Overflow
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
Remediation
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
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.
What is the severity of CVE-2018-12181?
CVE-2018-12181 has a severity level of medium.
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.
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.
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).