# CVE-2025-3512: Buffer overflow in QTextMarkdownImporter

- Priority: **Routine**
- Reason: Not severe (CVSS 4.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-04-11 · Modified: 2026-07-29
- Aliases: UBUNTU-CVE-2025-3512, DEBIAN-CVE-2025-3512
- Record: https://cvemate.com/vulnerability/CVE-2025-3512 · JSON: https://cvemate.com/vulnerability/CVE-2025-3512/json

## Description

```text
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.
```

## Signals

- CVSS: 4.8 medium (v4.0, CVE.org) 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
- EPSS: 0.232%, percentile 14.97%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian qt6-base (Debian): \< 6.8.2+dfsg-6
- ubuntu qt6-base (Ubuntu): All versions (No fix recorded)
- ubuntu qtbase-opensource-src-gles (Ubuntu): All versions (No fix recorded)
- qt qt: ≥ 6.8.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>
- <https://ubuntu.com/security/CVE-2025-3512>
- <https://www.cve.org/CVERecord?id=CVE-2025-3512>
- <https://security-tracker.debian.org/tracker/CVE-2025-3512>

---

Data as of 2026-12-05T12:34:27.840Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
