Vulnerability in sam2p - security update

sam2p Updated 02 Oct 2025

Summary

10/08/2018
N/A
Yes i
Unrated
Not published

DLA-1463-1: sam2p - security update. Affects sam2p versions < 0.49.2-3+deb8u3. Fixed in 0.49.2-3+deb8u3. 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 an open-source utility designed to convert raster images to EPS, PDF, and other formats. It is commonly used for image manipulation and conversion tasks. However, the package is susceptible to various vulnerabilities that can lead to denial of service or other unspecified impacts.

Vulnerability Detail

The vulnerability identified in sam2p is a heap-buffer-overflow issue. Two specific instances of this vulnerability have been discovered:

  1. CVE-2018-12578: This vulnerability occurs in the bmp_compress1_row function and can result in a heap-buffer-overflow. It has been fixed with the help of Peter Szabo.

  2. CVE-2018-12601: This vulnerability occurs in the ReadImage function in the input-tga.ci file and can also lead to a heap-buffer-overflow. Peter Szabo provided a fix for this as well.

These vulnerabilities can potentially allow attackers to execute arbitrary code or cause denial of service by crashing the application.

How To Fix

Minimum fixed version

0.49.2-3+deb8u3

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 →

Conclusion

sam2p is prone to heap-buffer-overflow vulnerabilities that can result in denial of service or arbitrary code execution. It is crucial to upgrade to the latest version (0.49.2-3+deb8u3) to mitigate these risks. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for sam2p →

Share this vulnerability

FAQ

sam2p is an open-source utility used for converting raster images to EPS, PDF, and other formats.

The vulnerabilities in sam2p are heap-buffer-overflow issues that can lead to denial of service or arbitrary code execution.

To fix these vulnerabilities, you need to upgrade the sam2p package to version 0.49.2-3+deb8u3 or later.

You can obtain the updated sam2p package from the official Debian repositories or through package management tools.

No specific workarounds have been mentioned for these vulnerabilities. It is recommended to apply the official update.

Related vulnerabilities

Recent vulnerabilities recorded for sam2p.

How To Fix

Minimum fixed version

0.49.2-3+deb8u3

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