Heap-based buffer overflow in Qt - CVE-2025-3512
Published: July 1, 2025
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in QTextMarkdownImporter when processing an incorrectly formatted markdown file. A remote attacker can pass specially crafted data to the application, trigger a heap-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Gentoo Linux
dev-qt/qtgui
dev-qt/qtnetwork
dev-qt/qtbase
How to mitigate CVE-2025-3512
dev-qt/qtgui - update to 5.15.12-r2
dev-qt/qtnetwork - update to 5.15.14-r1
dev-qt/qtbase - update to 6.8.3-r1