Description
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.
Affected products and versions
ximion appstream0.14.5 – < 1.2.3Fixed in: 1.2.3
CVSS vector, explained
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None (no login)
- User interaction
- Required
- Scope
- Vulnerable component only
- Confidentiality
- None
- Integrity
- None
- Availability
- High impact
Weakness type (CWE)
- CWE-369 Divide By Zero
References
- github.com/ximion/appstream/commit/aad790e555dd94f2463ef9eda5225f0397d3ecf8 patch
- github.com/ximion/appstream/tree/v1.2.3
- github.com/ximion/appstream/blob/61fc6124f15e8cd1eb101806245ce657317feb4a/compose/asc-util
- www.vulncheck.com/advisories/appstream-0.14.5-before-1.2.3-division-by-zero-via-asc-read-t
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.