Vulnerability · Published Apr 11, 2025 · Assigned by TQtC
CVE-2025-3512Buffer overflow in QTextMarkdownImporter
Medium 4.8
In plain English
A medium-severity heap buffer overflow in Qt from Qt. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 14% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:13 | qt6-base | 6.8.2+dfsg-6 | DEBIAN-CVE-2025-3512 |
| Debian:14 | qt6-base | 6.8.2+dfsg-6 | DEBIAN-CVE-2025-3512 |
| Ubuntu:22.04:LTS | qt6-base | no fix listed | UBUNTU-CVE-2025-3512 |
| Ubuntu:24.04:LTS | qt6-base | no fix listed | UBUNTU-CVE-2025-3512 |
| Ubuntu:25.10 | qt6-base | no fix listed | UBUNTU-CVE-2025-3512 |
| Ubuntu:26.04:LTS | qt6-base | no fix listed | UBUNTU-CVE-2025-3512 |
| Ubuntu:26.10 | qt6-base | no fix listed | UBUNTU-CVE-2025-3512 |
| Ubuntu:22.04:LTS | qtbase-opensource-src-gles | no fix listed | UBUNTU-CVE-2025-3512 |
| Ubuntu:24.04:LTS | qtbase-opensource-src-gles | no fix listed | UBUNTU-CVE-2025-3512 |
| Ubuntu:25.10 | qtbase-opensource-src-gles | no fix listed | UBUNTU-CVE-2025-3512 |
| Ubuntu:26.04:LTS | qtbase-opensource-src-gles | no fix listed | UBUNTU-CVE-2025-3512 |
| Ubuntu:26.10 | qtbase-opensource-src-gles | no fix listed | UBUNTU-CVE-2025-3512 |
Affected products (as reported)
Weakness: CWE-122 · Vector: 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
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