Libarchive through 3.6.2 can cause directories to have world-writable permissions.
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat.
Summary
Libarchive through 3.6.2 can cause directories to have world-writable permissions. The umask() call inside archive_write_disk_posix.c changes the umask of the whole process for a very short period of time; a race condition with another thread can lead to a permanent umask 0 setting. Such a race condition could lead to implicit directory creation with permissions 0777 (without the sticky bit), which means that any low-privileged local user can delete and rename files inside those directories.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:libarchive:libarchive:*:*:*:*:*:*:*:* | up to 3.6.2 | Vulnerable | libarchive |
- cpe:2.3:a:libarchive:libarchive:*:*:*:*:*:*:*:* Versions up to 3.6.2 Vulnerable ·libarchive
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 9 | Affected | No fix planned: Will not fix |
| Red Hat OpenShift AI (RHOAI) | Affected | — |
Not affected: 2 products
- Red Hat Enterprise Linux 8
- Red Hat OpenShift AI (RHOAI)
Timeline
- 2026-10-02 Threatist record created from CVE-2023-30571
- 2026-10-03 Alias added: GHSA-cw7x-3mv7-w6xm
- 2026-11-06 Affected versions changed · Red Hat
References
More Libarchive vulnerabilities
- TI-2024-17342 Libarchive Remote Code Execution Vulnerability CVSS 3.1HIGH 7.8
- TI-2024-24911 Libarchive before 3.7.4 allows name out-of-bounds access when a ZIP archive has an… CVSS 3.1CRITICAL 9.1
- TI-2025-05340 Libarchive: double free at archive_read_format_rar_seek_data() in archive_read_support_format_rar.c CVSS 3.1HIGH 7.8
- TI-2024-32437 Null Pointer Dereference vulnerability in libarchive 3.7.6 and earlier when running… CVSS 3.1HIGH 7.5
- TI-2025-37810 An issue was discovered in libarchive bsdtar before version 3.8.1 in function… CVSS 3.1MEDIUM 5.5
- TI-2025-01402 libarchive bsdunzip.c list null pointer dereference CVSS 4.0MEDIUM 4.8
Sources
- CVE-2023-30571 · CVE Program
- CVE-2023-30571 · NVD
- FIRST EPSS
- GHSA-cw7x-3mv7-w6xm · GitHub Advisory Database · CC BY 4.0
- CVE-2023-30571 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences