Out-of-Bounds Write Vulnerability in freeimage

freeimage Updated 02 Oct 2025

Summary

06/10/2016
N/A
Yes i
Unrated
Not published

DLA-647-1: freeimage - security update. Affects freeimage versions < 3.15.1-1.1+deb7u1. Fixed in 3.15.1-1.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 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

freeimage is a support library for various graphics image formats. It provides functionality for handling XMP image files. XMP is a metadata format used to describe properties and other information about an image. The library is widely used in applications that work with graphics and images. However, a vulnerability has been discovered in the XMP image handling functionality of freeimage.

Vulnerability Detail

The vulnerability in freeimage allows for an out-of-bounds write, which can be exploited by a specially crafted XMP file. When processing this malicious file, the library overwrites memory beyond its intended boundaries, potentially leading to arbitrary code execution. This can have severe consequences, as an attacker could gain control over the affected system.

How To Fix

Minimum fixed version

3.15.1-1.1+deb7u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade freeimage

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 provided fix by upgrading the freeimage package to the patched version.

Conclusion

The out-of-bounds write vulnerability in freeimage's XMP image handling functionality can be exploited to execute arbitrary code. To mitigate this risk, it is crucial to upgrade the freeimage package to version 3.15.1-1.1+deb7u1 or later. This fix addresses the vulnerability and ensures the security of systems using freeimage. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for freeimage →

Share this vulnerability

FAQ

freeimage is a support library for various graphics image formats. It provides functionality for handling XMP image files.

XMP is a metadata format used to describe properties and other information about an image.

An out-of-bounds write vulnerability occurs when a program writes data beyond the boundaries of a buffer or allocated memory. In this case, the freeimage library writes data beyond its intended boundaries, potentially leading to code execution.

This vulnerability can be exploited by providing a specially crafted XMP file to an application that uses the freeimage library. When the application processes the malicious file, the library overwrites memory beyond its intended boundaries, allowing an attacker to execute arbitrary code.

The consequences of this vulnerability can be severe. An attacker who successfully exploits this vulnerability can gain control over the affected system, potentially leading to unauthorized access, data theft, or further compromise of the system.

Related vulnerabilities

Recent vulnerabilities recorded for freeimage.

How To Fix

Minimum fixed version

3.15.1-1.1+deb7u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade freeimage

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