CVE-2025-7425
Apple Safari vulnerability analysis and mitigation

Overview

CVE-2025-7425 is a Use-After-Free vulnerability discovered in libxslt, disclosed on July 10, 2025. The vulnerability affects the libxslt package, which is commonly used in server-side XML processing. The flaw was identified when attribute type (atype) flags are modified in a way that corrupts internal memory management (NVD, Red Hat XML).

Technical details

The vulnerability occurs when xsltSetSourceNodeFlags() sets extra flag bits on xmlAttrPtr->atype, a field later used by libxml2 to check whether an attribute is an XML ID. This corruption can cause libxml2 to skip cleanup steps like xmlRemoveID() during memory deallocation. The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (High), with the vector string CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:H. The flaw is classified as CWE-416 (Use After Free) (Red Hat Bugzilla, Snyk).

Impact

The vulnerability can lead to memory corruption and application crashes. Since libxslt is commonly used in server-side XML processing, this could result in denial-of-service or potentially facilitate code execution under certain memory reuse conditions. The system may access freed memory, causing crashes or enabling attackers to trigger heap corruption (Red Hat XML).

Mitigation and workarounds

According to Red Hat, mitigation for this issue is either not available or the currently available options do not meet their Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability (Red Hat XML).

Community reactions

Red Hat has acknowledged the vulnerability and credited Sergei Glazunov from Google Project Zero for reporting this issue (Red Hat XML).

Additional resources


SourceThis report was generated using AI

Related Apple Safari vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-43227HIGH7.5
  • Apple SafariApple Safari
  • webkitgtk6.0-devel-debuginfo
NoYesJul 30, 2025
CVE-2025-43240MEDIUM6.2
  • Apple SafariApple Safari
  • webkitgtk4-plugin-process-gtk2
NoYesJul 30, 2025
CVE-2025-43229MEDIUM6.1
  • Apple SafariApple Safari
  • cpe:2.3:a:apple:safari
NoYesJul 30, 2025
CVE-2025-43228MEDIUM4.3
  • Apple SafariApple Safari
  • libwebkit2gtk-4_1-0
NoYesJul 30, 2025
CVE-2025-43265MEDIUM4
  • Apple SafariApple Safari
  • libjavascriptcoregtk-6_0-1
NoYesJul 30, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management