Vulnerability in libarchive - Denial of Service

libarchive Updated 02 Oct 2025

Summary

08/09/2017
N/A
Yes i
Unrated
Not published

DLA-1092-1: libarchive - security update. Affects libarchive versions < 3.0.4-3+wheezy6+deb7u1. Fixed in 3.0.4-3+wheezy6+deb7u1. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

libarchive is a multi-format compression library used for creating and extracting various archive formats. It provides functionality for compressing and decompressing files in formats such as tar, cpio, zip, and more. However, a vulnerability has been discovered in libarchive that could lead to a denial of service attack. This vulnerability exists in versions prior to 3.0.4-3+wheezy6+deb7u1 of the Debian 7 Wheezy package.

Vulnerability Detail

The vulnerability in libarchive is caused by a heap-based buffer over-read when processing specially-crafted .xar archives. An attacker can exploit this vulnerability by providing a malicious .xar archive, which could result in a denial of service condition. The heap-based buffer over-read can lead to memory corruption and potentially allow an attacker to execute arbitrary code or crash the application.

How To Fix

Minimum fixed version

3.0.4-3+wheezy6+deb7u1

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 →

Conclusion

In conclusion, the libarchive package in Debian 7 Wheezy is vulnerable to a denial of service attack due to a heap-based buffer over-read issue. To mitigate this vulnerability, it is crucial to upgrade the libarchive package to version 3.0.4-3+wheezy6+deb7u1 or later. For further support and assistance in vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for libarchive →

Share this vulnerability

FAQ

libarchive is a multi-format compression library used for creating and extracting various archive formats. It provides functionality for compressing and decompressing files in formats such as tar, cpio, zip, and more.

A denial of service vulnerability allows an attacker to disrupt the normal functioning of a system or application, making it unavailable to legitimate users. In the case of this libarchive vulnerability, a specially-crafted .xar archive can cause a denial of service condition by triggering a heap-based buffer over-read.

Exploiting this vulnerability could lead to a denial of service condition, where the affected libarchive-based application crashes or becomes unresponsive. Additionally, if an attacker can execute arbitrary code through the memory corruption, they may be able to gain unauthorized access or perform further malicious actions.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your application or system is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, using just a manifest file like package-lock.json.

For more information about this vulnerability, you can refer to the Debian Security Advisory DLA-1092-1 (https://storage.googleapis.com/debian-osv/dla-osv/DLA-1092-1.json).

Related vulnerabilities

Recent vulnerabilities recorded for libarchive.

How To Fix

Minimum fixed version

3.0.4-3+wheezy6+deb7u1

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