CVE-2025-66033: Improper Memory Cleanup in the Okta Java SDK
Description In the Okta Java SDK, specific multithreaded implementations may encounter memory issues as threads are not properly cleaned up after requests are completed. Over time, this can degrade performance and availability in long-running applications and may result in a denial-of-service condition under sustained load.
Published Dec 10, 2025 · Updated Dec 11, 2025
Affected packages
com.okta.sdk:okta-sdk-root
- Ecosystem
- Maven
- Affected
- >= 21.0.0, <= 24.0.0
- Fixed in
- 24.0.1
- Check
mvn dependency:tree -Dincludes=com.okta.sdk:okta-sdk-root
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Description
In the Okta Java SDK, specific multithreaded implementations may encounter memory issues as threads are not properly cleaned up after requests are completed. Over time, this can degrade performance and availability in long-running applications and may result in a denial-of-service condition under sustained load.
Affected product and versions
You may be affected by this vulnerability if you meet the following preconditions:
- Using the Okta Java SDK between versions 21.0.0 and 24.0.0, and
- Implementing a long-running application using the ApiClient in a multi-threaded manner.
Resolution
Upgrade Okta/okta-sdk-java to versions 24.0.1 or greater.
Acknowledgement
Okta would like to thank Andrew Pikler (pyckle) for their discovery and responsible disclosure.
Credited to pyckle.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
