buger/jsonparser · Security
github.com/buger/jsonparser has a denial of service vulnerability
- GHSA ID
- GHSA-6g7g-w4f8-9c9x
- CVE ID
- CVE-2026-32285
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Description
The Delete function fails to properly validate offsets when processing malformed JSON input. This can lead to a negative slice index and a runtime panic, allowing a denial of service attack.
CWEs
- CWE-125 · Out-of-bounds Read
- CWE-129 · Improper Validation of Array Index
References
- https://github.com/buger/jsonparser/issues/275 ↗
- https://github.com/golang/vulndb/issues/4514 ↗
- https://github.com/buger/jsonparser/pull/276 ↗
- https://github.com/buger/jsonparser/commit/a69e7e01cd4ad67bdfd3ac2c080b9212af16f4b0 ↗
- https://github.com/buger/jsonparser/releases/tag/v1.1.2 ↗
- https://nvd.nist.gov/vuln/detail/CVE-2026-32285 ↗
- https://pkg.go.dev/vuln/GO-2026-4514 ↗
- https://securityinfinity.com/research/buger-jsonparser-negative-slice-panic-dos-2026 ↗
- https://github.com/advisories/GHSA-6g7g-w4f8-9c9x ↗