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
See what this means
CVSS v3 Base Score
8.2
See breakdown

Affected Packages

Platform Package Release Date Advisory
Amazon Linux 1 libxml2 2023-04-27 16:19 ALAS-2023-1743
Amazon Linux 2 - Core libxml2 2023-03-17 16:34 ALAS2-2023-1996
Amazon Linux 2023 libxml2 2023-02-17 20:47 ALAS2023-2023-096
Amazon Linux 2023 xmlsec1 2023-02-17 20:47 ALAS2023-2023-097

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