Skip to content
OpenAdvisories
Medium · 5.5 CVE-2025-53816 EUVD-2025-21791

GHSL-2025-058 - 7-Zip Multi-byte write heap buffer overflow in NCompress::NRar5::CDecoder

Published Jul 17, 2025 · Updated May 11, 2026 · Assigned by GitHub_M

Description

7-Zip is a file archiver with a high compression ratio. Zeroes written outside heap buffer in RAR5 handler may lead to memory corruption and denial of service in versions of 7-Zip prior to 25.0.0. Version 25.0.0 contains a fix for the issue.

Affected products

VendorProductAffectedFixed
ipavlov 7-Zip < 25.0.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 7zip-rar 25.00+ds-1 —
Debian 13 7zip-rar 25.00+ds-1 —
Debian 13 p7zip-rar 16.02+transitional.1 —
Debian 12 p7zip-rar 16.02+really25.00+ds-0+deb12u1 —
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS 7zip No fix yet —
Ubuntu Pro 22.04 LTS 7zip No fix yet —
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 7zip 25.01-160000.1.1 SUSE-SU-2026:20592-1
SLES 16.0 7zip 25.01-160000.1.1 SUSE-SU-2026:20592-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed 7zip 25.01-1.1 openSUSE-SU-2025:15523-1
openSUSE Leap 16.0 7zip 25.01-160000.1.1 openSUSE-SU-2026:20273-1

Advisories 8

References