CVE-2025-7027 SMM Arbitrary Write via Dual-Controlled Pointers in CommandRcx1
Local attackers can achieve SMM privilege escalation and firmware compromise via arbitrary memory writes in GIGABYTE UEFI firmware.
- 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-2025-7027?
CVE-2025-7027 is a high-severity memory corruption vulnerability in GIGABYTE UEFI-GenericComponentSmmEntry, published on 11 Jul 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A vulnerability in the Software SMI handler (SwSmiInputValue 0xB2) allows a local attacker to control both the read and write addresses used by the CommandRcx1 function. The write target is derived from an unvalidated UEFI NVRAM variable (SetupXtuBufferAddress), while the write content is read from an attacker-controlled pointer based on the RBX register. This dual-pointer dereference enables arbitrary memory writes within System Management RAM (SMRAM), leading to potential SMM privilege escalation and firmware compromise.
Which versions are affected by CVE-2025-7027?
How do I fix CVE-2025-7027?
No fix has been published for CVE-2025-7027 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2025-7027 being exploited?
There is no known exploitation of CVE-2025-7027 in the wild and no public exploit code.
Sources
Also known as GHSA-9237-5j3g-vhw4.