Improper Check or Handling of Exceptional Conditions in xz - #VU172299

 

Improper Check or Handling of Exceptional Conditions in xz - #VU172299

Published: December 2, 2026


Vulnerability identifier: #VU172299
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-703
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause silent data loss by making an application produce truncated, undecodable LZMA2 or xz archives.

The vulnerability exists due to improper error handling in lzma.Writer2 and its xz.Writer wrapper when an uncompressed chunk header declares more bytes than the encoder retains and closing the writer suppresses the resulting flush error. A remote attacker can supply incompressible data to an application configured with a small DictCap to corrupt archives during finalization or an explicit flush.


Affected software

xz

Remediation

Install security update from vendor's website.

xz - update to 0.5.18

External References

Related Security Bulletins