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 by parsing XPath elements under certain XML schematron conditions involving <sch:name path="..."/> elements. This vulnerability can lead to denial of service by crashing applications that use libxml2. Red Hat has issued security advisories RHSA-2025:10630 and RHSA-2025:10698 providing patches for Red Hat Enterprise Linux 10 and 8 respectively. The advisories classify the impact as Important and provide updated libxml2 packages to remediate this and related vulnerabilities (CVE-2025-49795, CVE-2025-49796, CVE-2025-6021).
Potential Impact
Exploitation of this use-after-free vulnerability can cause denial of service (application crash) in programs using libxml2 when processing crafted XML documents. The CVSS 3.1 score is 9.1 (critical), reflecting network attack vector, no privileges required, no user interaction, and high impact on integrity and availability. There are no known exploits in the wild at this time.
Mitigation Recommendations
Red Hat has released official security updates for libxml2 in Red Hat Enterprise Linux 10 and 8 that fix this vulnerability. Users should apply the updated packages as described in Red Hat advisories RHSA-2025:10630 and RHSA-2025:10698. The vendor advisory provides detailed instructions for applying these updates. No additional mitigation is required once patches are applied.
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 by parsing XPath elements under certain XML schematron conditions involving <sch:name path="..."/> elements. This vulnerability can lead to denial of service by crashing applications that use libxml2. Red Hat has issued security advisories RHSA-2025:10630 and RHSA-2025:10698 providing patches for Red Hat Enterprise Linux 10 and 8 respectively. The advisories classify the impact as Important and provide updated libxml2 packages to remediate this and related vulnerabilities (CVE-2025-49795, CVE-2025-49796, CVE-2025-6021).
Potential Impact
Exploitation of this use-after-free vulnerability can cause denial of service (application crash) in programs using libxml2 when processing crafted XML documents. The CVSS 3.1 score is 9.1 (critical), reflecting network attack vector, no privileges required, no user interaction, and high impact on integrity and availability. There are no known exploits in the wild at this time.
Mitigation Recommendations
Red Hat has released official security updates for libxml2 in Red Hat Enterprise Linux 10 and 8 that fix this vulnerability. Users should apply the updated packages as described in Red Hat advisories RHSA-2025:10630 and RHSA-2025:10698. The vendor advisory provides detailed instructions for applying these updates. No additional mitigation is required once patches are applied.
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: 06/25/2026, 20:45:20 UTC
Last updated: 06/26/2026, 21:28:30 UTC
Views: 718
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.