# CVE-2022-40303

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 41% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2022-11-22 · Modified: 2026-10-14
- Aliases: ALPINE-CVE-2022-40303, UBUNTU-CVE-2022-40303, DEBIAN-CVE-2022-40303, CGA-2mhr-j5pv-5jfq, CGA-r6xv-4325-qg5h
- Record: https://cvemate.com/vulnerability/CVE-2022-40303 · JSON: https://cvemate.com/vulnerability/CVE-2022-40303/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 41.365%, percentile 98.701%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 22)

- alpine libxml2 (Alpine Linux): \< 2.9.14-r2 \| \< 2.10.3-r0
- chainguard libxml2 (Chainguard): All versions (No fix recorded)
- wolfi libxml2 (Wolfi): All versions (No fix recorded)
- apple ipados: \< 15.7.2
- apple iphone\_os: \< 15.7.2
- apple macos: ≥ 11.0, \< 11.7.2 \| ≥ 12.0, \< 12.6.2
- apple tvos: \< 16.2
- apple watchos: \< 9.2
- debian libxml2 (Debian): \< 2.9.14+dfsg-1.1
- ubuntu libxml2 (Ubuntu): \< 2.9.1+dfsg1-3ubuntu4.13+esm4 \| \< 2.9.3+dfsg1-1ubuntu0.7+esm4 \| \< 2.9.4+dfsg1-6.1ubuntu1.8 \| \< 2.9.10+dfsg-5ubuntu0.20.04.5 \| \< 2.9.13+dfsg-1ubuntu0.2
- netapp active\_iq\_unified\_manager: na
- netapp clustered\_data\_ontap: na
- netapp clustered\_data\_ontap\_antivirus\_connector: na
- netapp h300s\_firmware: na
- netapp h410c\_firmware: na
- netapp h410s\_firmware: na
- netapp h500s\_firmware: na
- netapp h700s\_firmware: na
- netapp netapp\_manageability\_sdk: na
- netapp ontap\_select\_deploy\_administration\_utility: na

## References (first 20 of 27)

- <https://gitlab.gnome.org/GNOME/libxml2/-/tags/v2.10.3>
- <https://gitlab.gnome.org/GNOME/libxml2/-/commit/c846986356fc149915a74972bf198abc266bc2c0>
- <https://security.netapp.com/advisory/ntap-20221209-0003/>
- <https://support.apple.com/kb/HT213534>
- <https://support.apple.com/kb/HT213533>
- <https://support.apple.com/kb/HT213531>
- <https://support.apple.com/kb/HT213536>
- <https://support.apple.com/kb/HT213535>
- <http://seclists.org/fulldisclosure/2022/Dec/21>
- <http://seclists.org/fulldisclosure/2022/Dec/25>
- <http://seclists.org/fulldisclosure/2022/Dec/26>
- <http://seclists.org/fulldisclosure/2022/Dec/24>
- <http://seclists.org/fulldisclosure/2022/Dec/27>
- <https://security.alpinelinux.org/vuln/CVE-2022-40303>
- <https://ubuntu.com/security/CVE-2022-40303>
- <https://ubuntu.com/security/notices/USN-5760-1>
- <https://ubuntu.com/security/notices/USN-5760-2>
- <https://www.cve.org/CVERecord?id=CVE-2022-40303>
- <https://security-tracker.debian.org/tracker/CVE-2022-40303>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/40xxx/CVE-2022-40303.json>

---

Data as of 2026-12-05T03:51:59.801Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
