Heap-based Buffer Overflow Affecting freeimage package, versions [0,]


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.14% (34th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Heap-based Buffer Overflow vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CONAN-FREEIMAGE-14401154
  • published12 Dec 2025
  • disclosed10 Dec 2025
  • credit1mxml

Introduced: 10 Dec 2025

CVE-2025-65803  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

There is no fixed version for freeimage.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow via the psdParser::ReadImageData() function due to improper verification of depth field while computing the number of bytes per row (lineSize) directly from PSD header values. An attacker can cause the application to crash or become unresponsive by supplying a specially crafted PSD file.

CVSS Base Scores

version 4.0
version 3.1