CVE-2025-3512

NameCVE-2025-3512
DescriptionThere 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
qt6-base (PTS)bookworm6.4.2+dfsg-10fixed
sid, trixie6.8.2+dfsg-5vulnerable
qtbase-opensource-src (PTS)bullseye5.15.2+dfsg-9+deb11u1fixed
bookworm5.15.8+dfsg-11+deb12u2fixed
sid, trixie5.15.15+dfsg-5fixed
qtbase-opensource-src-gles (PTS)bullseye5.15.2+dfsg-4fixed
bookworm5.15.8+dfsg-3fixed
sid, trixie5.15.15+dfsg-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
qt6-basesourcebookworm(not affected)
qt6-basesource(unstable)(unfixed)
qtbase-opensource-srcsource(unstable)(not affected)
qtbase-opensource-src-glessource(unstable)(not affected)

Notes

[bookworm] - qt6-base <not-affected> (Vulnerable code introduce after 6.6.0)
- qtbase-opensource-src <not-affected> (Vulnerable code introduce after 6.6.0)
- qtbase-opensource-src-gles <not-affected> (Vulnerable code introduce after 6.6.0)
https://codereview.qt-project.org/c/qt/qtbase/+/635546

Search for package or bug name: Reporting problems