CVE-2021-3057 GlobalProtect App: Buffer Overflow Vulnerability When Connecting to Portal or Gateway
A man-in-the-middle attacker can trigger a stack-based buffer overflow in the GlobalProtect app to execute arbitrary code with SYSTEM privileges.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-3057?
CVE-2021-3057 is a high-severity memory corruption vulnerability in Palo Alto Networks GlobalProtect App, published on 13 Oct 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A stack-based buffer overflow vulnerability exists in the Palo Alto Networks GlobalProtect app that enables a man-in-the-middle attacker to disrupt system processes and potentially execute arbitrary code with SYSTEM privileges. This issue impacts: GlobalProtect app 5.1 versions earlier than GlobalProtect app 5.1.9 on Windows; GlobalProtect app 5.2 versions earlier than GlobalProtect app 5.2.8 on Windows; GlobalProtect app 5.2 versions earlier than GlobalProtect app 5.2.8 on the Universal Windows Platform; GlobalProtect app 5.3 versions earlier than GlobalProtect app 5.3.1 on Linux.
Which versions are affected by CVE-2021-3057?
It affects 1 product.
Products include Paloaltonetworks Globalprotect.
How do I fix CVE-2021-3057?
No fix has been published for CVE-2021-3057 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-2021-3057 being exploited?
There is no known exploitation of CVE-2021-3057 in the wild and no public exploit code.
Other vulnerabilities in Palo Alto Networks GlobalProtect App
- CVE-2025-4232 GlobalProtect: Authenticated Code Injection Through Wildcard on macOS
- CVE-2023-0009 GlobalProtect App: Local Privilege Escalation (PE) Vulnerability
- CVE-2022-0016 GlobalProtect App: Privilege Escalation Vulnerability When Using Connect Before Logon
- CVE-2025-0120 GlobalProtect App: Local Privilege Escalation (PE) Vulnerability
- CVE-2019-17436 Privilege escalation in GlobalProtect Agent for Linux and OSX
Sources
Also known as GHSA-h626-v3v8-8r8x.