Buffer Overflow Affecting LibRaw-devel package, versions <0:0.19.4-1.amzn2.0.7


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.81% (54th 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-AMZN2-LIBRAWDEVEL-16340909
  • published2 May 2026
  • disclosed7 Apr 2026

Introduced: 7 Apr 2026

CVE-2026-20889  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 LibRaw-devel to version 0:0.19.4-1.amzn2.0.7 or higher.
This issue was patched in ALAS2-2026-3255.

NVD Description

Note: Versions mentioned in the description apply only to the upstream LibRaw-devel package and not the LibRaw-devel package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

A heap-based buffer overflow vulnerability exists in the x3f_thumb_loader functionality of LibRaw Commit d20315b. A specially crafted malicious file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.

CVSS Base Scores

version 3.1