Skip to content
RCE Advisory Advanced CVE-2025-0065

TeamViewer Improper Neutralization of Argument Delimiters Local Privilege Escalation Vulnerability

The TeamViewer service on TCP port 5939 fails to properly validate a user-supplied string before using it in a system call, allowing a local attacker with low-privileged code execution to escalate to SYSTEM privileges. The attacker can execute arbitrary code with SYSTEM rights.

Anonymous Follow

Originally disclosed on Zero Day Initiative

High 7.8 View original

This vulnerability allows local attackers to escalate privileges on affected installations of TeamViewer. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.

Anonymous, on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

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

Impact

An attacker with low-privileged code execution could escalate to SYSTEM and execute arbitrary code.

What the attacker needed

Local low-privileged code execution

The fix

TeamViewer has issued an update to correct this vulnerability.

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.

This is a local privilege escalation bug in TeamViewer. An attacker who can already run low-privileged code on the machine can send a specially crafted string to a service listening on a local port, and because the service does not check that string properly, it runs commands as the SYSTEM user (the highest privilege level on Windows).

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by Anonymous

View all

2,270 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.