CVE-2024-40896

Publication date 23 December 2024

Last updated 30 May 2025


Ubuntu priority

Cvss 3 Severity Score

9.1 · Critical

Score breakdown

In libxml2 2.11 before 2.11.9, 2.12 before 2.12.9, and 2.13 before 2.13.3, the SAX parser can produce events for external entities even if custom SAX handlers try to override entity content (by setting "checked"). This makes classic XXE attacks possible.

Read the notes from the security team

Status

Package Ubuntu Release Status
libxml2 24.10 oracular
Fixed 2.12.7+dfsg-3ubuntu0.1
24.04 LTS noble
Not affected
22.04 LTS jammy
Not affected
20.04 LTS focal
Not affected
18.04 LTS bionic
Not affected
16.04 LTS xenial
Not affected
14.04 LTS trusty
Not affected

Notes


mdeslaur

oracular contains a vulnerable version, but the package in plucky was reverted to 2.9.14

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
libxml2

Severity score breakdown

Parameter Value
Base score 9.1 · Critical
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Scope Unchanged
Confidentiality None
Integrity impact High
Availability impact High
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

References

Related Ubuntu Security Notices (USN)

    • USN-7215-1
    • libxml2 vulnerability
    • 16 January 2025

Other references