libxslt Heap Corruption via atype Flag Manipulation
CVE-2025-7425 Published on July 10, 2025
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.
Vulnerability Analysis
CVE-2025-7425 can be exploited with local system access, and does not require authorization privileges or user interaction. This vulnerability is consided to have a high level of attack complexity. Public availability of a proof of concept (POC) exploit exists for CVE-2025-7425. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality, a high impact on integrity and availability.
Weakness Type
What is a Dangling pointer Vulnerability?
Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code.
CVE-2025-7425 has been classified to as a Dangling pointer vulnerability or weakness.
Products Associated with CVE-2025-7425
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2025-7425 are published in these products:
Affected Versions
GNOME libxml2:- Before 2.15.2 is affected.
- Version 0:2.9.1-6.el7_9.12 and below * is unaffected.
- Version 0:2.9.7-21.el8_10.2 and below * is unaffected.
- Version 0:2.9.7-21.el8_10.2 and below * is unaffected.
- Version 0:2.9.7-9.el8_2.4 and below * is unaffected.
- Version 0:2.9.7-9.el8_4.7 and below * is unaffected.
- Version 0:2.9.7-9.el8_4.7 and below * is unaffected.
- Version 0:2.9.7-13.el8_6.11 and below * is unaffected.
- Version 0:2.9.7-13.el8_6.11 and below * is unaffected.
- Version 0:2.9.7-13.el8_6.11 and below * is unaffected.
- Version 0:2.9.7-16.el8_8.10 and below * is unaffected.
- Version 0:2.9.7-16.el8_8.10 and below * is unaffected.
- Version 0:2.9.13-11.el9_6 and below * is unaffected.
- Version 0:2.9.13-11.el9_6 and below * is unaffected.
- Version 0:2.9.13-1.el9_0.6 and below * is unaffected.
- Version 0:2.9.13-3.el9_2.8 and below * is unaffected.
- Version 0:2.9.13-11.el9_4 and below * is unaffected.
- Version 412.86.202509030110-0 and below * is unaffected.
- Version 413.92.202509030117-0 and below * is unaffected.
- Version 414.92.202508270040-0 and below * is unaffected.
- Version 415.92.202508192014-0 and below * is unaffected.
- Version 416.94.202508261955-0 and below * is unaffected.
- Version 417.94.202508141510-0 and below * is unaffected.
- Version 418.94.202508261658-0 and below * is unaffected.
- Version 4.19.9.6.202508271124-0 and below * is unaffected.
- Version 1.11-19 and below * is unaffected.
- Version 1.11-8 and below * is unaffected.
- Version 1.12-4 and below * is unaffected.
- Version 1.36.0-11 and below * is unaffected.
- Version 1.36.0-11 and below * is unaffected.
- Version 1.36.0-11 and below * is unaffected.
- Version 1.36.0-10 and below * is unaffected.
- Version 1.36.0-10 and below * is unaffected.
- Version 1.36.0-4 and below * is unaffected.
- Version 1.36.0-9 and below * is unaffected.
- Version 1.36.0-12 and below * is unaffected.
- Version 1.36.0-18 and below * is unaffected.
- Version 1.36.0-11 and below * is unaffected.
- Version 1.36.0-7 and below * is unaffected.
- Version sha256:1abdfac084e7c86e7a93a19e5cf6b54db79b903bfb7474a42200f753b29eda4b and below * is unaffected.
- Version sha256:6ab41bd207ae7e33f29adc87e208366472654bb5fb9b1854234cc5674ecc169e and below * is unaffected.
- Version sha256:8294e4b1b531457282270c375f4045ea2baf20a0a8a637006364096a9dec3c41 and below * is unaffected.
- Version sha256:0903a7a5c857d96c84fd022e5785514eff201047e2fdd5d6699d79f17440ef02 and below * is unaffected.
- Version sha256:86d2378dea6c26da92e19e1a8dc9c9fb0fa8587fd60f83e6cc4503153e753db9 and below * is unaffected.
- Version sha256:ad07f55ee75fb20310c88f154a04665bd8465d138d66c665c300f61447858344 and below * is unaffected.
- Version sha256:c26d589f12647890b67aaa986f54d3f7c6f7f2563fb5a73f38d559e6138739d7 and below * is unaffected.
- Version sha256:2a359b16651cf20b9e37faabc6f57753744c59103979670260e263df2857da47 and below * is unaffected.
- Version sha256:1ed7ca9ba1fe229bb04b4b59b0a7161286786c025d5dbe688d3e68e0af85945b and below * is unaffected.
- Version sha256:593c9e2656e624b444bd45740c6e556c06137ab6cf7aaa0387799b10669b74e9 and below * is unaffected.
- Version sha256:783a10c95edcb5c5cb8394b796f27dbfbb5ac6e1ee3baaa27d6c43f411ad6045 and below * is unaffected.
- Version sha256:39b2d56b8f0eb3b539697fc387ae84230182c7e8cf5c184b8ee6c02e29386120 and below * is unaffected.
- Version sha256:453d643c17511e3e981706e5ba5b88ee8df3334dc38232ecb2069f67e269cc8b and below * is unaffected.
- Version sha256:264613b2add0f32e5f537ee7cf9ba8019e5e9a347fdf20bc3de8d1678157ba66 and below * is unaffected.
- Version sha256:2509c7cc0bdf6d001442d2e83e21925b09a59c4b05eef81e98af93327f6f6c6d and below * is unaffected.
- Version sha256:f61bf9363bf43e6e6f0156d1c2eeeecef927a46e0940062429a47a058da057ab and below * is unaffected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.