# JLSEC-2025-247: A vulnerability has been identified in the libarchive library

- Severity: Medium 5.0 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2025-11-25T22:03:17.636Z
- Modified: 2026-07-18T00:00:32.336Z
- Related: CVE-2025-5917

## Description

A vulnerability has been identified in the libarchive library. This flaw involves an 'off-by-one' miscalculation when handling prefixes and suffixes for file names. This can lead to a 1-byte write overflow. While seemingly small, such an overflow can corrupt adjacent memory, leading to unpredictable program behavior, crashes, or in specific circumstances, could be leveraged as a building block for more sophisticated exploitation. This bug affects libarchive versions prior to 3.8.0.

(As written by Julia Security Advisories.)

## Affected

- LibArchive_jll (Julia): before 3.8.0+0

## References

- <https://access.redhat.com/security/cve/CVE-2025-5917> (web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2370874> (web)
- <https://github.com/libarchive/libarchive/pull/2588> (web)
- <https://github.com/libarchive/libarchive/releases/tag/v3.8.0> (web)

## Sources

- Julia Security Advisories: [JLSEC-2025-247](https://osv.dev/vulnerability/JLSEC-2025-247), CC-BY-4.0, modified 2026-07-18

---

Page: https://cve.day/JLSEC-2025-247 · Whole record: https://cve.day/JLSEC-2025-247.json · Rebuilt by cve.day 2026-11-25T22:56:25.781Z
