{
  "threat_severity" : "Moderate",
  "public_date" : "2025-06-12T00:00:00Z",
  "bugzilla" : {
    "description" : "libxml2: Integer Overflow in xmlBuildQName() Leads to Stack Buffer Overflow in libxml2",
    "id" : "2372406",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2372406"
  },
  "cvss3" : {
    "cvss3_base_score" : "7.5",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-787",
  "details" : [ "A flaw was found in libxml2's xmlBuildQName function, where integer overflows in buffer size calculations can lead to a stack-based buffer overflow. This issue can result in memory corruption or a denial of service when processing crafted input.", "A flaw was found in libxml2's xmlBuildQName function, where integer overflows in buffer size calculations can lead to a stack-based buffer overflow. This issue can result in memory corruption or a denial of service when processing crafted input." ],
  "statement" : "This vulnerability is rated Moderate due to the lack of confidentiality impact and limited integrity concerns, with the main risk being potential denial-of-service  from a crash. Exploitation requires crafted XML input and specific application behavior using xmlBuildQName. While it’s a write overflow, modern mitigations make remote code execution unlikely.",
  "acknowledgement" : "Red Hat would like to thank Ahmed Lekssays for reporting this issue.",
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 10",
    "release_date" : "2025-07-08T00:00:00Z",
    "advisory" : "RHSA-2025:10630",
    "cpe" : "cpe:/o:redhat:enterprise_linux:10.0",
    "package" : "libxml2-0:2.12.5-7.el10_0"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7 Extended Lifecycle Support",
    "release_date" : "2025-07-30T00:00:00Z",
    "advisory" : "RHSA-2025:12240",
    "cpe" : "cpe:/o:redhat:rhel_els:7",
    "package" : "libxml2-0:2.9.1-6.el7_9.10"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2025-07-09T00:00:00Z",
    "advisory" : "RHSA-2025:10698",
    "cpe" : "cpe:/a:redhat:enterprise_linux:8",
    "package" : "libxml2-0:2.9.7-21.el8_10.1"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2025-07-09T00:00:00Z",
    "advisory" : "RHSA-2025:10698",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8",
    "package" : "libxml2-0:2.9.7-21.el8_10.1"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.2 Advanced Update Support",
    "release_date" : "2025-07-30T00:00:00Z",
    "advisory" : "RHSA-2025:12237",
    "cpe" : "cpe:/a:redhat:rhel_aus:8.2",
    "package" : "libxml2-0:2.9.7-9.el8_2.3"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support",
    "release_date" : "2025-07-30T00:00:00Z",
    "advisory" : "RHSA-2025:12241",
    "cpe" : "cpe:/a:redhat:rhel_aus:8.4",
    "package" : "libxml2-0:2.9.7-9.el8_4.6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On",
    "release_date" : "2025-07-30T00:00:00Z",
    "advisory" : "RHSA-2025:12241",
    "cpe" : "cpe:/a:redhat:rhel_eus_long_life:8.4",
    "package" : "libxml2-0:2.9.7-9.el8_4.6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support",
    "release_date" : "2025-07-29T00:00:00Z",
    "advisory" : "RHSA-2025:12098",
    "cpe" : "cpe:/a:redhat:rhel_aus:8.6",
    "package" : "libxml2-0:2.9.7-13.el8_6.10"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.6 Telecommunications Update Service",
    "release_date" : "2025-07-29T00:00:00Z",
    "advisory" : "RHSA-2025:12098",
    "cpe" : "cpe:/a:redhat:rhel_tus:8.6",
    "package" : "libxml2-0:2.9.7-13.el8_6.10"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions",
    "release_date" : "2025-07-29T00:00:00Z",
    "advisory" : "RHSA-2025:12098",
    "cpe" : "cpe:/a:redhat:rhel_e4s:8.6",
    "package" : "libxml2-0:2.9.7-13.el8_6.10"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.8 Telecommunications Update Service",
    "release_date" : "2025-07-30T00:00:00Z",
    "advisory" : "RHSA-2025:12239",
    "cpe" : "cpe:/a:redhat:rhel_tus:8.8",
    "package" : "libxml2-0:2.9.7-16.el8_8.9"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions",
    "release_date" : "2025-07-30T00:00:00Z",
    "advisory" : "RHSA-2025:12239",
    "cpe" : "cpe:/a:redhat:rhel_e4s:8.8",
    "package" : "libxml2-0:2.9.7-16.el8_8.9"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2025-07-09T00:00:00Z",
    "advisory" : "RHSA-2025:10699",
    "cpe" : "cpe:/a:redhat:enterprise_linux:9",
    "package" : "libxml2-0:2.9.13-10.el9_6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2025-07-09T00:00:00Z",
    "advisory" : "RHSA-2025:10699",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9",
    "package" : "libxml2-0:2.9.13-10.el9_6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions",
    "release_date" : "2025-07-29T00:00:00Z",
    "advisory" : "RHSA-2025:12099",
    "cpe" : "cpe:/a:redhat:rhel_e4s:9.0",
    "package" : "libxml2-0:2.9.13-1.el9_0.5"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions",
    "release_date" : "2025-07-29T00:00:00Z",
    "advisory" : "RHSA-2025:12199",
    "cpe" : "cpe:/a:redhat:rhel_e4s:9.2",
    "package" : "libxml2-0:2.9.13-3.el9_2.7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9.4 Extended Update Support",
    "release_date" : "2025-07-23T00:00:00Z",
    "advisory" : "RHSA-2025:11580",
    "cpe" : "cpe:/a:redhat:rhel_eus:9.4",
    "package" : "libxml2-0:2.9.13-10.el9_4"
  }, {
    "product_name" : "Red Hat JBoss Core Services 2.4.62.SP2",
    "release_date" : "2025-10-27T00:00:00Z",
    "advisory" : "RHSA-2025:19020",
    "cpe" : "cpe:/a:redhat:jboss_core_services:1",
    "package" : "libxml2"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 4.12",
    "release_date" : "2025-09-11T00:00:00Z",
    "advisory" : "RHSA-2025:15308",
    "cpe" : "cpe:/a:redhat:openshift:4.12::el8",
    "package" : "rhcos-412.86.202509030110-0"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 4.13",
    "release_date" : "2025-09-18T00:00:00Z",
    "advisory" : "RHSA-2025:15672",
    "cpe" : "cpe:/a:redhat:openshift:4.13::el9",
    "package" : "rhcos-413.92.202509030117-0"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 4.14",
    "release_date" : "2025-08-14T00:00:00Z",
    "advisory" : "RHSA-2025:13289",
    "cpe" : "cpe:/a:redhat:openshift:4.14::el9",
    "package" : "rhcos-414.92.202508041909-0"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 4.15",
    "release_date" : "2025-08-27T00:00:00Z",
    "advisory" : "RHSA-2025:14396",
    "cpe" : "cpe:/a:redhat:openshift:4.15::el9",
    "package" : "rhcos-415.92.202508192014-0"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 4.16",
    "release_date" : "2025-08-13T00:00:00Z",
    "advisory" : "RHSA-2025:13336",
    "cpe" : "cpe:/a:redhat:openshift:4.16::el9",
    "package" : "rhcos-416.94.202508050040-0"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 4.17",
    "release_date" : "2025-08-27T00:00:00Z",
    "advisory" : "RHSA-2025:14059",
    "cpe" : "cpe:/a:redhat:openshift:4.17::el9",
    "package" : "rhcos-417.94.202508141510-0"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 4.18",
    "release_date" : "2025-08-13T00:00:00Z",
    "advisory" : "RHSA-2025:13325",
    "cpe" : "cpe:/a:redhat:openshift:4.18::el9",
    "package" : "rhcos-418.94.202508060022-0"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 4.19",
    "release_date" : "2025-07-29T00:00:00Z",
    "advisory" : "RHSA-2025:11673",
    "cpe" : "cpe:/a:redhat:openshift:4.19::el9",
    "package" : "rhcos-4.19.9.6.202507230107-0"
  }, {
    "product_name" : "Red Hat Discovery 2",
    "release_date" : "2025-08-06T00:00:00Z",
    "advisory" : "RHSA-2025:13267",
    "cpe" : "cpe:/a:redhat:discovery:2::el9",
    "package" : "discovery/discovery-server-rhel9:sha256:ad07f55ee75fb20310c88f154a04665bd8465d138d66c665c300f61447858344"
  }, {
    "product_name" : "Red Hat Insights proxy 1.5",
    "release_date" : "2025-08-07T00:00:00Z",
    "advisory" : "RHSA-2025:13335",
    "cpe" : "cpe:/a:redhat:insights_proxy:1.5::el9",
    "package" : "insights-proxy/insights-proxy-container-rhel9:sha256:c26d589f12647890b67aaa986f54d3f7c6f7f2563fb5a73f38d559e6138739d7"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Out of support scope",
    "package_name" : "libxml2",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2025-6021\nhttps://nvd.nist.gov/vuln/detail/CVE-2025-6021\nhttps://gitlab.gnome.org/GNOME/libxml2/-/issues/926" ],
  "name" : "CVE-2025-6021",
  "mitigation" : {
    "value" : "Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability. Users are strongly advised to apply vendor-supplied patches as soon as they become available to address the underlying integer overflow flaw in the affected code.",
    "lang" : "en:us"
  },
  "csaw" : false
}