Vulnerability in libxpm - Arbitrary Code Execution

libxpm Updated 02 Oct 2025

Summary

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

DLA-801-1: libxpm - security update. Affects libxpm versions < 1:3.5.10-1+deb7u1. Fixed in 1:3.5.10-1+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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

libxpm is a library used for handling XPM (X PixMap) image files. It provides functions for reading, writing, and manipulating XPM images. The library is commonly used in various applications and libraries that deal with image processing and display. However, a vulnerability has been discovered in libxpm that could allow an attacker to execute arbitrary code by exploiting a specially crafted XPM file.

Vulnerability Detail

The vulnerability in libxpm arises from a flaw in the way the library handles XPM files. By creating a malicious XPM file with carefully crafted data, an attacker can trigger a buffer overflow or other memory corruption issues in the library. This can lead to the execution of arbitrary code with the privileges of the user running the vulnerable application. If successfully exploited, an attacker could gain full control over the affected system, potentially compromising sensitive data or launching further attacks.

How To Fix

Minimum fixed version

1:3.5.10-1+deb7u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libxpm

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

Workaround

There is no known workaround for this vulnerability. It is essential to apply the recommended fix by upgrading the libxpm package to the patched version.

Conclusion

The vulnerability in libxpm can be exploited by a specially crafted XPM file to execute arbitrary code. To mitigate this risk, it is crucial to upgrade the libxpm package to the patched version. No known workaround exists for this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for libxpm →

Share this vulnerability

FAQ

libxpm is a library used for handling XPM (X PixMap) image files. It provides functions for reading, writing, and manipulating XPM images.

The vulnerability allows an attacker to execute arbitrary code by exploiting a specially crafted XPM file. This can lead to full control over the affected system and potential compromise of sensitive data.

To fix this vulnerability, upgrade the libxpm package to version 1:3.5.10-1+deb7u1 or later using the package manager of the Debian 7 Wheezy distribution.

No, there is no known workaround for this vulnerability. It is crucial to apply the recommended fix by upgrading the libxpm package.

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

How To Fix

Minimum fixed version

1:3.5.10-1+deb7u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libxpm

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