CVE-2025-59043
HIGH 7.5CVSS 3.1OpenBao has potential Denial of Service vulnerability when processing malicious unauthenticated JSON requests
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.
- Published
- 17 Oct 2025
- Last modified
- 19 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-400
- Also known as
- BIT-openbao-2025-59043GHSA-g46h-2rq9-gw5mGO-2025-4039
- Sources
- NVDJSONOSV GHSA-g46h-2rq9-gw5mJSONOSV GO-2025-4039JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openbao | openbaocpe:2.3:a:openbao:openbao:*:*:*:*:*:*:*:* |
< 2.4.1 | 2.4.1 |
| OSV | Go | github.com/openbao/openbao | < 2.4.1 | 2.4.1 |
| OSV | Go | github.com/openbao/openbao | all versions |
References
- https://github.com/openbao/openbao/blob/788536bd3e10818a7b4fb00aac6affc23388e5a9/http/logical.go#L50 · Product, WEB
- https://github.com/openbao/openbao/commit/d418f238bc99adc72c73109faf574cc2b672880c · Patch, WEB, FIX
- https://github.com/openbao/openbao/pull/1756 · Issue Tracking, WEB, FIX
- https://github.com/openbao/openbao/security/advisories/GHSA-g46h-2rq9-gw5m · Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2025-59043 · ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2025-6203 · ADVISORY, WEB
- https://discuss.hashicorp.com/t/hcsec-2025-24-vault-denial-of-service-though-complex-json-payloads/76393 · WEB
- https://github.com/openbao/openbao · PACKAGE
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 17 Oct 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 30 Oct 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 17 Oct 2025)