Open-source package vulnerability · Go
CVE-2026-32285: github.com/buger/jsonparser has a denial of service vulnerability
highCVSS 3.1 7.5GHSA-6g7g-w4f8-9c9x
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.
Published Mar 18, 2026 · Updated Apr 27, 2026
Affected packages
github.com/buger/jsonparser
- Ecosystem
- Go
- Affected
- <= 1.1.1
- Fixed in
- 1.1.2
- Check
go list -m github.com/buger/jsonparser
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to westonsteimel.
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
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
