A vulnerability has been identified in the libarchive library. This flaw involves an 'off-by-one' miscalculation when handling prefixes and suffixes f...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:14.04:LTSlibarchive |
< 3.1.2-7ubuntu2.8+esm4→ 3.1.2-7ubuntu2.8+esm4 |
3.1.2-7ubuntu2.8+esm4 |
| Ubuntu:Pro:16.04:LTSlibarchive |
< 3.1.2-11ubuntu0.16.04.8+esm2→ 3.1.2-11ubuntu0.16.04.8+esm2 |
3.1.2-11ubuntu0.16.04.8+esm2 |
| Ubuntu:Pro:18.04:LTSlibarchive |
< 3.2.2-3.1ubuntu0.7+esm2→ 3.2.2-3.1ubuntu0.7+esm2 |
3.2.2-3.1ubuntu0.7+esm2 |
| Ubuntu:Pro:20.04:LTSlibarchive |
< 3.4.0-2ubuntu1.5+esm1→ 3.4.0-2ubuntu1.5+esm1 |
3.4.0-2ubuntu1.5+esm1 |
| Ubuntu:22.04:LTSlibarchive |
< 3.6.0-1ubuntu1.5→ 3.6.0-1ubuntu1.5 |
3.6.0-1ubuntu1.5 |
| Ubuntu:24.04:LTSlibarchive |
< 3.7.2-2ubuntu0.5→ 3.7.2-2ubuntu0.5 |
3.7.2-2ubuntu0.5 |
| Ubuntu:25.10libarchive |
< 3.7.7-0ubuntu3→ 3.7.7-0ubuntu3 |
3.7.7-0ubuntu3 |
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory ubuntu.com
- advisory ubuntu.com
- report ubuntu.com
- report cve.org
- report github.com
- report access.redhat.com
- report bugzilla.redhat.com
- report github.com