Infinispan circular object references causes out of memory errors
A flaw was found in Infinispan, which does not detect circular object references when unmarshalling. An authenticated attacker with sufficient permissions could insert a maliciously constructed object into the cache and use it to cause out of memory errors and achieve a denial of service.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.infinispan.protostream:protostream | < 4.6.2.Final | 4.6.2.Final |
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-5236
- https://github.com/infinispan/protostream/commit/4501b6b307a6bab545346f66238f8be7e42f83eb
- https://github.com/infinispan/protostream/commit/4ef66958f2c4890ae1c6a7acd629d27bd88aa4cb
- https://github.com/infinispan/protostream/commit/50320b5987dc87bc04b616b87e8cf93472ee19c1
- https://access.redhat.com/errata/RHSA-2023:5396
- https://access.redhat.com/security/cve/CVE-2023-5236
- https://bugzilla.redhat.com/show_bug.cgi?id=2240999
- https://github.com/infinispan/infinispan
- https://issues.redhat.com/browse/IPROTO-262
- https://issues.redhat.com/browse/IPROTO-263
- https://issues.redhat.com/browse/ISPN-14534
- https://security.netapp.com/advisory/ntap-20240125-0004
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H- Weakness (CWE)
CWE-1047- Platform
- Java / Kotlin (Maven)
- Package
org.infinispan.protostream:protostream- Disclosed
- 28.12.2023
- Updated
- 11.10.2026 13:20
Sources and licenses
OSV / GitHub Advisory Database - GHSA-488m-w9fp-5mm2 - CC BY 4.0
Vulnerability history: org.infinispan.protostream:protostream
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.