Integer Underflow Vulnerability in Lhasa

lhasa Updated 02 Oct 2025

Summary

03/04/2016
N/A
Yes i
Unrated
Not published

DSA-3540-1: lhasa - security update. Affects lhasa versions < 0.0.7-2+deb7u1. Fixed in 0.0.7-2+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

Lhasa is an open-source lzh archive decompressor used for extracting files from lzh archives. It provides functionality to handle compressed archives efficiently. However, a vulnerability has been discovered in Lhasa that allows an attacker to execute arbitrary code by exploiting an integer underflow. This vulnerability can be triggered when processing a malformed archive.

Vulnerability Detail

The integer underflow vulnerability in Lhasa arises due to a flaw in the decompression algorithm. An attacker can create a specially crafted lzh archive that triggers the underflow when processed by Lhasa. By exploiting this vulnerability, an attacker can execute arbitrary code on the target system, potentially leading to remote code execution or other malicious activities.

How To Fix

Minimum fixed version

0.0.7-2+deb7u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade lhasa

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

Conclusion

The integer underflow vulnerability in Lhasa can be exploited by processing a specially crafted lzh archive. To mitigate this vulnerability, it is crucial to upgrade the Lhasa package to the fixed version provided for your distribution. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for lhasa →

Share this vulnerability

FAQ

Lhasa is an open-source lzh archive decompressor used for extracting files from lzh archives. It provides efficient handling of compressed archives.

The vulnerability allows an attacker to execute arbitrary code on the target system by exploiting an integer underflow. This can lead to remote code execution or other malicious activities.

To fix this vulnerability, upgrade the Lhasa package to the latest version available for your distribution. Refer to the 'how_to_fix' section for specific version information.

No specific workarounds have been mentioned for this vulnerability. It is recommended to upgrade to the fixed version of Lhasa.

You can find more information about this vulnerability in the Debian Security Advisory DSA-3540-1. Refer to the 'meta' section for the link to the advisory.

Related vulnerabilities

Recent vulnerabilities recorded for lhasa.

How To Fix

Minimum fixed version

0.0.7-2+deb7u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade lhasa

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