CVE-2025-49794: Expired Pointer Dereference
A use-after-free vulnerability was found in libxml2. This issue occurs when parsing XPath elements under certain circumstances when the XML schematron has the <sch:name path="..."/> schema elements. This flaw allows a malicious actor to craft a malicious XML document used as input for libxml, resulting in the program's crash using libxml or other possible undefined behaviors.
AI Analysis
Technical Summary
CVE-2025-49794 is a heap use-after-free vulnerability in libxml2 triggered during parsing of XPath elements when XML schematron <sch:name path="..."/> schema elements are present. This flaw allows a crafted malicious XML document to cause a denial of service by crashing the program or causing undefined behavior. Red Hat advisories RHSA-2025:10630 and RHSA-2025:10698 address this issue by providing updated libxml2 packages for Red Hat Enterprise Linux 8 and 10. The vulnerability is rated critical with a CVSS 3.1 base score of 9.1 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H), indicating network exploitable with no privileges required, no user interaction, and high impact on integrity and availability.
Potential Impact
The vulnerability allows remote attackers to cause denial of service by crashing applications that use libxml2 to parse specially crafted XML documents containing certain XPath elements. There is no confidentiality impact, but integrity and availability are highly impacted due to potential heap use-after-free leading to crashes or undefined behavior. No known exploits in the wild have been reported at this time.
Mitigation Recommendations
Official patches are available from Red Hat for affected versions of libxml2 in Red Hat Enterprise Linux 8 and 10. Users should apply the updates as described in Red Hat advisories RHSA-2025:10630 and RHSA-2025:10698. The vendor has rated this update as Important and provides detailed instructions for applying the fixes. No additional mitigation steps are required beyond applying the official patches.
CVE-2025-49794: Expired Pointer Dereference
Description
A use-after-free vulnerability was found in libxml2. This issue occurs when parsing XPath elements under certain circumstances when the XML schematron has the <sch:name path="..."/> schema elements. This flaw allows a malicious actor to craft a malicious XML document used as input for libxml, resulting in the program's crash using libxml or other possible undefined behaviors.
CVSS v3.1
Score 9.1critical
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-49794 is a heap use-after-free vulnerability in libxml2 triggered during parsing of XPath elements when XML schematron <sch:name path="..."/> schema elements are present. This flaw allows a crafted malicious XML document to cause a denial of service by crashing the program or causing undefined behavior. Red Hat advisories RHSA-2025:10630 and RHSA-2025:10698 address this issue by providing updated libxml2 packages for Red Hat Enterprise Linux 8 and 10. The vulnerability is rated critical with a CVSS 3.1 base score of 9.1 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H), indicating network exploitable with no privileges required, no user interaction, and high impact on integrity and availability.
Potential Impact
The vulnerability allows remote attackers to cause denial of service by crashing applications that use libxml2 to parse specially crafted XML documents containing certain XPath elements. There is no confidentiality impact, but integrity and availability are highly impacted due to potential heap use-after-free leading to crashes or undefined behavior. No known exploits in the wild have been reported at this time.
Mitigation Recommendations
Official patches are available from Red Hat for affected versions of libxml2 in Red Hat Enterprise Linux 8 and 10. Users should apply the updates as described in Red Hat advisories RHSA-2025:10630 and RHSA-2025:10698. The vendor has rated this update as Important and provides detailed instructions for applying the fixes. No additional mitigation steps are required beyond applying the official patches.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- redhat
- Date Reserved
- 2025-06-10T22:17:05.286Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/errata/RHSA-2025:10630","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:10698","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:10699","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:11580","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:12098","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:12099","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:12199","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:12237","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:12239","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:12240","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:12241","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:13335","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:15397","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:15827","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:15828","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:18217","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:18218","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:18219","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:18240","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:19020","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:19041","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:19046","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:19894","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:21913","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:0934","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:7519","vendor":"Red Hat"},{"url":"https://access.redhat.com/security/cve/CVE-2025-49794","vendor":"Red Hat"}]
Threat ID: 6850408fa8c9212743845411
Added to database: 06/16/2025, 16:04:31 UTC
Last enriched: 08/06/2026, 16:17:05 UTC
Last updated: 08/11/2026, 12:53:00 UTC
Views: 793
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.
External Links
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.