vulnerability

Amazon Linux 2023: CVE-2022-40303: Medium priority package update for libxml2 (Multiple Advisories)

Severity
8
CVSS
(AV:N/AC:L/Au:N/C:N/I:N/A:C)
Published
Oct 14, 2022
Added
Feb 17, 2025
Modified
Jul 9, 2025

Description

An issue was discovered in libxml2 before 2.10.3. When parsing a multi-gigabyte XML document with the XML_PARSE_HUGE parser option enabled, several integer counters can overflow. This results in an attempt to access an array at a negative 2GB offset, typically leading to a segmentation fault.
A flaw was found in libxml2. Parsing a XML document with the XML_PARSE_HUGE option enabled can result in an integer overflow because safety checks were missing in some functions. Also, the xmlParseEntityValue function didn't have any length limitation.

Solutions

amazon-linux-2023-upgrade-libxml2amazon-linux-2023-upgrade-libxml2-debuginfoamazon-linux-2023-upgrade-libxml2-debugsourceamazon-linux-2023-upgrade-libxml2-develamazon-linux-2023-upgrade-libxml2-staticamazon-linux-2023-upgrade-python3-libxml2amazon-linux-2023-upgrade-python3-libxml2-debuginfoamazon-linux-2023-upgrade-xmlsec1amazon-linux-2023-upgrade-xmlsec1-debuginfoamazon-linux-2023-upgrade-xmlsec1-debugsourceamazon-linux-2023-upgrade-xmlsec1-develamazon-linux-2023-upgrade-xmlsec1-opensslamazon-linux-2023-upgrade-xmlsec1-openssl-debuginfoamazon-linux-2023-upgrade-xmlsec1-openssl-devel
Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.