Advisory

UBUNTU-CVE-2025-6021

Also known as: CVE-2025-6021

Summary

The record has no summary.

Details

A flaw was found in libxml2's xmlBuildQName function, where integer overflows in buffer size calculations can lead to a stack-based buffer overflow. This issue can result in memory corruption or a denial of service when processing crafted input.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2025-06-12 13:15 UTC
Modified
2026-04-22 16:08 UTC

Affected packages and fixes

libxml2

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 2.9.13+dfsg-1ubuntu0.8 (ecosystem)

Fixed versions

2.9.13+dfsg-1ubuntu0.8

Fix

  • Fixed version 2.9.13+dfsg-1ubuntu0.8
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libxml2

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 2.9.14+dfsg-1.3ubuntu3.4 (ecosystem)

Fixed versions

2.9.14+dfsg-1.3ubuntu3.4

Fix

  • Fixed version 2.9.14+dfsg-1.3ubuntu3.4
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences