CVE-2022-40304
Publication date 23 November 2022
Last updated 25 August 2025
Ubuntu priority
Cvss 3 Severity Score
Description
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.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| libxml2 | ||
| 22.04 LTS jammy |
Fixed 2.9.13+dfsg-1ubuntu0.2
|
|
| 20.04 LTS focal |
Fixed 2.9.10+dfsg-5ubuntu0.20.04.5
|
|
| 18.04 LTS bionic |
Fixed 2.9.4+dfsg1-6.1ubuntu1.8
|
|
| 16.04 LTS xenial |
Fixed 2.9.3+dfsg1-1ubuntu0.7+esm4
|
|
| 14.04 LTS trusty |
Fixed 2.9.1+dfsg1-3ubuntu4.13+esm4
|
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu Pro 30-day free trialSeverity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Local |
| Attack complexity | Low |
| Privileges required | None |
| User interaction | Required |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity impact | High |
| Availability impact | High |
| Vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
References
Related Ubuntu Security Notices (USN)
- USN-5760-1
- libxml2 vulnerabilities
- 5 December 2022
- USN-5760-2
- libxml2 vulnerabilities
- 5 December 2022