# Qt5Compat vulnerability in Ubuntu causes out-of-bounds read via text codec names

> **Key takeaway:** A flaw in the Qt 6 Qt 5 compatibility module allows specially crafted text codec names to trigger an out-of-bounds read, potentially leading to a denial of service.

**Published:** 2026-11-23T23:21:59+00:00 
**Source:** Ubuntu Security &amp; Release Notices 
**Category:** distro-news 
**Canonical URL:** https://fosswire.org/news/qt5compat-vulnerability-in-ubuntu-causes-out-of-bounds-read-.html 

## Summary
A security vulnerability has been identified in the Qt5Compat module, specifically affecting the qt6-5compat package used for Qt 5 compatibility within Qt 6 environments. The defect involves improper handling of certain text codec names, which can result in an out-of-bounds read operation.

This vulnerability impacts several Ubuntu Long Term Support (LTS) releases, including 22.04, 24.04, and 26.04. An attacker providing specially crafted input could exploit this flaw to cause a denial of service by crashing the affected application.

## Technical details of CVE-2026-9499
- **Defect Class:** The vulnerability is classified as an out-of-bounds read caused by incorrect handling of text codec names.
- **Attack Vector:** An attacker can trigger the flaw by providing specially crafted input to the Qt5Compat module.
- **Impact:** Successful exploitation can lead to a denial of service (DoS) through application crashes.
- **Affected Package:** The issue is contained within the libqt6core5compat6 package.

## Why it matters
Because this affects the Qt 6 compatibility layer, applications transitioning from Qt 5 to Qt 6 may be vulnerable if they process untrusted text codec strings. Users on Ubuntu LTS releases should apply the security updates via Ubuntu Pro/ESM Apps to mitigate the risk of service disruptions.