# CVE-2025-3512: Buffer overflow in QTextMarkdownImporter

- Severity: Medium 4.8 (CVSS:4.0, scored by TQtC) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/U:Clear`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 15% of CVEs (2026-12-01)
- Published: 2025-04-11T07:39:48.298Z
- Modified: 2026-07-29T08:16:29.517Z
- Weaknesses: CWE-122
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: TQtC

## 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.

(As written by CVE List.)

## Affected

- Qt Qt: from 6.6.0 before 6.8.0; from 6.8.0 before 6.8.4 (not affected: before 6.6.0; 6.8.4)

## References

- <https://codereview.qt-project.org/c/qt/qtbase/+/635546>
- <http://www.openwall.com/lists/oss-security/2025/04/24/4>
- <http://www.openwall.com/lists/oss-security/2025/04/24/5>
- <http://www.openwall.com/lists/oss-security/2025/04/24/6>
- <http://www.openwall.com/lists/oss-security/2025/04/25/1>
- <http://www.openwall.com/lists/oss-security/2025/04/25/2>

## Sources

- CVE List: [CVE-2025-3512](https://www.cve.org/CVERecord?id=CVE-2025-3512), CVE Terms of Use, modified 2026-07-29
- NVD: [CVE-2025-3512](https://nvd.nist.gov/vuln/detail/CVE-2025-3512), Public domain, modified 2026-07-29

---

Page: https://cve.day/CVE-2025-3512 · Whole record: https://cve.day/CVE-2025-3512.json · Rebuilt by cve.day 2026-11-25T22:58:56.393Z
