Amazon Linux 2023 : perl-XML-Parser, perl-XML-Parser-tests (ALAS2023-2026-1536)

critical Nessus Plugin ID 306190

Synopsis

The remote Amazon Linux 2023 host is missing a security update.

Description

It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2023-2026-1536 advisory.

XML::Parser versions through 2.47 for Perl could overflow the pre-allocated buffer size cause a heap corruption (double free or corruption) and crashes.

A :utf8 PerlIO layer, parse_stream() in Expat.xs could overflow the XML input buffer because Perl's read() returns decoded characters while SvPV() gives back multi-byte UTF-8 bytes that can exceed the pre- allocated buffer size. This can cause heap corruption (double free or corruption) and crashes.
(CVE-2006-10002)

XML::Parser versions through 2.47 for Perl has an off-by-one heap buffer overflow in st_serial_stack.

In the case (stackptr == stacksize - 1), the stack will NOT be expanded. Then the new value will be written at location (++stackptr), which equals stacksize and therefore falls just outside the allocated buffer.

The bug can be observed when parsing an XML file with very deep element nesting (CVE-2006-10003)

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.

Solution

Run 'dnf update perl-XML-Parser --releasever 2023.11.20260413' or or 'dnf update --advisory ALAS2023-2026-1536 --releasever 2023.11.20260413' to update your system.

See Also

https://alas.aws.amazon.com//AL2023/ALAS2023-2026-1536.html

https://alas.aws.amazon.com/faqs.html

https://explore.alas.aws.amazon.com/CVE-2006-10002.html

https://explore.alas.aws.amazon.com/CVE-2006-10003.html

Plugin Details

Severity: Critical

ID: 306190

File Name: al2023_ALAS2023-2026-1536.nasl

Version: 1.1

Type: Local

Agent: unix

Published: 4/13/2026

Updated: 4/13/2026

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2006-10003

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:perl-xml-parser, p-cpe:/a:amazon:linux:perl-xml-parser-debuginfo, p-cpe:/a:amazon:linux:perl-xml-parser-debugsource, p-cpe:/a:amazon:linux:perl-xml-parser-tests, cpe:/o:amazon:linux:2023

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Exploit Ease: No known exploits are available

Patch Publication Date: 4/13/2026

Vulnerability Publication Date: 3/19/2026

Reference Information

CVE: CVE-2006-10002, CVE-2006-10003