QtApplication

CVE-2023-33285

MEDIUM · 5.3 CVSS v3.1 Published 2023-05-22
Fix available
A fix is available. Upgrade to 5.15.4 / 6.2.9 or later.
See remediation →
62/100
Remediation priority · Elevated
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
An issue was discovered in Qt 5.x before 5.15.14, 6.x before 6.2.9, and 6.3.x through 6.5.x before 6.5.1. QDnsLookup has a buffer over-read via a crafted reply from a DNS server.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

QDnsLookup in Qt has a buffer over-read vulnerability when parsing DNS responses. A remote attacker controlling a malicious DNS server can send a crafted DNS reply that causes the Qt application to read beyond the intended buffer boundary, potentially leading to information disclosure.

MitigationUpgrade Qt to version 5.15.14, 6.2.9, 6.5.1 or later. If immediate upgrade is not feasible, audit code for QDnsLookup usage and implement application-layer validation of DNS responses before processing.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
QtApplication
Affected:>= 5.0.0, < 5.15.4>= 6.0.0, < 6.2.9>= 6.3.0, < 6.5.1

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Check installed Qt version
    Run 'qmake --version' or check package manager (dpkg -l | grep qt, rpm -qa | grep qt, or brew list qt), or inspect the Qt libraries bundled with your application
    Affected if The Qt version is 5.0.0 to 5.15.3, 6.0.0 to 6.2.8, or 6.3.0 to 6.5.0
  2. Search for QDnsLookup usage in source code
    Grep your codebase for 'QDnsLookup' imports and class usage: 'grep -r "QDnsLookup" /path/to/source/' or search in your IDE
    Affected if Your application code explicitly uses the QDnsLookup class for DNS queries
  3. Check for Qt network module usage that triggers DNS resolution
    Review code for QNetworkAccessManager, QNetworkRequest, or any Qt networking classes that perform hostname resolution
    Affected if Your application uses Qt network functionality that internally triggers DNS lookups through Qt's resolver
  4. Verify if DNS responses can be intercepted or controlled
    Audit network topology and DNS configuration to determine if an attacker could supply malicious DNS responses (e.g., man-in-the-middle on network, compromised DNS server)
    Affected if Your application performs DNS lookups over untrusted networks where a remote attacker could control the DNS server response

You are affected if your Qt version falls within the vulnerable ranges AND your application uses Qt networking features (specifically QDnsLookup or any Qt code that triggers DNS resolution) that could receive responses from an attacker-controlled DNS server.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 5.15.4 / 6.2.9 / 6.5.1 or later
Fixed in 5.15.46.2.96.5.1
Interim mitigation

Upgrade Qt to version 5.15.14, 6.2.9, 6.5.1 or later. If immediate upgrade is not feasible, audit code for QDnsLookup usage and implement application-layer validation of DNS responses before processing.

Recommended fix High confidence

Qt 5.15.14+ (for 5.x), Qt 6.2.9+ (for 6.0-6.1.x), or Qt 6.5.1+ (for 6.3-6.5.x)

  1. 1. Identify the current Qt version in use by checking project dependencies or the installed Qt version
  2. 2. For Qt 5.x users: Upgrade to Qt 5.15.14 or later
  3. 3. For Qt 6.0.x - 6.1.x users: Upgrade to Qt 6.2.9 or later
  4. 4. For Qt 6.3.x - 6.5.0 users: Upgrade to Qt 6.5.1 or later
  5. 5. Rebuild and redeploy the application with the updated Qt libraries
  6. 6. Verify the fix by testing DNS lookup functionality with the updated Qt version
Caveat Minor point releases typically have minimal breaking changes; however, review the release notes for any deprecated APIs or behavioral changes between your current version and the target fixed version

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Qt Scoped from the published advisory
  • Consultation8.0 h
  • Implementation16.0 h
  • Testing12.0 h
  • Review / QA4.0 h
40.0 hours of engineering $7,000
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $11,200.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2023-33285 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2023-33285 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data