CVE-2025-59504 Azure Monitor Agent Remote Code Execution Vulnerability

High 7.3 Published Updated

An unauthorized attacker can execute code locally via a heap-based buffer overflow in the Azure Monitor Agent.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-59504?

CVE-2025-59504 is a high-severity memory corruption vulnerability in Microsoft Azure Monitor, published on 11 Nov 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Heap-based buffer overflow in Azure Monitor Agent allows an unauthorized attacker to execute code locally.

Weakness: CWE-122

Which versions are affected by CVE-2025-59504?

It affects 1 product.

Products include Microsoft Azure Monitor Agent.

How do I fix CVE-2025-59504?

No fix has been published for CVE-2025-59504 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-59504 being exploited?

There is no known exploitation of CVE-2025-59504 in the wild and no public exploit code.

Sources

Also known as GHSA-2575-3228-j966.

Is CVE-2025-59504 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free