openSUSE-SU-2026:21631-1 Security update for libarchive
Multiple memory corruption and resource leak flaws in libarchive allow attackers to cause denial of service or potentially execute code via crafted archives.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is openSUSE-SU-2026:21631-1?
openSUSE-SU-2026:21631-1 is a memory corruption vulnerability in libarchive, published on 24 Aug 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
This update for libarchive fixes the following issues:
- Fix creation of temporary files in target directory (bsc#1254340)
- Fix out-of-bounds buffer overrun when using p[H_LEVEL_OFFSET] (bsc#1254341)
- Fix buffer overrun in archive_le32dec when reading truncated 7zip headers (bsc#1254342)
- Fix NULL pointer dereference in archive_acl_from_text_w() (bsc#1260998)
- Fix SEGV in check_7zip_header_in_sfx via ELF offset validation (bsc#1260999)
- Fix out-of-bounds access on ELF 64-bit header (bsc#1261000)
- Fix RAR5 memory leak with many filters (bsc#1261002)
- Fix file descriptor leak in mtree parser cleanup (bsc#1261003)
Which versions are affected by openSUSE-SU-2026:21631-1?
Linux distribution packages (1)
libarchive openSUSE:Leap 16.0 | All versions | 3.8.1-160000.4.1 |
How do I fix openSUSE-SU-2026:21631-1?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is openSUSE-SU-2026:21631-1 being exploited?
There is no known exploitation of openSUSE-SU-2026:21631-1 in the wild and no public exploit code.