SAP CommonCryptoLib MemCrc via ASN1 PreAuth Parsing
CVE-2025-42940 Published on November 11, 2025
Memory Corruption vulnerability in SAP CommonCryptoLib
SAP CommonCryptoLib does not perform necessary boundary checks during pre-authentication parsing of manipulated ASN.1 data over the network. This may result in memory corruption followed by an application crash, hence leading to a high impact on availability. There is no impact on confidentiality or integrity.
Vulnerability Analysis
CVE-2025-42940 is exploitable with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity, and a high impact on availability.
Weakness Type
What is a Memory Corruption Vulnerability?
The software writes data past the end, or before the beginning, of the intended buffer. Typically, this can result in corruption of data, a crash, or code execution. The software may modify an index or perform pointer arithmetic that references a memory location that is outside of the boundaries of the buffer. A subsequent write operation then produces undefined or unexpected results.
CVE-2025-42940 has been classified to as a Memory Corruption vulnerability or weakness.
Products Associated with CVE-2025-42940
Want to know whenever a new CVE is published for SAP Commoncryptolib? stack.watch will email you.
Affected Versions
SAP_SE SAP CommonCryptoLib Version CRYPTOLIB 8 is affected by CVE-2025-42940Exploit 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.