Description
Insufficient exception handling in the method NCompress::NRar3::CDecoder::Code of 7-Zip before 18.00 and p7zip can lead to multiple memory corruptions within the PPMd code, allows remote attackers to cause a denial of service (segmentation fault) or execute arbitrary code via a crafted RAR archive.
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 13 | p7zip-rar | 16.02-2 | — |
| Debian 12 | p7zip-rar | 16.02-2 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | p7zip-rar | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP3 | p7zip | 9.20.1-7.3.1 | SUSE-SU-2018:0464-1 |
| SLES 12 SP2 | p7zip | 9.20.1-7.3.1 | SUSE-SU-2018:0464-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP3 | p7zip | 9.20.1-7.3.1 | SUSE-SU-2018:0464-1 |
| SLES for SAP 12 SP2 | p7zip | 9.20.1-7.3.1 | SUSE-SU-2018:0464-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.17 | p7zip | 16.02-r3 | — |
| Alpine v3.16 | p7zip | 16.02-r3 | — |
| Alpine v3.15 | p7zip | 16.02-r3 | — |
| Alpine v3.14 | p7zip | 16.02-r3 | — |
| Alpine v3.13 | p7zip | 16.02-r3 | — |
Show 8 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.12 | p7zip | 16.02-r3 | — |
| Alpine v3.11 | p7zip | 16.02-r3 | — |
| Alpine v3.10 | p7zip | 16.02-r3 | — |
| Alpine v3.9 | p7zip | 16.02-r3 | — |
| Alpine v3.8 | p7zip | 16.02-r3 | — |
| Alpine v3.7 | p7zip | 16.02-r3 | — |
| Alpine v3.6 | p7zip | 16.02-r3 | — |
| Alpine v3.5 | p7zip | 16.02-r3 | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | p7zip | 16.02-23 | — |
| Azure Linux 2 (CBL-Mariner) | p7zip | 16.02-22 | — |
Advisories 1
- SUSE-SU-2018:0464-1 Security update for p7zip SUSE / openSUSE Security Updates · May 2, 2025