CVE-2018-25231

MEDIUM

HeidiSQL 9.5.0.5196 Denial of Service via Preferences

Title source: cna
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2018-25231. PoCs published by Victor Mondragón.

AI-analyzed exploit summary This PoC exploits a buffer overflow vulnerability in HeidiSQL 9.5.0.5196 by writing a large string of 'A' characters to a file, which when pasted into the application's logging preferences causes a crash (DoS). The exploit is straightforward and demonstrates the vulnerability effectively.

Description

HeidiSQL 9.5.0.5196 contains a denial of service vulnerability that allows local attackers to crash the application by supplying an excessively long file path in the logging preferences. Attackers can input a buffer-overflow payload through the SQL log file path field in Preferences > Logging to trigger an application crash.

Exploits (1)

exploitdb WORKING POC
by Victor Mondragón · pythondoswindows
https://www.exploit-db.com/exploits/45806

This PoC exploits a buffer overflow vulnerability in HeidiSQL 9.5.0.5196 by writing a large string of 'A' characters to a file, which when pasted into the application's logging preferences causes a crash (DoS). The exploit is straightforward and demonstrates the vulnerability effectively.

Classification
Working Poc 95%
Attack Type
Dos
Complexity
Trivial
Reliability
Reliable
Target: HeidiSQL 9.5.0.5196
No auth needed
Prerequisites: Python to generate the payload file · User interaction to paste the payload into HeidiSQL's logging preferences
devstral-2 · analyzed Apr 08, 2026 Full analysis →

References (4)

Core 4
Core References
Exploit exploit
ExploitDB-45806
https://www.exploit-db.com/exploits/45806
Product product
Official Product Homepage
https://www.heidisql.com/
Product product
Product Reference
https://www.heidisql.com/download.php
Third Party Advisory third-party-advisory
VulnCheck Advisory: HeidiSQL 9.5.0.5196 Denial of Service via Preferences
https://www.vulncheck.com/advisories/heidisql-denial-of-service-via-preferences

Scores

CVSS v3 6.2
EPSS 0.0021
EPSS Percentile 10.7%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-98
Status published
Products (2)
heidisql/heidisql < 9.5.0.5196
Heidisql/HeidiSQL 9.5.0.5196
Published Mar 30, 2026
Tracked Since Mar 30, 2026