CVE-2024-48958: libarchive · Out-of-bounds Read
Affects libarchiveSource CVE Database V5
Not known to be exploited · CVSS 7.8 High : upgrade to 3.7.5 soon.
Data as of 27 Oct 2026, 05:11 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 45% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.7.5
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 10 Oct 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade libarchive/libarchive to 3.7.5.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHublibarchive/libarchivepkg:github/libarchive/libarchiveOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Update libarchive to version 3.7.5 or later as soon as the patch becomes available to eliminate the vulnerability.
- If you cannot patch yet, restrict the processing of untrusted or unsolicited RAR archive files, especially from external or unknown sources.
- Employ application whitelisting and sandboxing techniques for software that handles archive files to limit the impact of potential exploitation.
- Use runtime memory protection mechanisms such as Address Space Layout Randomization (ASLR), Data Execution Prevention (DEP), and stack canaries to mitigate exploitation attempts.
- Educate users about the risks of opening archive files from untrusted sources and enforce strict policies on file handling.
- Monitor system logs and network activity for unusual behavior indicative of exploitation attempts, including crashes or memory errors related to archive processing.
- Coordinate with software vendors and Linux distribution maintainers to track patch releases and apply updates promptly.
- Consider deploying intrusion detection systems with signatures for malformed RAR files or suspicious archive processing activities.
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.
References
- github.com/libarchive/libarchive/compare/v3.7.4...v3.7.5 (opens in a new tab)
- github.com/libarchive/libarchive/pull/2148 (opens in a new tab)
- github.com/terrynini/CVE-Reports/tree/main/CVE-2024-48958 (opens in a new tab)
- seclists.org/fulldisclosure/2025/Apr/13 (opens in a new tab)
- seclists.org/fulldisclosure/2025/Apr/8 (opens in a new tab)
- seclists.org/fulldisclosure/2025/Apr/4 (opens in a new tab)
- seclists.org/fulldisclosure/2025/Apr/12 (opens in a new tab)
- seclists.org/fulldisclosure/2025/Apr/11 (opens in a new tab)