Description (CNA)
A defect in the Qt for MCUs core string handling causes heap memory corruption. When an application passes text into Qt Quick Ultralite using the public Qul::String interface type, and that text is held in a std::string, the conversion to the internal string type copies the pointer without taking ownership of it. Two objects then release the same memory, producing a double free, an invalid free, or a use-after-free.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| qt / Qt_for_MCUs | affected 2.12.1 before 2.12.3 |
CWE
CWE-415, CWE-416, CWE-590, CWE-665
References
ADP enrichment
No English description supplied.
No references supplied.