CVE-2025-3512
Buffer overflow in QTextMarkdownImporter
Description
There is a Heap-based Buffer Overflow vulnerability in QTextMarkdownImporter. This requires an incorrectly formatted markdown file to be passed to QTextMarkdownImporter to trigger the overflow. This issue affects Qt from 6.8.0 to 6.8.4. Versions up to 6.6.0 are known to be unaffected, and the fix is in 6.8.4 and later.
INFO
Published Date :
April 11, 2025, 8:15 a.m.
Last Modified :
July 29, 2026, 8:16 a.m.
Remotely Exploit :
No
Source :
a59d8014-47c4-4630-ab43-e1b13cbe58e3
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 4.0 | MEDIUM | a59d8014-47c4-4630-ab43-e1b13cbe58e3 |
Solution
- Update to Qt version 6.8.4 or later.
- Apply vendor-provided patches for affected Qt versions.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-3512.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-3512 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-3512
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-3512 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-3512 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by a59d8014-47c4-4630-ab43-e1b13cbe58e3
Jul. 29, 2026
Action Type Old Value New Value Changed Affected [{'vendor': 'The Qt Company', 'product': 'Qt', 'versions': [{'status': 'unaffected', 'version': '0', 'lessThan': '6.6.0', 'versionType': 'python'}, {'status': 'unknown', 'version': '6.6.0', 'lessThan': '6.8.0', 'versionType': 'python'}, {'status': 'affected', 'version': '6.8.0', 'lessThan': '6.8.4', 'versionType': 'python'}, {'status': 'unaffected', 'version': '6.8.4', 'versionType': 'python'}], 'defaultStatus': 'unaffected'}] [{'vendor': 'Qt', 'product': 'Qt', 'versions': [{'status': 'unaffected', 'version': '0', 'lessThan': '6.6.0', 'versionType': 'python'}, {'status': 'unknown', 'version': '6.6.0', 'lessThan': '6.8.0', 'versionType': 'python'}, {'status': 'affected', 'version': '6.8.0', 'lessThan': '6.8.4', 'versionType': 'python'}, {'status': 'unaffected', 'version': '6.8.4', 'versionType': 'python'}], 'defaultStatus': 'unaffected'}] Changed Description There is a Heap-based Buffer Overflow vulnerability in QTextMarkdownImporter. This requires an incorrectly formatted markdown file to be passed to QTextMarkdownImporter to trigger the overflow.This issue affects Qt from 6.8.0 to 6.8.4. Versions up to 6.6.0 are known to be unaffected, and the fix is in 6.8.4 and later. There is a Heap-based Buffer Overflow vulnerability in QTextMarkdownImporter. This requires an incorrectly formatted markdown file to be passed to QTextMarkdownImporter to trigger the overflow. This issue affects Qt from 6.8.0 to 6.8.4. Versions up to 6.6.0 are known to be unaffected, and the fix is in 6.8.4 and later. -
CVE Modified by a59d8014-47c4-4630-ab43-e1b13cbe58e3
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'The Qt Company', 'product': 'Qt', 'versions': [{'status': 'unaffected', 'version': '0', 'lessThan': '6.6.0', 'versionType': 'python'}, {'status': 'unknown', 'version': '6.6.0', 'lessThan': '6.8.0', 'versionType': 'python'}, {'status': 'affected', 'version': '6.8.0', 'lessThan': '6.8.4', 'versionType': 'python'}, {'status': 'unaffected', 'version': '6.8.4', 'versionType': 'python'}], 'defaultStatus': 'unaffected'}] -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 17, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2025-3512', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2025-04-11T13:47:37.199274Z'} -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Apr. 25, 2025
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2025/04/25/2 -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Apr. 25, 2025
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2025/04/25/1 -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Apr. 24, 2025
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2025/04/24/5 Added Reference http://www.openwall.com/lists/oss-security/2025/04/24/6 -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Apr. 24, 2025
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2025/04/24/4 -
New CVE Received by a59d8014-47c4-4630-ab43-e1b13cbe58e3
Apr. 11, 2025
Action Type Old Value New Value Added Description There is a Heap-based Buffer Overflow vulnerability in QTextMarkdownImporter. This requires an incorrectly formatted markdown file to be passed to QTextMarkdownImporter to trigger the overflow.This issue affects Qt from 6.8.0 to 6.8.4. Versions up to 6.6.0 are known to be unaffected, and the fix is in 6.8.4 and later. Added CVSS V4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Clear Added CWE CWE-122 Added Reference https://codereview.qt-project.org/c/qt/qtbase/+/635546