Integer Overflow Vulnerability in sam2p

sam2p Updated 02 Oct 2025

Summary

22/11/2017
N/A
Yes i
Unrated
Not published

DLA-1185-1: sam2p - security update. Affects sam2p versions < 0.49.1-1+deb7u2. Fixed in 0.49.1-1+deb7u2. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

sam2p is a utility used to convert raster images and other image formats. It is commonly used for image manipulation and conversion tasks. The utility is vulnerable to an integer overflow issue in the input-bmp.ci file, which can lead to a heap-based buffer overflow. This vulnerability may result in application crashes or other unspecified impacts when processing maliciously crafted files.

Vulnerability Detail

The vulnerability in sam2p arises from unsafe width and height multiplications in the input-bmp.ci file. Due to an integer overflow, a heap-based buffer overflow can occur, potentially leading to application crashes or other adverse effects when processing specially crafted files.

How To Fix

Minimum fixed version

0.49.1-1+deb7u2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade sam2p

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

Workaround

There is no specific workaround available for this vulnerability. It is essential to apply the recommended package update to ensure the security of the sam2p utility.

Conclusion

The integer overflow vulnerability in sam2p can lead to a heap-based buffer overflow and potential application crashes or other adverse effects. It is crucial to upgrade the sam2p package to version 0.49.1-1+deb7u2 or later to mitigate this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for sam2p →

Share this vulnerability

FAQ

sam2p is a utility used for converting raster images and other image formats.

The vulnerability can result in application crashes or other unspecified impacts when processing maliciously crafted files.

To fix this vulnerability, upgrade the sam2p package to version 0.49.1-1+deb7u2 or later.

No, there is no specific workaround available. Applying the package update is the recommended solution.

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 sam2p.

How To Fix

Minimum fixed version

0.49.1-1+deb7u2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade sam2p

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