Skip to content
Heist/ feed
Back to feed
HighFix available

Libxslt: libxml2: heap use-after-free in libxslt caused by atype corruption in xmlattrptr

Type: advisorySources: OSV

A flaw was found in libxslt where the attribute type, atype, flags are modified in a way that corrupts internal memory management. When XSLT functions, such as the key() process, result in tree fragments, this corruption prevents the proper cleanup of ID attributes. As a result, the system may access freed memory, causing crashes or enabling attackers to trigger heap corruption.

Products
jre
Affected versions
Not specified
Fixed versions
1.8.0, 8.0.481
CVEs
CVE-2025-7425
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 19:53 UTC · Revision 1

Source evidence

Libxslt: libxml2: heap use-after-free in libxslt caused by atype corruption in xmlattrptr

core-osv · Original source

Published 8 May 2026, 05:47 UTC

A flaw was found in libxslt where the attribute type, atype, flags are modified in a way that corrupts internal memory management. When XSLT functions, such as the key() process, result in tree fragments, this corruption prevents the proper cleanup of ID attributes. As a result, the system may access freed memory, causing crashes or enabling attackers to trigger heap corruption.

osv:BIT-jre-2025-7425

jre

Fixed versions: 1.8.0, 8.0.481

Complete source record
{
  "id": "10889fb7258e37e6eaea538ed2c750baa9b29f69ba65679cdb83e5c79abbc44d",
  "url": "https://osv.dev/vulnerability/BIT-jre-2025-7425",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Libxslt: libxml2: heap use-after-free in libxslt caused by atype corruption in xmlattrptr",
    "summary": "A flaw was found in libxslt where the attribute type, atype, flags are modified in a way that corrupts internal memory management. When XSLT functions, such as the key() process, result in tree fragments, this corruption prevents the proper cleanup of ID attributes. As a result, the system may access freed memory, causing crashes or enabling attackers to trigger heap corruption.",
    "evidence": "osv:BIT-jre-2025-7425",
    "products": [
      {
        "name": {
          "value": "jre",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.8.0",
            "evidence": "/affected/0/ranges"
          },
          {
            "value": "8.0.481",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "BIT-jre-2025-7425",
      "aliases": [
        "BIT-java-2025-7425",
        "BIT-java-min-2025-7425",
        "BIT-jre-2025-7425",
        "CVE-2025-7425"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.8.0"
                },
                {
                  "introduced": "1.9.0"
                },
                {
                  "fixed": "8.0.481"
                }
              ]
            }
          ],
          "package": {
            "name": "jre",
            "purl": "pkg:bitnami/jre",
            "ecosystem": "Bitnami"
          },
          "severity": [
            {
              "type": "CVSS_V3",
              "score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:H"
            }
          ],
          "database_specific": {
            "source": "https://github.com/bitnami/vulndb/tree/main/data/jre/BIT-jre-2025-7425.json"
          }
        }
      ],
      "modified": "2026-10-16T09:45:21.494765287Z",
      "provider": "osv",
      "references": [
        "https://access.redhat.com/errata/RHBA-2025:12345",
        "https://access.redhat.com/errata/RHSA-2025:12447",
        "https://access.redhat.com/errata/RHSA-2025:12450",
        "https://access.redhat.com/errata/RHSA-2025:13267",
        "https://access.redhat.com/errata/RHSA-2025:13308",
        "https://access.redhat.com/errata/RHSA-2025:13309",
        "https://access.redhat.com/errata/RHSA-2025:13310",
        "https://access.redhat.com/errata/RHSA-2025:13311",
        "https://access.redhat.com/errata/RHSA-2025:13312",
        "https://access.redhat.com/errata/RHSA-2025:13313",
        "https://access.redhat.com/errata/RHSA-2025:13314",
        "https://access.redhat.com/errata/RHSA-2025:13335",
        "https://access.redhat.com/errata/RHSA-2025:13464",
        "https://access.redhat.com/errata/RHSA-2025:13622",
        "https://access.redhat.com/errata/RHSA-2025:14059",
        "https://access.redhat.com/errata/RHSA-2025:14396",
        "https://access.redhat.com/errata/RHSA-2025:14818",
        "https://access.redhat.com/errata/RHSA-2025:14819",
        "https://access.redhat.com/errata/RHSA-2025:14853",
        "https://access.redhat.com/errata/RHSA-2025:14858",
        "https://access.redhat.com/errata/RHSA-2025:15308",
        "https://access.redhat.com/errata/RHSA-2025:15672",
        "https://access.redhat.com/errata/RHSA-2025:15827",
        "https://access.redhat.com/errata/RHSA-2025:15828",
        "https://access.redhat.com/errata/RHSA-2025:18219",
        "https://access.redhat.com/errata/RHSA-2025:21885",
        "https://access.redhat.com/errata/RHSA-2025:21913",
        "https://access.redhat.com/errata/RHSA-2026:0934",
        "https://access.redhat.com/errata/RHSA-2026:11503",
        "https://access.redhat.com/security/cve/CVE-2025-7425",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2379274",
        "https://gitlab.gnome.org/GNOME/libxslt/-/issues/140",
        "https://lists.debian.org/debian-lts-announce/2025/09/msg00035.html",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-7425"
      ],
      "provider_metadata": {
        "cpes": [
          "cpe:2.3:a:bellsoft:libericajre:*:*:*:*:*:*:*:*"
        ],
        "severity": "High"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-7425",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/database_specific/severity"
  },
  "source_id": "core-osv",
  "document_id": 338407,
  "published_at": "2026-05-08T05:47:31.932+00:00"
}