{"id":"CVE-2025-59043","published":"2025-10-17T16:03:23Z","modified":"2025-10-17T17:22:52Z","title":"OpenBao vulnerable to denial of service via malicious JSON request processing","vendor":"openbao","product":"openbao","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00688,"percentile":0.53631,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/openbao/openbao/security/advisories/GHSA-g46h-2rq9-gw5m","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/openbao/openbao/pull/1756","tags":["x_refsource_MISC"]},{"url":"https://github.com/openbao/openbao/commit/d418f238bc99adc72c73109faf574cc2b672880c","tags":["x_refsource_MISC"]},{"url":"https://github.com/openbao/openbao/blob/788536bd3e10818a7b4fb00aac6affc23388e5a9/http/logical.go#L50","tags":["x_refsource_MISC"]}],"priority":{"score":16.0,"factors":[{"name":"EPSS percentile","points":10.73},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"openbao","affectedVersions":[{"vendor":"openbao","product":"openbao","versions":["< 2.4.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-10-17T17:22:38.221939Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/openbao/openbao","vulnerableRanges":["<2.4.1","all versions"],"patched":["2.4.1"],"from":["GHSA-g46h-2rq9-gw5m","GO-2025-4039"],"provenance":"source"}],"summary":{"text":"OpenBao, an open source identity-based secrets management system, contains a flaw in its JSON request handling, where decoded JSON objects can consume far more memory than their serialized form, enabling resource exhaustion. An unauthenticated remote attacker can send a crafted JSON request over the network, with no user interaction or special configuration required, to trigger an out-of-memory crash, bypassing the max_request_size protection because the body is parsed before authentication.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:26:10Z"},"euvd":{"id":"EUVD-2025-34895","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-openbao-cve-2025-52894","parents":[{"from":"CVE-2025-6203","to":"CVE-2025-59043","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-g46h-2rq9-gw5m","via":"reference","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6203"},{"kind":"osv-related","provenance":"source","id":"GO-2025-4039","via":"reference","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6203"}]},{"from":"CVE-2025-52894","to":"CVE-2025-59043","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["http/handler.go","internalshared/configutil/listener.go"],"commits":["https://github.com/openbao/openbao/commit/fe75468822a22a88318c6079425357a02ae5b77b","https://github.com/openbao/openbao/commit/d418f238bc99adc72c73109faf574cc2b672880c"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2025-55000","published":"2025-08-09","fixed":"2.3.2","kev":false},{"cve":"CVE-2025-55001","published":"2025-08-09","fixed":"2.3.2","kev":false},{"cve":"CVE-2025-55003","published":"2025-08-09","fixed":"2.3.2","kev":false},{"cve":"CVE-2025-59043","published":"2025-10-17","fixed":"2.4.1","kev":false},{"cve":"CVE-2025-64761","published":"2025-11-25","fixed":"2.4.4","kev":false,"link":{"from":"CVE-2025-59043","to":"CVE-2025-64761","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/openbao/openbao","fromFixed":"2.4.1","toFixed":"2.4.4","daysApart":39}]}},{"cve":"CVE-2026-45808","published":"2026-08-07","fixed":"2.5.4","kev":false},{"cve":"CVE-2026-46358","published":"2026-08-07","fixed":"2.5.4","kev":false}],"package":"Go:github.com/openbao/openbao"}}