Vulnerability in sam2p - Multiple Invalid Frees and Buffer Overflow

sam2p Updated 02 Oct 2025

Summary

06/04/2018
N/A
Yes i
Unrated
Not published

DLA-1340-1: sam2p - security update. Affects sam2p versions < 0.49.1-1+deb7u3. Fixed in 0.49.1-1+deb7u3. 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 provides functionality to convert images to various formats, perform image manipulation, and generate output suitable for printing. The package is commonly used in Debian 7 Wheezy.

Vulnerability Detail

Multiple invalid frees and buffer-overflow vulnerabilities have been discovered in sam2p. These vulnerabilities can result in a denial-of-service (application crash) or potentially lead to other unspecified impacts. The vulnerabilities originate from improper memory management and can be triggered by processing specially crafted image files. Attackers may exploit these vulnerabilities to crash the application or potentially execute arbitrary code.

How To Fix

Minimum fixed version

0.49.1-1+deb7u3

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 are no known workarounds for these vulnerabilities. It is essential to apply the recommended fix by upgrading the sam2p package to the patched version.

Conclusion

Multiple invalid frees and buffer-overflow vulnerabilities have been discovered in sam2p. These vulnerabilities can lead to a denial-of-service or potential execution of arbitrary code. It is crucial to upgrade the sam2p package to version 0.49.1-1+deb7u3 or later to mitigate these vulnerabilities. For further support on vulnerability remediation, please 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. It provides various image manipulation capabilities and is commonly used for generating print-ready output.

These vulnerabilities can lead to a denial-of-service (application crash) or potentially allow attackers to execute arbitrary code on the affected system.

To fix these vulnerabilities, it is recommended to upgrade the sam2p package to version 0.49.1-1+deb7u3 or later. This update includes patches that address the vulnerabilities.

There are no known workarounds for these vulnerabilities. It is crucial to apply the recommended fix by upgrading the sam2p package.

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

Related vulnerabilities

Recent vulnerabilities recorded for sam2p.

How To Fix

Minimum fixed version

0.49.1-1+deb7u3

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