Integer Overflow in potrace findnext Function

potrace Updated 02 Oct 2025

Summary

09/04/2017
N/A
Yes i
Unrated
Not published

DLA-889-1: potrace - security update. Affects potrace versions < 1.10-1+deb7u2. Fixed in 1.10-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 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

Potrace is an open-source utility used to convert bitmap images into vector graphics. It is commonly used in various applications for image processing and manipulation. The potrace package in Debian 7 Wheezy is vulnerable to an integer overflow in the findnext function.

Vulnerability Detail

The integer overflow vulnerability in potrace's findnext function allows remote attackers to cause a denial of service by exploiting a crafted BMP image. This can lead to an invalid memory access and crash of the application. The vulnerability is identified as CVE-2016-8685.

How To Fix

Minimum fixed version

1.10-1+deb7u2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade potrace

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

Workaround

There is no specific workaround mentioned for this vulnerability.

Conclusion

The potrace package in Debian 7 Wheezy is vulnerable to an integer overflow in the findnext function. This can be exploited by remote attackers using a crafted BMP image, leading to a denial of service. To fix this vulnerability, it is recommended to upgrade the potrace package to version 1.10-1+deb7u2 or later. For more information and support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for potrace →

Share this vulnerability

FAQ

Potrace is an open-source utility used to transform bitmap images into vector graphics. It is commonly used in various applications for image processing and manipulation.

The vulnerability allows remote attackers to cause a denial of service by exploiting a crafted BMP image. This can lead to a crash of the potrace application.

To fix this vulnerability, you should upgrade the potrace package to version 1.10-1+deb7u2 or later. This can be done by updating the package using the package manager of the Debian 7 Wheezy system.

No specific workaround has been mentioned for this vulnerability.

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

Related vulnerabilities

Recent vulnerabilities recorded for potrace.

How To Fix

Minimum fixed version

1.10-1+deb7u2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade potrace

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