Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/buger/jsonparser
  4. ›
  5. GHSA-6g7g-w4f8-9c9x

GHSA-6g7g-w4f8-9c9x: Denial of service in github.com/buger/jsonparser

March 18, 2026 (updated March 19, 2026)

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.

References

  • cyber.securityinfinity.com/buger-jsonparser-negative-slice-panic-dos-2026
  • github.com/advisories/GHSA-6g7g-w4f8-9c9x
  • github.com/buger/jsonparser
  • github.com/buger/jsonparser/commit/a69e7e01cd4ad67bdfd3ac2c080b9212af16f4b0
  • github.com/buger/jsonparser/issues/275
  • github.com/buger/jsonparser/pull/276
  • github.com/buger/jsonparser/releases/tag/v1.1.2
  • github.com/golang/vulndb/issues/4514

Code Behaviors & Features

Detect and mitigate GHSA-6g7g-w4f8-9c9x with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.1.2

Fixed versions

  • 1.1.2

Solution

Upgrade to version 1.1.2 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-125: Out-of-bounds Read

Source file

go/github.com/buger/jsonparser/GHSA-6g7g-w4f8-9c9x.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:08 +0000.