Heap-based Buffer Overflow Affecting ImageMagick-perl package, versions <0:6.9.10.68-7.0.5.el7_9


Severity

Recommended
high

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
0.58% (45th 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-ORACLE7-IMAGEMAGICKPERL-15477003
  • published12 Mar 2026
  • disclosed20 Jan 2026

Introduced: 20 Jan 2026

CVE-2026-23876  (opens in a new tab)
CWE-122  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Oracle:7 ImageMagick-perl to version 0:6.9.10.68-7.0.5.el7_9 or higher.
This issue was patched in ELSA-2026-3058.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ImageMagick-perl package and not the ImageMagick-perl package as distributed by Oracle. See How to fix? for Oracle:7 relevant fixed versions and status.

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-13 and 6.9.13-38, a heap buffer overflow vulnerability in the XBM image decoder (ReadXBMImage) allows an attacker to write controlled data past the allocated heap buffer when processing a maliciously crafted image file. Any operation that reads or identifies an image can trigger the overflow, making it exploitable via common image upload and processing pipelines. Versions 7.1.2-13 and 6.9.13-38 fix the issue.

CVSS Base Scores

version 3.1