{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-59043","id":"CVE-2025-59043","title":"OpenBao vulnerable to denial of service via malicious JSON request processing","description":"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 use","descriptionLong":"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":"2025-10-17T16:03:23.584Z","updated":"2026-10-28T02:30:43.029677889Z","reserved":"2025-09-08T16:19:26.171Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["openbao"],"affectedProducts":[{"vendor":"openbao","product":"openbao","defaultStatus":null,"versions":[{"version":"< 2.4.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/openbao/openbao","purl":"pkg:golang/github.com/openbao/openbao","ranges":["<2.4.1","all versions"],"fixed":["2.4.1"],"advisory":"GHSA-g46h-2rq9-gw5m"}],"cwes":["CWE-400"],"aliases":["BIT-openbao-2025-59043","GHSA-g46h-2rq9-gw5m","GO-2025-4039"],"references":[{"url":"https://github.com/openbao/openbao/security/advisories/GHSA-g46h-2rq9-gw5m","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory","web"]},{"url":"https://github.com/openbao/openbao/pull/1756","tags":["x_refsource_MISC","Issue Tracking","fix","web"]},{"url":"https://github.com/openbao/openbao/commit/d418f238bc99adc72c73109faf574cc2b672880c","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/openbao/openbao/blob/788536bd3e10818a7b4fb00aac6affc23388e5a9/http/logical.go#L50","tags":["x_refsource_MISC","Product","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59043.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-59043","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6203","tags":["advisory","web"]},{"url":"https://discuss.hashicorp.com/t/hcsec-2025-24-vault-denial-of-service-though-complex-json-payloads/76393","tags":["web"]},{"url":"https://github.com/openbao/openbao","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00688,"epssPercentile":0.53489,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-59043","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-59043","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-59043","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-g46h-2rq9-gw5m","ok":true,"note":"GHSA-g46h-2rq9-gw5m"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-59043","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}