USN-7302-1: libxml2 vulnerabilities

Published Feb 25, 2025
·
Updated

It was discovered that libxml2 incorrectly handled certain memory operations. A remote attacker could use this issue to cause libxml2 to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, and Ubuntu 18.04 LTS. (CVE-2022-49043) It was discovered that the libxml2 xmllint tool incorrectly handled certain memory operations. If a user or automated system were tricked into running xmllint on a specially crafted xml file, a remote attacker could cause xmllint to crash, resulting in a denial of service. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, and Ubuntu 18.04 LTS. (CVE-2024-34459) It was discovered that libxml2 did not properly manage memory. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2024-56171) It was discovered that libxml2 could be made to write out of bounds. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2025-24928) It was discovered that libxml2 could be made to dereference invalid memory. An attacker could possibly use this issue to cause a denial of service. (CVE-2025-27113)

Affected Software

14 affected componentsFixes available
All of the following
ubuntu/libxml2<2.12.7+dfsg-3ubuntu0.2
2.12.7+dfsg-3ubuntu0.2
Ubuntu Ubuntu=24.10
All of the following
ubuntu/libxml2<2.9.14+dfsg-1.3ubuntu3.2
2.9.14+dfsg-1.3ubuntu3.2
Ubuntu Ubuntu=24.04
All of the following
ubuntu/libxml2<2.9.13+dfsg-1ubuntu0.6
2.9.13+dfsg-1ubuntu0.6
Ubuntu Ubuntu=22.04
All of the following
ubuntu/libxml2<2.9.10+dfsg-5ubuntu0.20.04.9
2.9.10+dfsg-5ubuntu0.20.04.9
Ubuntu Ubuntu=20.04
All of the following
ubuntu/libxml2<2.9.4+dfsg1-6.1ubuntu1.9+esm2
2.9.4+dfsg1-6.1ubuntu1.9+esm2
Ubuntu Ubuntu=18.04
All of the following
ubuntu/libxml2<2.9.3+dfsg1-1ubuntu0.7+esm7
2.9.3+dfsg1-1ubuntu0.7+esm7
Ubuntu Ubuntu=16.04
All of the following
ubuntu/libxml2<2.9.1+dfsg1-3ubuntu4.13+esm7
2.9.1+dfsg1-3ubuntu4.13+esm7
Ubuntu Ubuntu=14.04

Event History

Feb 25, 2025
Advisory Published
via Ubuntu·12:00 AM

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of USN-7302-1?

USN-7302-1 has a high severity level due to its potential for remote exploitation leading to denial of service or arbitrary code execution.

2

How do I fix USN-7302-1?

To fix USN-7302-1, update the libxml2 package to the recommended version based on your Ubuntu release.

3

What versions of Ubuntu are affected by USN-7302-1?

USN-7302-1 affects Ubuntu 14.04 LTS, 16.04 LTS, 18.04 LTS, 20.04 LTS, 22.04 LTS, and 24.04 LTS.

4

What is the cause of the vulnerability described in USN-7302-1?

The vulnerability in USN-7302-1 is caused by improper handling of certain memory operations in the libxml2 library.

5

Can USN-7302-1 allow an attacker to execute arbitrary code?

Yes, a remote attacker can exploit USN-7302-1 to potentially execute arbitrary code via specially crafted input.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203