CVE-2025-49796CWE-125

CVE-2025-49796

Critical · published June 16, 2025

CVSS v3.1
9.1
EPSS
2%
Percentile
75.0
In the wild
Unconfirmed
What it is

🔥 A sneaky memory corruption vulnerability in libxml2 can crash your application with just the wrong XML input! Think of libxml2 as a restaurant kitchen where a chef needs precise recipes. If someone slips in a recipe with corrupted ingredients, it can result in a disastrous dinner service — dishes might explode or taste awful, and nobody wants that! An attacker could send a specially crafted XML file that makes libxml2 go haywire, leading to denial of service or worse, corrupting sensitive data in memory. This means your application could crash unexpectedly, leaving users frustrated and potentially exposing critical information.

Put simply

Think of libxml2 as a restaurant kitchen where a chef needs precise recipes. If someone slips in a recipe with corrupted ingredients, it can result in a disastrous dinner service — dishes might explode or taste awful, and nobody wants that! This vulnerability arises from improper processing of certain sch:name elements in an XML file, allowing for memory corruption that can crash the libxml2 parser.

What to do

An attacker could send a specially crafted XML file that makes libxml2 go haywire, leading to denial of service or worse, corrupting sensitive data in memory. This means your application could crash unexpectedly, leaving users frustrated and potentially exposing critical information. Update libxml2 to the latest version immediately. Ensure proper validation of XML input files to mitigate any potential attacks. Consider implementing additional safeguards to monitor for unusual behavior in the application. You've got this! Follow these steps, and you'll keep your application safe and sound. 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01558 · 75.0th percentile
Weakness
CWE-125 · Out-of-bounds Read
Published
2025-06-16T20:15Z
References (35)
https://access.redhat.com/errata/RHSA-2025:10630 · [email protected]https://access.redhat.com/errata/RHSA-2025:10698 · [email protected]https://access.redhat.com/errata/RHSA-2025:10699 · [email protected]https://access.redhat.com/errata/RHSA-2025:11580 · [email protected]https://access.redhat.com/errata/RHSA-2025:12098 · [email protected]https://access.redhat.com/errata/RHSA-2025:12099 · [email protected]https://access.redhat.com/errata/RHSA-2025:12199 · [email protected]https://access.redhat.com/errata/RHSA-2025:12237 · [email protected]https://access.redhat.com/errata/RHSA-2025:12239 · [email protected]https://access.redhat.com/errata/RHSA-2025:12240 · [email protected]https://access.redhat.com/errata/RHSA-2025:12241 · [email protected]https://access.redhat.com/errata/RHSA-2025:13267 · [email protected]https://access.redhat.com/errata/RHSA-2025:13335 · [email protected]https://access.redhat.com/errata/RHSA-2025:15397 · [email protected]https://access.redhat.com/errata/RHSA-2025:15827 · [email protected]https://access.redhat.com/errata/RHSA-2025:15828 · [email protected]https://access.redhat.com/errata/RHSA-2025:18217 · [email protected]https://access.redhat.com/errata/RHSA-2025:18218 · [email protected]https://access.redhat.com/errata/RHSA-2025:18219 · [email protected]https://access.redhat.com/errata/RHSA-2025:18240 · [email protected]https://access.redhat.com/errata/RHSA-2025:19020 · [email protected]https://access.redhat.com/errata/RHSA-2025:19041 · [email protected]https://access.redhat.com/errata/RHSA-2025:19046 · [email protected]https://access.redhat.com/errata/RHSA-2025:19894 · [email protected]https://access.redhat.com/errata/RHSA-2025:21913 · [email protected]https://access.redhat.com/errata/RHSA-2026:0934 · [email protected]https://access.redhat.com/errata/RHSA-2026:62549 · [email protected]https://access.redhat.com/errata/RHSA-2026:67857 · [email protected]https://access.redhat.com/errata/RHSA-2026:7519 · [email protected]https://access.redhat.com/security/cve/CVE-2025-49796 · [email protected]https://bugzilla.redhat.com/show_bug.cgi?id=2372385 · [email protected]https://gitlab.gnome.org/GNOME/libxml2/-/issues/933 · [email protected]https://lists.debian.org/debian-lts-announce/2025/07/msg00014.html · af854a3a-2127-422b-91ae-364da2661108https://cert-portal.siemens.com/productcert/html/ssa-253495.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5ehttps://cert-portal.siemens.com/productcert/html/ssa-577017.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
EPSS history
Timeline
  • 16 JUN 15:14Z
    Libxml: type confusion leads to denial of service (dos)
    cvelistv5