Skip to content
Memory corruption Disclosed report Advanced

Malformed .BSP Access Violation in CS:GO can lead to Remote Code Execution

A malformed .BSP map file can trigger an access violation in CS:GO, which the reporter claims can lead to arbitrary code execution. An attacker hosting a malicious server could compromise a remote client by having them download a custom map.

chippy Follow

Originally disclosed on HackerOne

Critical View original
  • Triaged in 41 hours
  • Fixed in 60 days
  • Paid in 59 days
  • Disclosed after 2 months

A malformed .BSP can trigger an Access Violation on CS:GO that can lead to arbitrary code execution on a remote computer. I have attached a copy of the malformed .BSP which reliably triggers an Access Violation on CS:GO.

Impact

An attacker hosting a malicious server could compromise a remote client by having them download a custom map, triggering remote code execution on the victim's computer.

The original report as published on HackerOne, by chippy. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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 memory corruption bug caused by insufficient validation of the .BSP file structure, leading to an out-of-bounds access.

Impact

An attacker hosting a malicious server could compromise a remote client by having them download a custom map, potentially achieving remote code execution.

What the attacker needed

Victim joins attacker's server; victim downloads custom map

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 .BSP file is a map format for CS:GO. A malformed one can trigger an access violation that might let an attacker run their own code on your computer.

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.

More by chippy

View all

3 more disclosed reports, best first.

More from Valve

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.