CVE-2022-40303

Public on 2022-11-23
Modified on 2024-02-03
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.
Severity
Medium severity
Medium
CVSS v3 Base Score
8.2
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
Amazon Linux 1 libxml2 2023-04-27 ALAS-2023-1743 Fixed
Amazon Linux 2 - Core libxml2 2023-03-17 ALAS2-2023-1996 Fixed
Amazon Linux 2023 libxml2 2023-02-17 ALAS2023-2023-096 Fixed
Amazon Linux 2023 xmlsec1 2023-02-17 ALAS2023-2023-097 Fixed

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 8.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
NVD CVSSv3 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H