Heap Buffer Overflow in libarchive

libarchive Updated 02 Oct 2025

Summary

31/01/2017
N/A
Yes i
Unrated
Not published

DLA-810-1: libarchive - security update. Affects libarchive versions < 3.0.4-3+wheezy5+deb7u1. Fixed in 3.0.4-3+wheezy5+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 archive and compression library. It provides functions for creating, reading, and manipulating various archive formats, including tar, cpio, zip, and more. This vulnerability affects libarchive in Debian 7 Wheezy.

Vulnerability Detail

A heap buffer overflow vulnerability was discovered in libarchive. This type of vulnerability occurs when a program writes more data to a buffer than it can hold, leading to memory corruption. An attacker could exploit this vulnerability to execute arbitrary code or cause a denial of service.

How To Fix

Minimum fixed version

3.0.4-3+wheezy5+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, a heap buffer overflow vulnerability has been discovered in libarchive. It is recommended to upgrade the libarchive package to the latest version to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for libarchive →

Share this vulnerability

FAQ

libarchive is a multi-format archive and compression library used for creating, reading, and manipulating various archive formats.

A heap buffer overflow is a type of vulnerability where a program writes more data to a buffer than it can hold, leading to memory corruption.

This vulnerability could allow an attacker to execute arbitrary code or cause a denial of service.

To fix this vulnerability, you should upgrade the libarchive package to version 3.0.4-3+wheezy5+deb7u1 or later.

You can get the updated libarchive package from the official Debian repository.

Related vulnerabilities

Recent vulnerabilities recorded for libarchive.

How To Fix

Minimum fixed version

3.0.4-3+wheezy5+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