Vulnerability in libarchive - security update

libarchive Updated 02 Oct 2025

Summary

16/10/2016
N/A
Yes i
Unrated
Not published

DLA-657-1: libarchive - security update. Affects libarchive versions < 3.0.4-3+wheezy4. Fixed in 3.0.4-3+wheezy4. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

libarchive is a library and command-line tool used for reading and writing various archive formats. It provides functionality to create, extract, and manipulate archives. The vulnerability in libarchive affects version 3.0.4-3+wheezy4 of the Debian 7 Wheezy package. This vulnerability allows remote attackers to write to arbitrary files by exploiting mishandled hardlink archive entries of non-zero data size.

Vulnerability Detail

The vulnerability in libarchive arises from the mishandling of hardlink archive entries of non-zero data size. By crafting specially designed archives, remote attackers can exploit this vulnerability to write to arbitrary files. This can lead to unauthorized modification or disclosure of sensitive information, as well as potential system compromise.

How To Fix

Minimum fixed version

3.0.4-3+wheezy4

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libarchive

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability.

Conclusion

The vulnerability in libarchive can be mitigated by upgrading to the fixed version of the package. It is recommended to promptly apply the security update to ensure the integrity and security of the system. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for libarchive →

Share this vulnerability

FAQ

libarchive is a library and command-line tool used for reading and writing various archive formats. It provides functionality to create, extract, and manipulate archives.

This vulnerability allows remote attackers to write to arbitrary files, potentially leading to unauthorized modification or disclosure of sensitive information and system compromise.

The vulnerability affects version 3.0.4-3+wheezy4 of the libarchive package in Debian 7 Wheezy.

To fix this vulnerability, upgrade the libarchive package to version 3.0.4-3+wheezy4 or later.

You can find more information about Debian LTS security advisories, including how to apply updates and frequently asked questions, at https://wiki.debian.org/LTS.

Related vulnerabilities

Recent vulnerabilities recorded for libarchive.

How To Fix

Minimum fixed version

3.0.4-3+wheezy4

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libarchive

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback