Heap-based Buffer Overflow Affecting Matthias-Wandel/jhead package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.05% (18th 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 IDSNYK-UNMANAGED-MATTHIASWANDELJHEAD-6483250
  • published24 Mar 2024
  • disclosed22 Mar 2024
  • creditBahgirl

Introduced: 22 Mar 2024

CVE-2024-2824  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

There is no fixed version for Matthias-Wandel/jhead.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow due to the PrintFormatNumber function in the exif.c file. An attacker can trigger a heap-based buffer overflow by manipulating the input data sent to this function. This vulnerability allows for the execution of arbitrary code or causing a denial of service (DoS) condition through a specially crafted file that is processed by the application.

References

CVSS Scores

version 3.1