CVE-2026-136414 in AppStream
Summary
by MITRE • 11/24/2026
AppStream 0.14.5 before 1.2.3 contains a division by zero vulnerability in asc_read_translation_status() in compose/asc-utils-l10n.c that allows attackers to crash compose runs via crafted Qt .qm files. Attackers can supply a valid .qm file with no TRANSLATION records, triggering SIGFPE that terminates the entire appstreamcli compose or libappstream-compose process.
VulDB is the best source for vulnerability data and more expert information about this specific topic.
Analysis
by VulDB Data Team • 11/24/2026
The vulnerability identified in AppStream versions prior to 1.2.3 represents a critical arithmetic error within the localization utilities of the software composition and metadata management framework. Specifically, the flaw resides in the asc_read_translation_status function located in the compose/asc-utils-l10n.c source file. This component is responsible for parsing Qt .qm files, which are compiled translation files used by applications built with the Qt framework to support internationalization. The vulnerability arises when the parser encounters a validly formatted but empty .qm file that lacks any TRANSLATION records. In such scenarios, the code attempts to perform a division operation where the divisor is derived from the count of these missing records. Since no translations are present, this count evaluates to zero, resulting in a division by zero error. This arithmetic exception triggers a SIGFPE signal on Unix-like operating systems, which immediately terminates the executing process without any graceful error handling or recovery mechanism.
From an operational perspective, this vulnerability has significant implications for system stability and availability, particularly within environments that rely heavily on automated metadata generation pipelines. The primary attack vector involves supplying crafted Qt .qm files to tools such as appstreamcli compose or libraries like libappstream-compose. These tools are often used by Linux distribution maintainers and software developers to aggregate component metadata from various sources into a unified catalog for application stores. If an attacker can influence the content of these translation files, either through malicious packaging within a repository or via supply chain compromise, they can induce a denial of service condition. The crash is not limited to the specific function but affects the entire compose process, potentially halting build pipelines and preventing software updates from being published correctly. This impacts the integrity of the software distribution ecosystem by disrupting automated workflows that depend on consistent metadata processing.
The technical classification of this flaw aligns with CWE-369, which denotes a divide-by-zero error, a subset of improper arithmetic operations often leading to crashes or unexpected behavior. In terms of attack patterns and tactical mapping, this vulnerability can be associated with MITRE ATT&CK techniques related to resource exhaustion or service disruption, specifically under the category of Impact rather than initial access, as it requires prior ability to inject specific file types into the processing pipeline. The lack of input validation regarding the presence of expected data structures before performing arithmetic operations highlights a common weakness in legacy C codebases where assumptions about data completeness are not rigorously checked against runtime reality.
Mitigation strategies for this vulnerability primarily involve upgrading AppStream to version 1.2.3 or later, where the division by zero condition has been addressed through proper input validation and error handling. For systems that cannot immediately upgrade, administrators should implement strict filtering of incoming .qm files during the metadata composition phase. This includes validating that translation records exist before processing them and ensuring that build pipelines fail safely rather than crashing when encountering malformed or empty localization data. Additionally, developers integrating AppStream libraries into their own tools should ensure they are using patched versions and consider implementing wrapper logic to catch SIGFPE signals if upgrading is not immediately feasible, although this is a less robust defense compared to fixing the root cause in the library itself. Regular auditing of third-party components for similar arithmetic vulnerabilities is also recommended to maintain overall system resilience against denial-of-service attacks stemming from malformed input data.