Skip to content

Red Hat Enterprise Linux

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

CVE-2025-7425Published 10 Jul 2025, 13:53 UTC

Real-world risk

1.5/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

7.8

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from redhat)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
Red Hat Enterprise LinuxUbiquitousnot stated—
Red Hat OpenShift Container PlatformWidespreadnot stated—
Red Hat Discovery 1Commonnot stated—
Red Hat Hardened ImagesCommonnot stated—
RHOSS-1.36-RHEL-8Nichenot stated—
Red Hat Insights proxy 1.5Nichenot stated—
Red Hat Web TerminalNichenot stated—
cert-manager operator for Red Hat OpenShift 1.16Nichenot stated—
libxml2Niche< 2.15.22.15.2

What to do

Update to a fixed version: 2.15.2.

Why this score

FactorValueEvidence×
ImpactMajor data tamperingWrites or changes important data without gaining executionFrom the CVSS vector0.70
Attacker positionLocalMust already run code or have a shell on the machineFrom the CVSS vector0.50
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityHardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bugFrom the CVSS vector0.45

Threat level T3: Public proof of concept (× 0.95)

A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit

  • Reference tagged as exploit (link)
  • CISA SSVC: proof of concept

EPSS 0.4% chance of exploitation in 30 days (percentile 40), as of 2026-12-02.

The arithmetic
  1. Prerequisites multiplied together0.225
  2. Threat T3: Public proof of concept0.950
  3. 10 × impact 0.7 × prerequisites 0.225 × threat 0.951.496
  4. Rounded to one decimal between 0.1 and 101.5

How the score works

Exploitation and evidence timeline

  1. 10 Jul 2025 Published
  2. 3 Dec 2026 Reference tagged as exploit first seen
  3. 3 Dec 2026 CISA SSVC: proof of concept first seen
  4. 3 Dec 2026 Risk 1.5 (cvss fallback)

Weakness

CWE-416

References

Get alerts for Red Hat Enterprise Linux

Free email or text alerts when a vulnerability in Red Hat Enterprise Linux reaches risk 8 or higher. Nothing else.