Inbox COM Objects (Global Memory) Remote Code Execution Vulnerability (CVE-2025-58731)
A use-after-free flaw in Inbox COM Objects lets an unauthorised attacker execute code locally, but only if they win a race condition. An attacker must send a malicious Office file and convince the victim to open it.
Originally disclosed on Microsoft
Description
Use after free in Inbox COM Objects allows an unauthorized attacker to execute code locally.
FAQ
According to the CVSS metric, the attack complexity is high (AC:H). What does that mean for this vulnerability? Successful exploitation of this vulnerability requires an attacker to win a race condition.
FAQ
According to the CVSS metric, the attack vector is local (AV:L). Why does the CVE title indicate that this is a remote code execution? The word Remote in the title refers to the location of the attacker. This type of exploit is sometimes referred to as Arbitrary Code Execution (ACE). The attack itself is carried out locally. This means an attacker or victim needs to execute code from the local machine to exploit the vulnerability.
FAQ
According to the CVSS metric, user interaction is required (UI:R). What interaction would the user have to do? An attacker must send a user a malicious Office file and convince them to open it.
Inbox COM Objects
Inbox COM Objects
Microsoft
Microsoft
Customer Action Required
Yes
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a use-after-free in Inbox COM Objects, where memory is accessed after being freed.
Impact
An attacker could execute code locally, but only if they win a race condition and the victim opens a malicious Office file.
What the attacker needed
Victim opens a malicious Office file; attacker wins a race condition; local execution on the victim machine
How it was found
- An attacker creates a malicious Office file.
- The attacker sends the file to the victim.
- The attacker convinces the victim to open the file.
- The attacker wins a race condition to trigger the use-after-free and execute code locally.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A use-after-free is a memory bug where a program keeps using a piece of memory after it has been freed, so an attacker can sometimes put their own data there and take control. Here the attacker has to win a race condition, meaning they must hit the exact moment the memory is freed, which is hard to do reliably. The attacker also needs the victim to open a specially crafted Office file.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.