CVE-2024-48958
published high CVSS 3.1 · 7.8libarchive: Out-of-bounds access in libarchive's RAR file handling
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| libarchive | — | libarchive0 to < 3.7.5 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-742 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | libarchive | Fixed | 3.7.5-r0 | Package fix record |
| Ubuntu | jammy | libarchive | Advisory build | 3.6.0-1ubuntu1.2 | USN-7070-1 |
| SUSE / openSUSE | SLE-15-SP6 | bsdtaraarch64 | Advisory build | 3.7.2-150600.3.9.1 | SUSE-SU-2024:3940-1 |
| Amazon Linux | AL2023 | libarchiveaarch64 | Listed in advisory | Not stated | ALAS2023-2024-742 |
Show 35 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.21 | libarchive | Fixed | 3.7.5-r0 | Package fix record |
| Alpine Linux | v3.22 | libarchive | Fixed | 3.7.5-r0 | Package fix record |
| Alpine Linux | v3.23 | libarchive | Fixed | 3.7.5-r0 | Package fix record |
| Alpine Linux | v3.24 | libarchive | Fixed | 3.7.5-r0 | Package fix record |
| Ubuntu | noble | libarchive | Advisory build | 3.7.2-2ubuntu0.2 | USN-7070-1 |
| SUSE / openSUSE | SLE-15-SP6 | bsdtarppc64le | Advisory build | 3.7.2-150600.3.9.1 | SUSE-SU-2024:3940-1 |
| SUSE / openSUSE | SLE-15-SP6 | bsdtars390x | Advisory build | 3.7.2-150600.3.9.1 | SUSE-SU-2024:3940-1 |
| SUSE / openSUSE | SLE-15-SP6 | bsdtarx86_64 | Advisory build | 3.7.2-150600.3.9.1 | SUSE-SU-2024:3940-1 |
| SUSE / openSUSE | SLE-15-SP6 | libarchive-develaarch64 | Advisory build | 3.7.2-150600.3.9.1 | SUSE-SU-2024:3940-1 |
| SUSE / openSUSE | SLE-15-SP6 | libarchive-develppc64le | Advisory build | 3.7.2-150600.3.9.1 | SUSE-SU-2024:3940-1 |
| SUSE / openSUSE | SLE-15-SP6 | libarchive-devels390x | Advisory build | 3.7.2-150600.3.9.1 | SUSE-SU-2024:3940-1 |
| SUSE / openSUSE | SLE-15-SP6 | libarchive-develx86_64 | Advisory build | 3.7.2-150600.3.9.1 | SUSE-SU-2024:3940-1 |
| SUSE / openSUSE | SLE-15-SP6 | libarchive13aarch64 | Advisory build | 3.7.2-150600.3.9.1 | SUSE-SU-2024:3940-1 |
| SUSE / openSUSE | SLE-15-SP6 | libarchive13ppc64le | Advisory build | 3.7.2-150600.3.9.1 | SUSE-SU-2024:3940-1 |
| SUSE / openSUSE | SLE-15-SP6 | libarchive13s390x | Advisory build | 3.7.2-150600.3.9.1 | SUSE-SU-2024:3940-1 |
| SUSE / openSUSE | SLE-15-SP6 | libarchive13x86_64 | Advisory build | 3.7.2-150600.3.9.1 | SUSE-SU-2024:3940-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | bsdtaraarch64 | Advisory build | 3.7.2-150600.3.9.1 | SUSE-SU-2024:3940-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | bsdtarppc64le | Advisory build | 3.7.2-150600.3.9.1 | SUSE-SU-2024:3940-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | bsdtars390x | Advisory build | 3.7.2-150600.3.9.1 | SUSE-SU-2024:3940-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | bsdtarx86_64 | Advisory build | 3.7.2-150600.3.9.1 | SUSE-SU-2024:3940-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | libarchive-develaarch64 | Advisory build | 3.7.2-150600.3.9.1 | SUSE-SU-2024:3940-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | libarchive-develppc64le | Advisory build | 3.7.2-150600.3.9.1 | SUSE-SU-2024:3940-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | libarchive-devels390x | Advisory build | 3.7.2-150600.3.9.1 | SUSE-SU-2024:3940-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | libarchive-develx86_64 | Advisory build | 3.7.2-150600.3.9.1 | SUSE-SU-2024:3940-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | libarchive13aarch64 | Advisory build | 3.7.2-150600.3.9.1 | SUSE-SU-2024:3940-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | libarchive13ppc64le | Advisory build | 3.7.2-150600.3.9.1 | SUSE-SU-2024:3940-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | libarchive13s390x | Advisory build | 3.7.2-150600.3.9.1 | SUSE-SU-2024:3940-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | libarchive13x86_64 | Advisory build | 3.7.2-150600.3.9.1 | SUSE-SU-2024:3940-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | libarchive13-32bitx86_64 | Advisory build | 3.7.2-150600.3.9.1 | SUSE-SU-2024:3940-1 |
| Ubuntu | jammy | libarchive-tools | Advisory build | 3.6.0-1ubuntu1.2 | USN-7070-1 |
| Ubuntu | jammy | libarchive13 | Advisory build | 3.6.0-1ubuntu1.2 | USN-7070-1 |
| Ubuntu | noble | libarchive-tools | Advisory build | 3.7.2-2ubuntu0.2 | USN-7070-1 |
| Ubuntu | noble | libarchive13t64 | Advisory build | 3.7.2-2ubuntu0.2 | USN-7070-1 |
| Amazon Linux | AL2023 | libarchivesrc | Listed in advisory | Not stated | ALAS2023-2024-742 |
| Amazon Linux | AL2023 | libarchivex86_64 | Listed in advisory | Not stated | ALAS2023-2024-742 |
Description
execute_filter_delta in archive_read_support_format_rar.c in libarchive before 3.7.5 allows out-of-bounds access via a crafted archive file because src can move beyond dst.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
| libarchive | libarchive | 0 to < 3.7.5 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
2- n/a
- CWE-125 CWE-125 Out-of-bounds Read
References
8- http://seclists.org/fulldisclosure/2025/Apr/11
- http://seclists.org/fulldisclosure/2025/Apr/12
- http://seclists.org/fulldisclosure/2025/Apr/13
- http://seclists.org/fulldisclosure/2025/Apr/4
- http://seclists.org/fulldisclosure/2025/Apr/8
- https://github.com/libarchive/libarchive/compare/v3.7.4...v3.7.5
- https://github.com/libarchive/libarchive/pull/2148
- https://github.com/terrynini/CVE-Reports/tree/main/CVE-2024-48958
Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 77290d86ae90d10f3fd72ae262a509074b51f452da4ceb784eb8ee154d82e751
- Ingested
- 23 Sep 2026, 08:28:51 UTC
- Source record
- Official CVE record