Alerts This Week
Warning Icon 1 1,109
Alerts This Week
Warning Icon 1 1,109

Gentoo: GLSA-202504-02 critical: Zip Archive buffer overflow detected

gentoo
Calendar Grey April 5, 2025
Dist Gentoo Esm H88
Uncover a use-after-free flaw in XZ Utils impacting Gentoo clients. Address potential service disruptions now.
A vulnerability has been discovered in XZ Utils, which could lead to denial of service.

Summary

A use-after-free has been discovered in XZ utils. Please review the CVE identifier referenced below for details.

Resolution

All XZ utils users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=app-arch/xz-utils-5.6.4-r1"

References

[ 1 ] CVE-2025-31115 https://nvd.nist.gov/vuln/detail/CVE-2025-31115

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website:
https://security.gentoo.org/glsa/202504-01
style>.gentoo_availability{display:block;}

Concerns

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users' machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

Severity
critical
Lowest
Low
Medium
High
Critical

Severity: Normal
Title: XZ Utils: Use after free
Date: April 05, 2025
Bugs: #953086
ID: 202504-01

Synopsis

A vulnerability has been discovered in XZ Utils, which could lead to denial of service.

Background

XZ Utils is free general-purpose data compression software with a high compression ratio.

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Affected Packages

Package Vulnerable Unaffected ----------------- ------------ ------------ app-arch/xz-utils < 5.6.4-r1 >= 5.6.4-r1

Impact

The multithreaded .xz decoder in liblzma has a bug where invalid input can at least result in a crash. The effects include heap use after free and writing to an address based on the null pointer plus an offset. Applications and libraries that use the lzma_stream_decoder_mt function are affected.
It's unlikely one can achieve more than a crash if xz is built with PIE on a 64-bit system especially, as is done in Gentoo by default.

Workaround

There is no known workaround at this time.

Your message here