CVE-2025-59043
OpenBao is an open source identity-based secrets management system. In OpenBao versions prior to 2.4.1, JSON objects after decoding may use significantly more memory than their serialized version. It is possible to craft a JSON payload to maximize the factor between serialized memory usage and deserialized memory usage, similar to a zip bomb, with factors reaching approximately 35. This can be used to circumvent the max_request_size configuration parameter which is intended to protect against denial of service attacks. The request body is parsed into a map very early in the request handling chain before authentication, which means an unauthenticated attacker can send a specifically crafted JSON object and cause an out-of-memory crash. Additionally, for requests with large numbers of strings, the audit subsystem can consume large quantities of CPU. The vulnerability is fixed in version 2.4.1.
EPSS 0.16% · 36.8th percentile
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| github.com | openbao/openbao | 0 |
| openbao | openbao | < 2.4.1, 0 |
Exploit Intelligence
- https://github.com/openbao/openbao/security/advisories/GHSA-g46h-2rq9-gw5m (circl)
- https://github.com/openbao/openbao/pull/1756 (circl)
- https://github.com/openbao/openbao/commit/d418f238bc99adc72c73109faf574cc2b672880c (circl)
- https://github.com/openbao/openbao/blob/788536bd3e10818a7b4fb00aac6affc23388e5a9/http/logical.go#L50 (circl)
Timeline
- Jan 21, 1970 Security Advisory
- Oct 17, 2025 CVE Published
- Oct 17, 2025 Coalition ESS Score
- Oct 18, 2025 EPSS Score
- Oct 24, 2025 EPSS Score
- Oct 30, 2025 EPSS Score
- Nov 5, 2025 EPSS Score
- Nov 11, 2025 EPSS Score
- Nov 17, 2025 EPSS Score
- Nov 23, 2025 EPSS Score
- Nov 29, 2025 EPSS Score
- Dec 1, 2025 Coalition ESS Score
References
- https://github.com/openbao/openbao/security/advisories/GHSA-g46h-2rq9-gw5m url
- https://github.com/openbao/openbao/pull/1756 url
- https://github.com/openbao/openbao/commit/d418f238bc99adc72c73109faf574cc2b672880c url
- https://github.com/openbao/openbao/blob/788536bd3e10818a7b4fb00aac6affc23388e5a9/http/logical.go#L50 url
- https://nvd.nist.gov/vuln/detail/CVE-2025-59043 advisory
- https://nvd.nist.gov/vuln/detail/CVE-2025-6203 advisory
- https://discuss.hashicorp.com/t/hcsec-2025-24-vault-denial-of-service-though-complex-json-payloads/76393 url
- https://github.com/openbao/openbao package