Out-of-bounds Write Affecting strukturag/libheif package, versions [,1.18.0)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.07% (24th 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-STRUKTURAGLIBHEIF-8235243
  • published21 Oct 2024
  • disclosed15 Oct 2024
  • creditGerrard Tai

Introduced: 15 Oct 2024

CVE-2024-41311  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade strukturag/libheif to version 1.18.0 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write in the ImageOverlay::parse() function in context.cc, when decoding a HEIF file with very large or very small offsets.

CVSS Base Scores

version 4.0
version 3.1