Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-6021: Out-of-bounds Write

0
High
VulnerabilityCVE-2025-6021cvecve-2025-6021
Published: Thu Jun 12 2025 (06/12/2025, 12:49:16 UTC)
Source: CVE Database V5
Vendor/Project: Red Hat
Product: Red Hat Enterprise Linux 10

Description

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/22/2026, 06:18:54 UTC

Technical Analysis

The vulnerability CVE-2025-6021 affects the libxml2 library's xmlBuildQName function, where integer overflow during buffer size calculation can lead to a stack buffer overflow. This flaw can cause memory corruption or denial of service when processing crafted XML input. Red Hat has classified this issue as important and released security updates for Red Hat Enterprise Linux versions 8 and 10. The CVSS v3.1 base score is 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H), indicating network exploitable with low attack complexity, no privileges or user interaction required, and impact on availability only. The vendor advisory confirms the availability of patches and provides detailed instructions for remediation.

Potential Impact

Successful exploitation of this vulnerability can cause denial of service due to a stack-based buffer overflow triggered by integer overflow in libxml2's xmlBuildQName function. There is no direct impact on confidentiality or integrity reported. The vulnerability affects availability of systems processing malicious XML input using libxml2. No known exploits in the wild have been reported at this time.

Mitigation Recommendations

Red Hat has released official security updates for libxml2 addressing CVE-2025-6021 for Red Hat Enterprise Linux 8 and 10. Users should apply these updates promptly following Red Hat's guidance at https://access.redhat.com/articles/11258. The vendor advisory classifies this update as important and provides updated packages for multiple architectures. Applying the official patches fully mitigates the vulnerability. No additional mitigation steps are required beyond applying the vendor-provided fixes.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
redhat
Date Reserved
2025-06-12T05:52:54.211Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 684ad14d358c65714e6a717c

Added to database: 6/12/2025, 1:08:29 PM

Last enriched: 4/22/2026, 6:18:54 AM

Last updated: 5/9/2026, 7:39:37 PM

Views: 153

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses