CVE-2020-12267

setMarkdown in Qt before 5.14.2 has a use-after-free related to QTextMarkdownImporter::insertBlock

published April 27, 2020

CVSS
—
EPSS
2%
Percentile
84.0
In the wild
Unconfirmed
What it is

⚠️ A sneaky use-after-free bug hides in Qt's setMarkdown function! This could lead to some unexpected behavior if you're using versions prior to 5.14.2. 😱 Think of it like a waiter accidentally serving a dish that someone took a bite of — instead of tossing it out, they try to serve it again without realising it could cause confusion and even an upset stomach! If exploited, this vulnerability could lead to unpredictable behavior in applications that rely on Qt for rendering Markdown. While it's not currently known to be exploited, the potential for disruption means it's not a situation to take lightly!

Put simply

Think of it like a waiter accidentally serving a dish that someone took a bite of — instead of tossing it out, they try to serve it again without realising it could cause confusion and even an upset stomach! The issue stems from a use-after-free condition within the QTextMarkdownImporter::insertBlock function, which can compromise the stability of the application, potentially allowing for memory corruption.

What to do

If exploited, this vulnerability could lead to unpredictable behavior in applications that rely on Qt for rendering Markdown. While it's not currently known to be exploited, the potential for disruption means it's not a situation to take lightly! Upgrade your Qt version to 5.14.2 or later to mitigate this risk. Regularly audit your dependencies to ensure you’re not using vulnerable versions. It’s always good practice to keep your application's libraries up to date! You've got this! Take these steps and you'll keep your applications running smoothly! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02408 · 84.0th percentile
Published
2020-04-27T01:31Z
EPSS history
Timeline
  • 27 APR 01:31Z
    setMarkdown in Qt before 5.14.2 has a use-after-free related to QTextMarkdownImporter::insertBlock
    cvelistv5