Skip to main content
EPSS 0.8%top 46%

A use-after-free vulnerability was found in libxml2. (CVE-2025-49794)

0
Critical
Published: 06/16/2025 (06/16/2025, 18:32:19 UTC)
Source: GCVE Database

Description

A critical use-after-free vulnerability (CVE-2025-49794) exists in libxml2 when parsing XPath elements involving XML schematron <sch:name path="..."/> schema elements. This flaw can cause program crashes or undefined behavior when processing crafted malicious XML documents. Multiple Red Hat advisories provide patches for affected products, including Red Hat Enterprise Linux and OpenShift Container Platform. The vulnerability has a CVSS 3.1 score of 9.1, indicating high severity. No known exploits in the wild have been reported. Users are advised to apply the official patches provided by Red Hat to mitigate this issue.

CVSS v3.1

Score 9.1critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/10/2026, 13:25:23 UTC

Technical Analysis

CVE-2025-49794 is a use-after-free vulnerability in libxml2 triggered during parsing of XPath elements under specific conditions involving XML schematron <sch:name path="..."/> elements. This memory management flaw can lead to program crashes or other undefined behaviors when processing maliciously crafted XML input. The vulnerability has been assigned a CVSS v3.1 base score of 9.1 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H), indicating it is remotely exploitable without privileges or user interaction, causing high impact on integrity and availability. Red Hat has issued multiple security advisories with patches for affected versions of libxml2 and related products, including Red Hat Enterprise Linux and OpenShift Container Platform. No public exploit code or active exploitation has been reported to date.

Potential Impact

The vulnerability allows remote attackers to cause denial of service (program crash) or potentially other undefined behaviors by supplying crafted XML documents to libxml2. The impact affects integrity and availability but not confidentiality. The CVSS score of 9.1 reflects critical severity due to remote exploitability without authentication or user interaction. No known exploits in the wild have been reported, but the flaw poses a significant risk if exploited.

Mitigation Recommendations

Official patches are available from Red Hat as detailed in multiple security advisories (e.g., RHSA-2025:18219, RHSA-2025:18240). Users should apply these updates promptly to affected products, including Red Hat Enterprise Linux and OpenShift Container Platform. For OpenShift, upgrade instructions are provided by Red Hat and should be followed to fully apply the fixes. No additional mitigation steps are required beyond applying these official updates. There are no indications that this vulnerability is mitigated by default or requires no action.

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

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-qg4c-8pj4-qgw2
Osv Schema Version
1.4.0
Aliases
["CVE-2025-49794"]
Database Specific Severity
CRITICAL
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6aa2af4bacd9273b49259fad

Added to database: 09/10/2026, 13:23:23 UTC

Last enriched: 09/10/2026, 13:25:23 UTC

Last updated: 09/10/2026, 19:42:36 UTC

Views: 2

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.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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