Resource exhaustion in Openbao
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.
Vulnerability class: DoS (Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.007 (50.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 51st percentile — 50.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.006 · newest: 0.007 · change: +0.000
Affected products
- Openbao — versions < 2.4.1
Weakness classification (CWE)
References
- github.com/openbao/openbao/security/advisories/GHSA-g46h-2rq9-gw5m (Vendor Advisory)
- github.com/openbao/openbao/pull/1756 (Issue Tracking)
- github.com/openbao/openbao/commit/d418f238bc99adc72c73109faf574cc2b672880c (Patch)
- github.com/openbao/openbao/blob/788536bd3e10818a7b4fb00aac6affc23388e5a9/http/l… (Product)
Frequently asked questions
- What is CVE-2025-59043?
- CVE-2025-59043 is a high-severity vulnerability in Openbao, classified under Uncontrolled Resource Consumption. CVSS score: 7.5/10. Published 2025-10-17.
- How severe is CVE-2025-59043?
- High severity. CVSS v3 base score is 7.5 out of 10.