CVE-2018-12178
Critical · 9.1CVSS
9.1
EPSS
2.3%
Published
Mar 27, 2019
CISA due date
—
Cloudanix analysis
A flaw in certain firmware network handling could let remote attackers crash systems or gain elevated access without any login.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Privilege Gain
- Component
- Firmware
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Medium
What it actually does
Remote unauthenticated buffer overflow in the EDK II network stack allowing memory corruption that can lead to denial of service or privilege escalation.
Why it matters to the business
Attackers could remotely disrupt or take control of systems relying on EDK II firmware, leading to outages or compromise of boot and network services across many devices and vendors.
How an attack unfolds
An attacker sends specially crafted network packets to the exposed EDK II network stack; the malformed input overflows a buffer, corrupting memory and enabling the attacker to crash the target or execute arbitrary code with elevated privileges.
How to fix it
Upgrade Tianocore EDK II to a version containing the network stack buffer overflow fix; rebuild and redeploy all affected firmware images; apply vendor-supplied UEFI updates that incorporate the corrected EDK II codebase.
How to confirm the fix worked
Inventory all deployed EDK II versions, compare against known patched releases, and perform network fuzzing or static analysis on the network stack to confirm absence of the vulnerable buffer handling code.
Typical attack path
- Scan for systems exposing EDK II network services
- Send crafted packets to trigger the buffer overflow
- Observe crash or attempt to leverage memory corruption for code execution
- Escalate privileges or maintain persistence within the firmware environment
How to detect it
Review network logs and firmware crash dumps for sudden service terminations or malformed packet patterns targeting the network stack; correlate with any unexpected privilege changes or boot failures.
What your security team should do
- Immediately identify all products and devices using EDK II network stack components
- Prioritize firmware updates from upstream Tianocore and downstream vendors
- Restrict network exposure of any EDK II-based services until patched
- Monitor for anomalous crashes or unexpected behavior in firmware network handling
The record
Buffer overflow in network stack for EDK II may allow unprivileged user to potentially enable escalation of privilege and/or denial of service via network.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | edk2 | 0 | 0~20181115.85588389-3 |
| Debian:12 | edk2 | 0 | 0~20181115.85588389-3 |
| Debian:13 | edk2 | 0 | 0~20181115.85588389-3 |
| SUSE:Linux Enterprise Desktop 12 SP4 | ovmf | 0 | 2017+git1510945757.b2662641d5-3.8.3 |
| SUSE:Linux Enterprise Module for Server Applications 15 | ovmf | 0 | 2017+git1510945757.b2662641d5-5.14.1 |
| SUSE:Linux Enterprise Server 12 SP3 | ovmf | 0 | 2017+git1492060560.b6d11d7c46-4.20.1 |
| SUSE:Linux Enterprise Server 12 SP4 | ovmf | 0 | 2017+git1510945757.b2662641d5-3.8.3 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP3 | ovmf | 0 | 2017+git1492060560.b6d11d7c46-4.20.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP4 | ovmf | 0 | 2017+git1510945757.b2662641d5-3.8.3 |
| Ubuntu:16.04:LTS | edk2 | 0 | 0~20160408.ffea0a2c-2ubuntu0.1 |
| Ubuntu:18.04:LTS | edk2 | 0 | 0~20180205.c0d9813c-2ubuntu0.2 |
| openSUSE:Leap 15.0 | ovmf | 0 | 2017+git1510945757.b2662641d5-lp150.4.13.1 |
| openSUSE:Tumbleweed | ovmf | 0 | 202105-3.4 |
Related vulnerabilities
- CVE-2024-38796 EDK2 contains a vulnerability in the PeCoffLoaderRelocateImage(). Also affects edk2
- CVE-2024-1298 EDK2 contains a vulnerability when S3 sleep is activated where an Attacker may cause a… Also affects edk2
- CVE-2023-48733 An insecure default to allow UEFI Shell in EDK2 was left enabled in Ubuntu's EDK2. Also affects edk2
- CVE-2019-11098 Insufficient input validation in MdeModulePkg in EDKII may allow an unauthenticated user… Also affects edk2
- CVE-2019-14562 Integer overflow in DxeImageVerificationHandler() EDK II may allow an authenticated user… Also affects edk2
- CVE-2017-5731 Bounds checking in Tianocompress before November 7, 2017 may allow an authenticated user… Also affects ovmf
- CVE-2026-34874 An issue was discovered in Mbed TLS through 3.6.5 and 4.x through 4.0.0. Also affects ovmf
- CVE-2026-25833 Mbed TLS 3.5.0 to 3.6.5 fixed in 3.6.6 and 4.1.0 has a buffer overflow in the… Also affects ovmf