Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2023-32762

CVE-2023-32762: Qt Network HSTS Parsing Vulnerability

CVE-2023-32762 is an HSTS header parsing flaw in Qt Network that allows unencrypted connections when case mismatches occur. This post covers technical details, affected Qt versions, security impact, and mitigation.

Published: February 4, 2026

CVE-2023-32762 Overview

An issue was discovered in Qt before 5.15.14, 6.x before 6.2.9, and 6.3.x through 6.5.x before 6.5.1. Qt Network incorrectly parses the strict-transport-security (HSTS) header, allowing unencrypted connections to be established, even when explicitly prohibited by the server. This happens if the case used for this header does not exactly match.

Critical Impact

Applications built with vulnerable Qt versions may silently downgrade from HTTPS to HTTP connections when servers use non-standard casing for the Strict-Transport-Security header, exposing sensitive data to network-based attacks.

Affected Products

  • Qt versions before 5.15.14
  • Qt 6.x versions before 6.2.9
  • Qt 6.3.x through 6.5.x versions before 6.5.1
  • Debian Linux 10.0

Discovery Timeline

  • 2023-05-28 - CVE-2023-32762 published to NVD
  • 2025-03-05 - Last updated in NVD database

Technical Details for CVE-2023-32762

Vulnerability Analysis

This vulnerability exists in Qt Network's HSTS (HTTP Strict Transport Security) header parsing implementation. HSTS is a critical web security mechanism that forces browsers and HTTP clients to use encrypted HTTPS connections instead of unencrypted HTTP. When a server sends the Strict-Transport-Security header, compliant clients should refuse to connect via HTTP for the specified duration.

The flaw occurs because Qt Network performs a case-sensitive string comparison when checking for the HSTS header name. According to HTTP specifications (RFC 7230), header field names are case-insensitive. This means Strict-Transport-Security, strict-transport-security, and STRICT-TRANSPORT-SECURITY should all be treated identically.

Due to this implementation error, if a server sends the HSTS header with any casing that doesn't exactly match "Strict-Transport-Security", Qt-based applications will fail to recognize and enforce the HSTS policy. This allows connections to fall back to unencrypted HTTP, potentially exposing sensitive data to man-in-the-middle attacks.

Root Cause

The root cause is an improper input validation issue in the QHstsHeaderParser::parse() function within src/network/access/qhsts.cpp. The code used the == operator for direct byte-by-byte comparison of the header name string, which performs a case-sensitive match. This violates RFC 7230 Section 3.2, which explicitly states that HTTP header field names are case-insensitive.

Attack Vector

An attacker positioned on the network path between a Qt-based application and a web server could exploit this vulnerability through the following scenario:

  1. The legitimate server sends an HSTS header with non-standard casing (e.g., strict-transport-security in lowercase)
  2. The Qt application fails to recognize the HSTS directive due to case-sensitive matching
  3. The HSTS policy is not cached or enforced by the application
  4. Subsequent requests to the same domain may use unencrypted HTTP
  5. The attacker can then intercept, read, or modify traffic via man-in-the-middle techniques
cpp
bool QHstsHeaderParser::parse(const QList<QPair<QByteArray, QByteArray>> &headers)
{
    for (const auto &h : headers) {
-        // We use '==' since header name was already 'trimmed' for us:
-        if (h.first == "Strict-Transport-Security") {
+        // We compare directly because header name was already 'trimmed' for us:
+        if (h.first.compare("Strict-Transport-Security", Qt::CaseInsensitive) == 0) {
            header = h.second;
            // RFC6797, 8.1:
            //

Source: GitHub Commit Details

Detection Methods for CVE-2023-32762

Indicators of Compromise

  • Network traffic analysis showing HTTP connections to domains that should be HTTPS-only
  • Log entries indicating HSTS policies not being applied for known HSTS-enabled domains
  • Unexpected cleartext HTTP traffic from Qt-based applications

Detection Strategies

  • Monitor network traffic for Qt-based applications connecting over HTTP to domains known to implement HSTS
  • Review application logs for failed HTTPS upgrades or missing HSTS policy enforcement
  • Implement TLS inspection to identify connections that should have been upgraded to HTTPS but were not
  • Deploy network intrusion detection rules to alert on HTTP traffic to sensitive domains from Qt applications

Monitoring Recommendations

  • Configure network monitoring tools to flag HTTP connections from Qt-based applications to sensitive services
  • Implement alerting for any HTTPS downgrade events in network traffic logs
  • Establish baseline behavior for Qt applications and monitor for deviations in protocol usage
  • Review SSL/TLS termination logs for unusual patterns indicating HSTS bypass attempts

How to Mitigate CVE-2023-32762

Immediate Actions Required

  • Update Qt to version 5.15.14 or later for the 5.x branch
  • Update Qt to version 6.2.9 or later for the 6.2.x branch
  • Update Qt to version 6.5.1 or later for the 6.3.x through 6.5.x branch
  • Rebuild and redeploy all applications using affected Qt versions
  • Review network security controls to ensure TLS is enforced at the network level as an additional layer of defense

Patch Information

The Qt Project has released patched versions addressing this vulnerability. The fix modifies the QHstsHeaderParser::parse() function to use Qt::CaseInsensitive comparison when matching the Strict-Transport-Security header name. Organizations should upgrade to the following minimum versions:

  • Qt 5.15.14 for the 5.x series
  • Qt 6.2.9 for the 6.2.x series
  • Qt 6.5.1 for the 6.3.x through 6.5.x series

Detailed patch information is available through the Qt Project Code Review and the Qt Project Mailing List Announcement.

Workarounds

  • Implement network-level enforcement of HTTPS using firewall rules or proxy configurations
  • Deploy HSTS preloading for critical domains at the DNS or gateway level
  • Use TLS-terminating proxies that enforce encryption regardless of client HSTS support
  • Configure network monitoring to detect and block HTTP connections to sensitive domains
bash
# Example: Force HTTPS at the proxy level for Qt applications
# Add to proxy configuration (e.g., Squid)
acl qt_apps browser -i Qt
acl https_domains dstdomain .example.com .sensitive-domain.com
http_access deny qt_apps !CONNECT https_domains

# Alternative: iptables rule to redirect HTTP to HTTPS proxy
iptables -t nat -A OUTPUT -p tcp --dport 80 -m owner --uid-owner qt-app-user -j REDIRECT --to-port 8443

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeOther

  • Vendor/TechDebian Linux

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.12%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • NVD-CWE-noinfo
  • Technical References
  • Debian LTS Security Announcement
  • Vendor Resources
  • Qt Project Code Review

  • GitHub Commit Details

  • Qt Project Mailing List Announcement
  • Related CVEs
  • CVE-2024-39496: Linux Kernel Use-After-Free Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English