Amazon Linux 2 : ImageMagick (ALAS-2026-4133)
10
10
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
#
# The descriptive text and package checks in this plugin were
# extracted from Amazon Linux 2 Security Advisory ALAS-2026-4133.
##
include('compat.inc');
if (description)
{
script_id(383505);
script_version("1.1");
script_set_attribute(attribute:"plugin_modification_date", value:"2026/11/19");
script_cve_id(
"CVE-2026-93586",
"CVE-2026-93587",
"CVE-2026-93588",
"CVE-2026-102635",
"CVE-2026-105081",
"CVE-2026-105083",
"CVE-2026-106565",
"CVE-2026-106566",
"CVE-2026-106568",
"CVE-2026-106570",
"CVE-2026-106571",
"CVE-2026-106572",
"CVE-2026-106573",
"CVE-2026-106577",
"CVE-2026-106578",
"CVE-2026-106579",
"CVE-2026-106580",
"CVE-2026-107208",
"CVE-2026-107210",
"CVE-2026-109261",
"CVE-2026-109262",
"CVE-2026-109263",
"CVE-2026-109264",
"CVE-2026-109266",
"CVE-2026-109269",
"CVE-2026-109270",
"CVE-2026-109273",
"CVE-2026-109275",
"CVE-2026-109276",
"CVE-2026-109277",
"CVE-2026-109278",
"CVE-2026-109279",
"CVE-2026-109282",
"CVE-2026-109964",
"CVE-2026-116140",
"CVE-2026-116143",
"CVE-2026-116144",
"CVE-2026-116145",
"CVE-2026-116146",
"CVE-2026-116148",
"CVE-2026-116151",
"CVE-2026-116154",
"CVE-2026-116155",
"CVE-2026-116156",
"CVE-2026-116157",
"CVE-2026-116159",
"CVE-2026-116160",
"CVE-2026-123273"
);
script_xref(name:"IAVB", value:"2026-B-0280-S");
script_xref(name:"IAVB", value:"2026-B-0316");
script_name(english:"Amazon Linux 2 : ImageMagick (ALAS-2026-4133)");
script_set_attribute(attribute:"synopsis", value:
"The remote Amazon Linux 2 host is missing a security update.");
script_set_attribute(attribute:"description", value:
"The version of ImageMagick installed on the remote host is prior to 6.9.10.97-1. It is, therefore, affected by multiple
vulnerabilities as referenced in the ALAS2-2026-4133 advisory.
ImageMagick versions before 7.1.2-32 and 6.9.13-57 contain uninitialized heap memory disclosure in the GIF
decoder's application extension handler in coders/gif.c. Attackers can craft malicious GIF files that
cause the number parser to read uninitialized heap memory and store contents as image metadata, disclosing
sensitive heap information. (CVE-2026-102635)
ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 does not properly account for symbolic links in the
IsRightsAuthorizedByName security policy check, allowing configured policy restrictions to be bypassed.
Local attackers who can create a symlink can point it at a policy-restricted path to evade the configured
policy. (CVE-2026-105081)
A flaw was found in ImageMagick. A local attacker with permission to modify the security policy
configuration file can bypass defined security restrictions by supplying an alternate XML document type
declaration (DOCTYPE). Due to improper parsing of certain DOCTYPE declarations, the configuration parser
consumes the remainder of the file and silently fails to load security rules. As a result, restricted or
forbidden operations are permitted to execute. (CVE-2026-105083)
ImageMagick before 7.1.2-31 contains a heap buffer overflow vulnerability that allows attackers to
overwrite heap memory by making a crafted call to the GetVirtualPixels API. Attackers can trigger the out-
of-bounds heap write through crafted input to crash the server, causing a denial of service.
(CVE-2026-105398)
ImageMagick before 6.9.13-56 and 7.x before 7.1.2-31 contains a denial of service vulnerability in the MVG
decoder caused by a missing limit check. Attackers can supply a crafted MVG image that triggers a long-
running decoding operation, consuming excessive CPU resources and stalling image processing.
(CVE-2026-105399)
ImageMagick before 6.9.13-56 and 7.x before 7.1.2-31 allows a security policy bypass when a policy uses
coder, rather than module, as its domain. An attacker can supply a crafted image to evade coder-based
policy restrictions, causing ImageMagick to process formats the administrator intended to block.
(CVE-2026-105403)
ImageMagick before 6.9.13-56 and 7.x before 7.1.2-31 contains a code injection vulnerability in its
PostScript coders, because some values are not properly escaped or trimmed when written to output.
Attackers can supply crafted values that embed arbitrary PostScript code into files generated by these
coders. (CVE-2026-105404)
ImageMagick before 6.9.13-56 and 7.x before 7.1.2-31 contains an invalid memory free vulnerability in the
MVG decoder. Attackers can supply a crafted MVG image for processing to trigger the invalid free and crash
the application, causing a denial of service. (CVE-2026-105405)
ImageMagick before 6.9.13-56 and 7.x before 7.1.2-31 lacks a security policy check in the CUT encoder,
allowing configured security policies to be bypassed. Attackers can supply crafted input processed by the
CUT encoder to crash the application or leak sensitive data. (CVE-2026-105823)
ImageMagick before 6.9.13-55 and 7.x before 7.1.2-30 contains a denial of service vulnerability in its
handling of XMP profiles, where a crafted profile terminates the process instead of raising an exception.
Attackers can supply images with malicious XMP profiles to crash applications that process them using
ImageMagick. (CVE-2026-105825)
ImageMagick before 6.9.13-55 and 7.x before 7.1.2-30 contains a security policy bypass in the MAT decoder,
which does not enforce configured temporary file size limits when reading highly compressed data.
Attackers can supply a crafted MAT image whose decompressed data is written to temporary files larger than
the policy allows, consuming disk resources. (CVE-2026-105826)
ImageMagick before 7.1.2-30 and 6.9.13-55 contains an uncontrolled recursion vulnerability in the CALS
decoder due to a missing depth check. Attackers can supply a crafted CALS image that triggers unbounded
recursion, exhausting the stack and crashing the process, resulting in a denial of service.
(CVE-2026-105827)
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to
7.1.2-32 and 6.9.13-57, a missing end-of-file check while reading bzip2-compressed image data can cause an
infinite loop and exhaust processing resources. This issue is fixed in versions 7.1.2-32 and 6.9.13-57.
(CVE-2026-106565)
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to
7.1.2-32, delegate symlink cleanup does not check the MAGICK_SHRED_PASSES environment variable, allowing a
local privileged workflow to overwrite a file with random data. This issue is fixed in version 7.1.2-32.
(CVE-2026-106566)
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to
7.1.2-32 and 6.9.13-57, a crafted XMP profile embedded in an image can cause the profile parser to enter
an infinite loop, preventing image processing from completing. This issue is fixed in versions 7.1.2-32
and 6.9.13-57. (CVE-2026-106568)
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to
7.1.2-32, an unauthenticated adjacent-network client can repeatedly connect to the distributed pixel cache
server and exhaust its available connections, causing denial of service. This issue is fixed in version
7.1.2-32. (CVE-2026-106570)
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to
6.9.13-56 and 7.1.2-31, a crafted local call to the GetVirtualPixels API can trigger an integer
calculation error and write beyond a heap buffer, crashing the server process. This issue is fixed in
versions 6.9.13-56 and 7.1.2-31. (CVE-2026-106571)
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to
7.1.2-30 and 6.9.13-55, a missing recursion-depth check in the CALS decoder allows a crafted CALS image to
exhaust the call stack and terminate the process. This issue is fixed in versions 7.1.2-30 and 6.9.13-55.
(CVE-2026-106572)
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to
7.1.2-31 and 6.9.13-56, a missing limit check in the MVG decoder allows a crafted MVG image to trigger an
excessively long-running operation. This issue is fixed in versions 7.1.2-31 and 6.9.13-56.
(CVE-2026-106573)
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to
7.1.2-31 and 6.9.13-56, unescaped or untrimmed values can inject code into output generated by PostScript
coders. This issue is fixed in versions 7.1.2-31 and 6.9.13-56. (CVE-2026-106577)
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to
7.1.2-31 and 6.9.13-56, a crafted image can cause an invalid memory free in the MVG decoder and crash the
process. This issue is fixed in versions 7.1.2-31 and 6.9.13-56. (CVE-2026-106578)
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to
7.1.2-31 and 6.9.13-56, a crafted image can bypass an ImageMagick security policy that uses coder as its
domain, potentially allowing data prohibited by the policy to be read. This issue is fixed in versions
7.1.2-31 and 6.9.13-56. (CVE-2026-106579)
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to
7.1.2-31 and 6.9.13-56, a missing security-policy check in the CUT encoder allows a crafted local encoding
operation to read data that policy should deny and can also cause a crash. This issue is fixed in versions
7.1.2-31 and 6.9.13-56. (CVE-2026-106580)
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to
7.1.2-30 and 6.9.13-55, a crafted XMP profile can reach a recursion limit that is handled as a fatal
condition instead of an ordinary exception, terminating the image-processing process. This issue is fixed
in versions 7.1.2-30 and 6.9.13-55. (CVE-2026-107208)
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to
7.1.2-30 and 6.9.13-55, a crafted highly compressed MAT image can make the MAT decoder create temporary
files larger than the configured security-policy limit, bypassing resource restrictions and consuming
excessive disk space. This issue is fixed in versions 7.1.2-30 and 6.9.13-55. (CVE-2026-107210)
ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 contains a memory leak in the GIF encoder because
allocated memory is not released when color quantization fails during encoding. Attackers can supply
images whose GIF conversion causes quantization to fail, leaking memory with each attempt and degrading
availability. (CVE-2026-109261)
ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 contains a memory leak in the SVG encoder
(WriteSVGImage) that fails to release allocated memory when handling crafted images. Attackers can supply
crafted image files that are processed by the SVG encoder to leak memory and cause a denial of service
through resource consumption. (CVE-2026-109262)
ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 contains a memory leak in the YUV encoder, which
fails to release allocated memory when a specific operation fails. Attackers can supply crafted input that
triggers the failing encoder operation, leaking memory and potentially exhausting resources to cause a
denial of service. (CVE-2026-109263)
ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 contains uncontrolled recursion in the MVG decoder
that can exhaust the program stack. An attacker who controls a file name processed by ImageMagick can
trigger a stack overflow that crashes the process, causing a denial of service. (CVE-2026-109264)
ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 contains an XML injection vulnerability in the CIP
encoder, which does not properly escape input-derived data when writing Cisco IP Phone XML output.
Attackers can supply a crafted file that, when converted to CIP format, injects arbitrary markup into the
generated XML. (CVE-2026-109266)
ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 contains an information disclosure vulnerability in
the JPEG decoder, which performs a read that exposes uninitialized memory when handling crafted input.
Attackers can supply a crafted JPEG file for processing to disclose uninitialized memory contents.
(CVE-2026-109269)
ImageMagick before 7.1.2-32 contains a memory leak vulnerability in the -process option that allows
attackers to cause unreleased memory allocations by supplying certain arguments. Attackers can repeatedly
invoke the -process option with crafted arguments to gradually exhaust memory and degrade service
availability. (CVE-2026-109270)
ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 contains an information disclosure vulnerability in
the PostScript decoder, which allocates a buffer one byte longer than the data it decoded. Attackers can
supply a crafted PostScript file to expose a single uninitialized byte of memory contents.
(CVE-2026-109273)
ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 contains a code injection vulnerability in the MVG
decoder when a PostScript renderer is used. Attackers can supply a crafted MVG file that, when decoded,
injects code into the PostScript rendering path. (CVE-2026-109275)
ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 contains an incomplete cleanup flaw in the JNG
decoder that fails to remove temporary files when processing crafted input. Attackers can submit crafted
JNG files for processing to repeatedly leak temporary files, consuming disk space and degrading
availability. (CVE-2026-109276)
ImageMagick before 7.1.2-32 contains a policy bypass vulnerability in the -script operation due to missing
checks on file descriptor handling. Attackers can use the -script operation to close file descriptors not
opened by the current operation, circumventing configured security policies. (CVE-2026-109277)
ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 contains a memory leak in the wavelet-denoise
operation, which fails to release allocated memory when a required resource cannot be acquired. Attackers
can repeatedly trigger wavelet-denoise processing under resource-constrained conditions to leak memory and
degrade service availability. (CVE-2026-109278)
ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 lacks proper synchronization when the security policy
is accessed, so simultaneous reads and writes of the policy by multiple threads trigger a race condition
that causes a heap buffer over-write. An attacker able to induce concurrent security policy access can
crash the application, causing a denial of service. (CVE-2026-109279)
ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 contains a type confusion flaw in the INFO, JSON and
YAML encoders, where an internal method receives a pointer of an unexpected type when writing an image in
a compressed format. An attacker who can cause such an image write can trigger a SIGABRT or SIGSEGV,
crashing the process and causing denial of service. (CVE-2026-109282)
ImageMagick before 7.1.2-33 and 6.9.13-58 contains a heap buffer underwrite vulnerability in DecodeImage()
in coders/pict.c on 32-bit builds due to pointer arithmetic overflow. Attackers can supply a crafted PICT
file with maximized row, column and bytes-per-line values to bypass bounds checks and write up to 128
controlled bytes below the heap buffer, causing crashes or code execution. (CVE-2026-109964)
A flaw was found in ImageMagick. An attacker could bypass administrator-defined security policies by
convincing the application to process specially crafted input that triggers a delegate invocation. This
issue occurs due to incorrect parsing of delegate commands, allowing programs explicitly restricted or
blocked in the security configuration to be executed. (CVE-2026-116140)
A flaw was found in ImageMagick. This vulnerability allows a local attacker to cause a Denial of Service
(DoS) through resource exhaustion. The PostScript (PS), Portable Document Format (PDF), and XML Paper
Specification (XPS) decoders fail to properly enforce security policy list length limits on scene
selection, allowing an attacker supplying specific arguments to trigger excessive processing.
(CVE-2026-116143)
A flaw was found in ImageMagick. An attacker could cause a Denial of Service (DoS) by supplying a
specially crafted Magick Vector Graphics (MVG) file. When processed, the file triggers uncontrolled
recursion within the MVG decoder, exhausting stack memory and causing the application to crash.
(CVE-2026-116144)
ImageMagick before 6.9.13-58 and 7.x before 7.1.2-32 contains a security policy bypass caused by an
incomplete fix for the policy bypass reported in GHSA-jjp4-3fwf-393j. An attacker able to supply input to
ImageMagick can evade configured security policy restrictions, allowing operations the policy was intended
to block. (CVE-2026-116145)
A flaw was found in ImageMagick. The Magick Scripting Language (MSL) decoder fails to release allocated
memory when processing specially crafted MSL files. An attacker could exploit this vulnerability by
providing malicious MSL files for processing, resulting in excessive resource consumption and a Denial of
Service (DoS). (CVE-2026-116146)
A flaw was found in ImageMagick. The Magick Vector Graphics (MVG) encoder does not properly neutralize
user-specified drawing options before writing them into generated output. An attacker capable of supplying
drawing options can exploit this vulnerability to inject arbitrary drawing commands into the resulting MVG
file, potentially leading to unauthorized information disclosure. (CVE-2026-116148)
A flaw was found in ImageMagick. A remote attacker can cause a Denial of Service (DoS) by supplying a
specially crafted image file to be encoded into the JPEG Network Graphics (JNG) format. Due to a failure
to properly release allocated memory in the JNG encoder, processing these files can lead to memory
exhaustion and service instability. (CVE-2026-116151)
A flaw was found in ImageMagick. This vulnerability allows a remote attacker to cause a Denial of Service
(DoS) by submitting specially crafted, deeply nested XML data. When processing the input, the application
fails to release allocated memory upon reaching the nesting depth limit, resulting in memory exhaustion.
(CVE-2026-116154)
A flaw was found in ImageMagick. A remote attacker could cause a Denial of Service (DoS) by supplying an
image with a specially crafted Extensible Metadata Platform (XMP) profile. When affected decoders process
the malformed profile, memory is repeatedly leaked, which can eventually lead to system resource
exhaustion. (CVE-2026-116155)
ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 contains a memory leak caused by a missing cleanup
when the -set profile option is used. An attacker who induces a user to process images with the -set
profile option can leak memory, potentially exhausting resources and causing a denial of service.
(CVE-2026-116156)
A flaw was found in ImageMagick. The PerlMagick component fails to properly release memory allocated when
reading image properties. An attacker could exploit this vulnerability by repeatedly triggering property
read operations to exhaust system memory, leading to a Denial of Service (DoS). (CVE-2026-116157)
A flaw was found in ImageMagick. The handling of the color decision list (-cdl) option fails to properly
release allocated memory after use. An attacker can exploit this issue by providing input that repeatedly
processes the -cdl option, leading to excessive memory consumption and a Denial of Service (DoS) through
resource exhaustion. (CVE-2026-116159)
A flaw was found in ImageMagick. An attacker can cause a Denial of Service (DoS) by tricking a user into
processing a specially crafted image file using the X11 animate feature. Processing the image triggers a
heap-based buffer overflow, writing data beyond allocated memory limits, which corrupts memory and crashes
the application. (CVE-2026-116160)
ImageMagick before 7.1.2-35 and 6.9.13-60 contains an infinite loop vulnerability in the SVG decoder
because QueueAuthenticPixelCacheNexus in MagickCore/cache.c fails to validate requested region width and
height. Attackers can supply a crafted SVG image that repeatedly requests a non-advancing pixel region,
consuming CPU and hanging the decoding worker. (CVE-2026-123273)
ImageMagick before 7.1.2-31 and before 6.9.13-56 contains a use-after-free vulnerability in the
ImagesToBlob method, caused by a pointer that is not updated correctly. Exploitation may result in a
limited availability impact (e.g., a crash of the affected process). The issue is fixed in versions
7.1.2-31 and 6.9.13-56. (CVE-2026-93586)
ImageMagick before 7.1.2-31 and before 6.9.13-56 contains a policy bypass in the PCD (and, per the
upstream advisory, CUBE and HALD) coder: when a specific command line option is supplied, the decoder does
not check a configured resource limit, which can result in extra memory allocation. A local user able to
pass command line options to ImageMagick can therefore exceed the intended memory policy limit, causing a
limited availability impact. The issue is fixed in 7.1.2-31 and 6.9.13-56. (CVE-2026-93587)
ImageMagick before 7.1.2-31 and before 6.9.13-56 contains a NULL pointer dereference in the PNM coder.
When the coder reaches a memory (resource) limit at a specific point during processing, the failed
allocation is not handled and a NULL pointer is dereferenced, which can lead to a denial of service
(application crash) when processing a specially crafted or sufficiently large PNM image. (CVE-2026-93588)
Tenable has extracted the preceding description block directly from the tested product security advisory.
Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version
number.");
script_set_attribute(attribute:"see_also", value:"https://alas.aws.amazon.com//AL2/ALAS2-2026-4133.html");
script_set_attribute(attribute:"see_also", value:"https://alas.aws.amazon.com/faqs.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-102635.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-105081.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-105083.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-105398.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-105399.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-105403.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-105404.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-105405.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-105823.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-105825.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-105826.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-105827.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-106565.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-106566.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-106568.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-106570.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-106571.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-106572.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-106573.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-106577.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-106578.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-106579.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-106580.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-107208.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-107210.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-109261.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-109262.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-109263.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-109264.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-109266.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-109269.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-109270.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-109273.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-109275.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-109276.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-109277.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-109278.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-109279.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-109282.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-109964.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-116140.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-116143.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-116144.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-116145.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-116146.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-116148.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-116151.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-116154.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-116155.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-116156.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-116157.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-116159.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-116160.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-123273.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-93586.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-93587.html");
script_set_attribute(attribute:"see_also", value:"https://explore.alas.aws.amazon.com/CVE-2026-93588.html");
script_set_attribute(attribute:"solution", value:
"Run 'yum update ImageMagick' or
or 'yum update --advisory ALAS2-2026-4133' to update your system.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:C");
script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H");
script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
script_set_attribute(attribute:"cvss4_vector", value:"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N");
script_set_attribute(attribute:"cvss4_threat_vector", value:"CVSS:4.0/E:U");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2026-106580");
script_set_attribute(attribute:"cvss4_score_source", value:"CVE-2026-123273");
script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
script_set_attribute(attribute:"exploit_available", value:"false");
script_set_attribute(attribute:"vuln_publication_date", value:"2026/09/18");
script_set_attribute(attribute:"patch_publication_date", value:"2026/11/19");
script_set_attribute(attribute:"plugin_publication_date", value:"2026/11/19");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:amazon:linux:ImageMagick");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:amazon:linux:ImageMagick-c++");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:amazon:linux:ImageMagick-c++-devel");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:amazon:linux:ImageMagick-debuginfo");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:amazon:linux:ImageMagick-devel");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:amazon:linux:ImageMagick-doc");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:amazon:linux:ImageMagick-perl");
script_set_attribute(attribute:"cpe", value:"cpe:/o:amazon:linux:2");
script_set_attribute(attribute:"generated_plugin", value:"current");
script_set_attribute(attribute:"stig_severity", value:"I");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Amazon Linux Local Security Checks");
script_copyright(english:"This script is Copyright (C) 2026 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("ssh_get_info2.nasl");
script_require_keys("Host/local_checks_enabled", "Host/AmazonLinux/release", "Host/AmazonLinux/rpm-list");
exit(0);
}
include("rpm2.inc");
if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
var alas_release = get_kb_item("Host/AmazonLinux/release");
if (isnull(alas_release) || !strlen(alas_release)) audit(AUDIT_OS_NOT, "Amazon Linux");
var os_ver = pregmatch(pattern: "^AL(A|\d+|-\d+)", string:alas_release);
if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Amazon Linux");
os_ver = os_ver[1];
if (os_ver != "2")
{
if (os_ver == 'A') os_ver = 'AMI';
audit(AUDIT_OS_NOT, "Amazon Linux 2", "Amazon Linux " + os_ver);
}
if (!get_kb_item("Host/AmazonLinux/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
var pkgs = [
{'reference':'ImageMagick-6.9.10.97-1.amzn2.0.34', 'cpu':'aarch64', 'release':'AL2', 'rpm_spec_vers_cmp':TRUE},
{'reference':'ImageMagick-6.9.10.97-1.amzn2.0.34', 'cpu':'i686', 'release':'AL2', 'rpm_spec_vers_cmp':TRUE},
{'reference':'ImageMagick-6.9.10.97-1.amzn2.0.34', 'cpu':'x86_64', 'release':'AL2', 'rpm_spec_vers_cmp':TRUE},
{'reference':'ImageMagick-c++-6.9.10.97-1.amzn2.0.34', 'cpu':'aarch64', 'release':'AL2', 'rpm_spec_vers_cmp':TRUE},
{'reference':'ImageMagick-c++-6.9.10.97-1.amzn2.0.34', 'cpu':'i686', 'release':'AL2', 'rpm_spec_vers_cmp':TRUE},
{'reference':'ImageMagick-c++-6.9.10.97-1.amzn2.0.34', 'cpu':'x86_64', 'release':'AL2', 'rpm_spec_vers_cmp':TRUE},
{'reference':'ImageMagick-c++-devel-6.9.10.97-1.amzn2.0.34', 'cpu':'aarch64', 'release':'AL2', 'rpm_spec_vers_cmp':TRUE},
{'reference':'ImageMagick-c++-devel-6.9.10.97-1.amzn2.0.34', 'cpu':'i686', 'release':'AL2', 'rpm_spec_vers_cmp':TRUE},
{'reference':'ImageMagick-c++-devel-6.9.10.97-1.amzn2.0.34', 'cpu':'x86_64', 'release':'AL2', 'rpm_spec_vers_cmp':TRUE},
{'reference':'ImageMagick-debuginfo-6.9.10.97-1.amzn2.0.34', 'cpu':'aarch64', 'release':'AL2', 'rpm_spec_vers_cmp':TRUE},
{'reference':'ImageMagick-debuginfo-6.9.10.97-1.amzn2.0.34', 'cpu':'i686', 'release':'AL2', 'rpm_spec_vers_cmp':TRUE},
{'reference':'ImageMagick-debuginfo-6.9.10.97-1.amzn2.0.34', 'cpu':'x86_64', 'release':'AL2', 'rpm_spec_vers_cmp':TRUE},
{'reference':'ImageMagick-devel-6.9.10.97-1.amzn2.0.34', 'cpu':'aarch64', 'release':'AL2', 'rpm_spec_vers_cmp':TRUE},
{'reference':'ImageMagick-devel-6.9.10.97-1.amzn2.0.34', 'cpu':'i686', 'release':'AL2', 'rpm_spec_vers_cmp':TRUE},
{'reference':'ImageMagick-devel-6.9.10.97-1.amzn2.0.34', 'cpu':'x86_64', 'release':'AL2', 'rpm_spec_vers_cmp':TRUE},
{'reference':'ImageMagick-doc-6.9.10.97-1.amzn2.0.34', 'cpu':'aarch64', 'release':'AL2', 'rpm_spec_vers_cmp':TRUE},
{'reference':'ImageMagick-doc-6.9.10.97-1.amzn2.0.34', 'cpu':'i686', 'release':'AL2', 'rpm_spec_vers_cmp':TRUE},
{'reference':'ImageMagick-doc-6.9.10.97-1.amzn2.0.34', 'cpu':'x86_64', 'release':'AL2', 'rpm_spec_vers_cmp':TRUE},
{'reference':'ImageMagick-perl-6.9.10.97-1.amzn2.0.34', 'cpu':'aarch64', 'release':'AL2', 'rpm_spec_vers_cmp':TRUE},
{'reference':'ImageMagick-perl-6.9.10.97-1.amzn2.0.34', 'cpu':'i686', 'release':'AL2', 'rpm_spec_vers_cmp':TRUE},
{'reference':'ImageMagick-perl-6.9.10.97-1.amzn2.0.34', 'cpu':'x86_64', 'release':'AL2', 'rpm_spec_vers_cmp':TRUE}
];
var flag = 0;
foreach var package_array ( pkgs ) {
var reference = NULL;
var _release = NULL;
var sp = NULL;
var _cpu = NULL;
var el_string = NULL;
var rpm_spec_vers_cmp = NULL;
var epoch = NULL;
var allowmaj = NULL;
var exists_check = NULL;
var cves = NULL;
if (!empty_or_null(package_array['reference'])) reference = package_array['reference'];
if (!empty_or_null(package_array['release'])) _release = package_array['release'];
if (!empty_or_null(package_array['sp'])) sp = package_array['sp'];
if (!empty_or_null(package_array['cpu'])) _cpu = package_array['cpu'];
if (!empty_or_null(package_array['el_string'])) el_string = package_array['el_string'];
if (!empty_or_null(package_array['rpm_spec_vers_cmp'])) rpm_spec_vers_cmp = package_array['rpm_spec_vers_cmp'];
if (!empty_or_null(package_array['epoch'])) epoch = package_array['epoch'];
if (!empty_or_null(package_array['allowmaj'])) allowmaj = package_array['allowmaj'];
if (!empty_or_null(package_array['exists_check'])) exists_check = package_array['exists_check'];
if (!empty_or_null(package_array['cves'])) cves = package_array['cves'];
if (reference && _release && (!exists_check || rpm_exists(release:_release, rpm:exists_check))) {
if (rpm_check(release:_release, sp:sp, cpu:_cpu, reference:reference, epoch:epoch, el_string:el_string, rpm_spec_vers_cmp:rpm_spec_vers_cmp, allowmaj:allowmaj, cves:cves)) flag++;
}
}
if (flag)
{
security_report_v4(
port : 0,
severity : SECURITY_HOLE,
extra : rpm_report_get()
);
exit(0);
}
else
{
var tested = pkg_tests_get();
if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
else audit(AUDIT_PACKAGE_NOT_INSTALLED, "ImageMagick / ImageMagick-c++ / ImageMagick-c++-devel / etc");
}
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
19 Nov 2026 00:00Current
CVSS 3.16.5 - 8.2
CVSS 47.1
EPSS0.00441
SSVC