---
cve: "CVE-2022-40304"
severity: "HIGH"
cvss: 7.8
epss: "6.8%"
vendor: "n/a"
kev: false
exploited: false
published: "2022-11-23 18:15:12"
tags: [cve, security, high]
source: tsecurity.de CVE-Dossier
exported: "2026-09-08T19:10:09+02:00"
---

# CVE-2022-40304

> 7.8 HIGH

## Beschreibung

An issue was discovered in libxml2 before 2.10.3. Certain invalid XML entity definitions can corrupt a hash table key, potentially leading to subsequent logic errors. In one case, a double-free can be provoked.

## CVSS-Vektor

```
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Lokal | good |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |
| UI Interaktion | Erforderlich | good |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Hoch | bad |
| I Integrität | Hoch | bad |
| A Verfügbarkeit | Hoch | bad |

## Patch verfügbar (OSV)

- f507d167f1755b7eaea09fb1a44d29aab828b6d1 (Commit)
- f507d167f1755b7eaea09fb1a44d29aab828b6d1 (Commit)

## Referenzen

- <https://gitlab.gnome.org/GNOME/libxml2/-/tags>
- <https://gitlab.gnome.org/GNOME/libxml2/-/tags/v2.10.3>
- <https://gitlab.gnome.org/GNOME/libxml2/-/commit/1b41ec4e9433b05bb0376be4725804c54ef1d80b>
- <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>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2022-40304) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
