# Memory Corruption vulnerability in SAP CommonCryptoLib

CVE record · `CVE-2023-40308`

- **Identifiers:** `CVE-2023-40308`
- **State:** Confirmed
- **Severity:** CVSS 7.5 High
- **Critical:** No
- **CNA:** sap
- **Weakness (CWE):** [CWE-787](https://cwe.mitre.org/data/definitions/787.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [SAP_SE SAP CommonCryptoLib](https://agentprime.io/advisories/technology/sap-se-sap-commoncryptolib.md) · [SAP_SE SAP NetWeaver AS ABAP, SAP NetWeaver AS Java and ABAP Platform of S/4HANA on-premise](https://agentprime.io/advisories/technology/sap-se-sap-netweaver-as-abap-sap-netweaver-as-java-and-abap-platform-of-s-4hana.md) · [SAP_SE SAP Web Dispatcher](https://agentprime.io/advisories/technology/sap-se-sap-web-dispatcher.md) · [SAP_SE SAP Content Server](https://agentprime.io/advisories/technology/sap-se-sap-content-server.md) · [SAP_SE SAP HANA Database](https://agentprime.io/advisories/technology/sap-se-sap-hana-database.md) · [SAP_SE SAP Host Agent](https://agentprime.io/advisories/technology/sap-se-sap-host-agent.md) · [SAP_SE SAP Extended Application Services and Runtime (XSA)](https://agentprime.io/advisories/technology/sap-se-sap-extended-application-services-and-runtime-xsa.md) · [SAP_SE SAPSSOEXT](https://agentprime.io/advisories/technology/sap-se-sapssoext.md)
- **Published:** 12 Sept 2023
- **Updated:** 26 Sept 2024
- **Reviewed by a person:** No

Published by the CVE Program (CNA: sap) at 12 Sept 2023, 01:21 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: SAP_SE. Product: SAP CommonCryptoLib.
  - affected: `8`
  - Other versions: unaffected
- Vendor: SAP_SE. Product: SAP NetWeaver AS ABAP, SAP NetWeaver AS Java and ABAP Platform of S/4HANA on-premise.
  - affected: `KERNEL 7.22`
  - affected: `KERNEL 7.53`
  - affected: `KERNEL 7.54`
  - affected: `KERNEL 7.77`
  - affected: `KERNEL 7.85`
  - affected: `KERNEL 7.89`
  - affected: `KERNEL 7.91`
  - affected: `KERNEL 7.92`
  - affected: `KERNEL 7.93`
  - affected: `KERNEL 8.04`
  - affected: `KERNEL64UC 7.22`
  - affected: `KERNEL64UC 7.22EXT`
  - and 4 more
  - Other versions: unaffected
  - Package name: `KERNEL`
- Vendor: SAP_SE. Product: SAP Web Dispatcher.
  - affected: `7.22EXT`
  - affected: `7.53`
  - affected: `7.54`
  - affected: `7.77`
  - affected: `7.85`
  - affected: `7.89`
  - Other versions: unaffected
- Vendor: SAP_SE. Product: SAP Content Server.
  - affected: `6.50`
  - affected: `7.53`
  - affected: `7.54`
  - Other versions: unaffected
- Vendor: SAP_SE. Product: SAP HANA Database.
  - affected: `2.00`
  - Other versions: unaffected
- Vendor: SAP_SE. Product: SAP Host Agent.
  - affected: `722`
  - Other versions: unaffected
- Vendor: SAP_SE. Product: SAP Extended Application Services and Runtime (XSA).
  - affected: `SAP_EXTENDED_APP_SERVICES 1`
  - affected: `XS_ADVANCED_RUNTIME 1.00`
  - Other versions: unaffected
- Vendor: SAP_SE. Product: SAPSSOEXT.
  - affected: `17`
  - Other versions: unaffected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 7.5 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`, from CNA (sap)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0075, the 55th percentile, on 6 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 12 Sept 2023. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2023-40308](https://www.cve.org/CVERecord?id=CVE-2023-40308)
- [NVD: CVE-2023-40308](https://nvd.nist.gov/vuln/detail/CVE-2023-40308)

### References from the CNA

- <https://me.sap.com/notes/3327896>
- <https://www.sap.com/documents/2022/02/fa865ea4-167e-0010-bca6-c68f7e60039b.html>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2023-40308>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2023-40308/>. Everything for agents: <https://agentprime.io/llms.txt>.
