A use-after-free vulnerability was found in libxml2. (CVE-2025-49794)
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.
AI Analysis
Technical Summary
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.
A use-after-free vulnerability was found in libxml2. (CVE-2025-49794)
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
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
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.
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
Patch Information
- https://access.redhat.com/errata/RHSA-2025:18219
- https://access.redhat.com/errata/RHSA-2025:18240
- https://access.redhat.com/errata/RHSA-2025:19020
- https://access.redhat.com/errata/RHSA-2025:19041
- https://access.redhat.com/errata/RHSA-2025:19046
- https://access.redhat.com/errata/RHSA-2025:19894
- https://access.redhat.com/errata/RHSA-2025:21913
- https://access.redhat.com/errata/RHSA-2026:0934
- https://access.redhat.com/errata/RHSA-2026:62549
- https://access.redhat.com/errata/RHSA-2026:7519
- https://access.redhat.com/errata/RHSA-2025:10630
- https://access.redhat.com/errata/RHSA-2025:10698
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.