CVE-2025-12385: Improper validation of <img> tag size in Text component parser

Published Dec 3, 2025
·
Updated

Allocation of Resources Without Limits or Throttling, Improper Validation of Specified Quantity in Input vulnerability in The Qt Company Qt on Windows, MacOS, Linux, iOS, Android, x86, ARM, 64 bit, 32 bit allows Excessive Allocation.

This issue affects users of the Text component in Qt Quick. Missing validation of the width and height in the <img> tag could cause an application to become unresponsive.

This issue affects Qt: from 5.0.0 through 6.5.10, from 6.6.0 through 6.8.5, from 6.9.0 through 6.10.0.

Other sources

Improper validation of <img> tag size in Text component parser

— Microsoft

Affected Software

25 affected componentsFixes available
The Qt Company Qt>=5.0.0<=6.5.10, >=6.6.0<6.8.5, >=6.9.0<6.10.0
Microsoft cbl2 qt5-qtbase 5.12.11-18
Microsoft azl3 qtdeclarative 6.6.1-1
Microsoft cbl2 qt5-qtdeclarative 5.12.5-5
Microsoft cbl2 qt5-qtdeclarative 5.12.5-5
Microsoft azl3 qtdeclarative 6.6.1-1
debian/qt6-declarative<=6.4.2+dfsg-1, <=6.8.2+dfsg-7, <=6.10.2+dfsg-4, <=6.10.2+dfsg-5
debian/qtdeclarative-opensource-src<=5.15.2+dfsg-6, <=5.15.8+dfsg-3, <=5.15.15+dfsg-3
5.15.17+dfsg-4
debian/qtdeclarative-opensource-src-gles<=5.15.2+dfsg-2, <=5.15.8+dfsg-1, <=5.15.15+dfsg-2, <=5.15.17+dfsg-2
ubuntu/qtdeclarative-opensource-src*
ubuntu/qtdeclarative-opensource-src-gles*
ubuntu/qtdeclarative-opensource-src*
ubuntu/qtdeclarative-opensource-src<5.12.8-0ubuntu1+esm1
5.12.8-0ubuntu1+esm1
ubuntu/qtdeclarative-opensource-src-gles*
ubuntu/qt6-declarative*
ubuntu/qtdeclarative-opensource-src-gles*
ubuntu/qtdeclarative-opensource-src<5.15.3+dfsg-1ubuntu0.1~esm1
5.15.3+dfsg-1ubuntu0.1~esm1
ubuntu/qt6-declarative*
ubuntu/qtdeclarative-opensource-src-gles*
ubuntu/qtdeclarative-opensource-src<5.15.13+dfsg-1ubuntu0.1+esm1
5.15.13+dfsg-1ubuntu0.1+esm1
ubuntu/qt6-declarative*
ubuntu/qtdeclarative-opensource-src*
ubuntu/qtdeclarative-opensource-src-gles*
ubuntu/qt6-declarative*
ubuntu/qtdeclarative-opensource-src-gles*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/qtdeclarative-opensource-src to a version that resolves this vulnerability.

    Fixed in 5.15.17+dfsg-4
  2. Upgrade

    Upgrade ubuntu/qtdeclarative-opensource-src to a version that resolves this vulnerability.

    Fixed in 5.12.8-0ubuntu1+esm1
  3. Upgrade

    Upgrade ubuntu/qtdeclarative-opensource-src to a version that resolves this vulnerability.

    Fixed in 5.15.3+dfsg-1ubuntu0.1~esm1
  4. Upgrade

    Upgrade ubuntu/qtdeclarative-opensource-src to a version that resolves this vulnerability.

    Fixed in 5.15.13+dfsg-1ubuntu0.1+esm1

Event History

Dec 3, 2025
CVE Published
via MITRE·07:38 PM
Data Sourced
via MITRE·07:38 PM
DescriptionWeakness
Data Sourced
via OSV·08:16 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·08:16 PM
DescriptionSeverityWeakness
Dec 6, 2025
Data Sourced
via Microsoft·01:01 AM
DescriptionSeverityWeaknessAffected Software
Oct 20, 2026
Data Sourced
via Red Hat·12:07 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-12385?

CVE-2025-12385 is considered a medium severity vulnerability due to its potential for excessive resource allocation.

2

How do I fix CVE-2025-12385?

To fix CVE-2025-12385, users should upgrade their Qt software to a version that addresses the vulnerability, specifically beyond version 6.8.5 or within versions 5.0.0 to 6.5.10.

3

What types of systems are affected by CVE-2025-12385?

CVE-2025-12385 affects The Qt Company Qt software running on Windows, MacOS, Linux, iOS, and Android across various architectures.

4

What input does CVE-2025-12385 impact?

CVE-2025-12385 impacts the Text component of Qt, where improper validation of specified quantities may lead to excessive resource allocation.

5

Is CVE-2025-12385 related to denial of service vulnerabilities?

Yes, due to the potential for excessive resource consumption, CVE-2025-12385 could be leveraged for denial of service attacks.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203