---
id: CVE-2026-32285
title: >-
  The Delete function fails to properly validate offsets when processing
  malformed JSON input
summary: >-
  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.
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-129
  - CWE-1285
  - CWE-125
vendor: jsonparser_project
product: jsonparser
affected:
  - jsonparser < 1.1.2
patched:
  - jsonparser 1.1.2
published: '2026-03-26'
updated: '2026-09-09'
sourceUpdated: '2026-09-09T13:19:17.090'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-32285'
references:
  - url: 'https://github.com/buger/jsonparser/issues/275'
    label: security@golang.org
  - url: 'https://github.com/golang/vulndb/issues/4514'
    label: security@golang.org
  - url: 'https://pkg.go.dev/vuln/GO-2026-4514'
    label: security@golang.org
  - url: 'https://access.redhat.com/errata/RHSA-2026:13548'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:17121'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:17123'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:19099'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:21769'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:22347'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:22423'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:23345'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:34364'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:35111'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:36882'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:61314'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:7191'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:9385'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/security/cve/CVE-2026-32285'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2451846'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32285.json
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: >-
      https://securityinfinity.com/research/buger-jsonparser-negative-slice-panic-dos-2026
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-32285'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-32285'
  - url: 'https://github.com/buger/jsonparser/pull/276'
  - url: >-
      https://github.com/buger/jsonparser/commit/a69e7e01cd4ad67bdfd3ac2c080b9212af16f4b0
  - url: 'https://github.com/buger/jsonparser'
  - url: 'https://github.com/buger/jsonparser/releases/tag/v1.1.2'
tags:
  - nvd
  - cve.org
  - exploit-available
  - csaf
  - vex
  - red-hat
  - osv
  - go
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-03-30T14:05:55.547828Z'
epss: 0.0075
epssPercentile: 0.53501
ingestedAt: '2026-07-02T12:34:40.390Z'
aliases:
  - GHSA-6g7g-w4f8-9c9x
  - GO-2026-4514
ecosystem: go
---

## Overview

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.

## Affected

- `jsonparser < 1.1.2`

## Remediation

Upgrade past the affected range:

- `jsonparser 1.1.2`

## Vendor advisories

- **RHSA-2026:61314** · Red Hat · fixed in: Cluster Observability Operator 1.5.0 · released 2026-08-31 · [advisory](https://access.redhat.com/errata/RHSA-2026:61314)
- **RHSA-2026:34364** · Red Hat · fixed in: Logging for Red Hat OpenShift 6.4 · released 2026-07-01 · [advisory](https://access.redhat.com/errata/RHSA-2026:34364)
- **RHSA-2026:22423** · Red Hat · fixed in: Multicluster Global Hub 1.3.4 · released 2026-06-02 · [advisory](https://access.redhat.com/errata/RHSA-2026:22423)
- **RHSA-2026:22347** · Red Hat · fixed in: Multicluster Global Hub 1.4.5 · released 2026-06-01 · [advisory](https://access.redhat.com/errata/RHSA-2026:22347)
- **RHSA-2026:23345** · Red Hat · fixed in: Multicluster Global Hub 1.6.5 · released 2026-06-04 · [advisory](https://access.redhat.com/errata/RHSA-2026:23345)
- **RHSA-2026:36882** · Red Hat · fixed in: Red Hat Advanced Cluster Management for Kubernetes 2.14 · released 2026-07-08 · [advisory](https://access.redhat.com/errata/RHSA-2026:36882)
- **RHSA-2026:13548** · Red Hat · fixed in: Red Hat Advanced Cluster Management for Kubernetes 2.15 · released 2026-05-04 · [advisory](https://access.redhat.com/errata/RHSA-2026:13548)
- **RHSA-2026:7191** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-04-09 · [advisory](https://access.redhat.com/errata/RHSA-2026:7191)
- **RHSA-2026:35111** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-07-02 · [advisory](https://access.redhat.com/errata/RHSA-2026:35111)
- **RHSA-2026:9385** · Red Hat · fixed in: Red Hat OpenShift distributed tracing 3.9.3 · released 2026-04-21 · [advisory](https://access.redhat.com/errata/RHSA-2026:9385)
- **RHSA-2026:21769** · Red Hat · fixed in: Red Hat multicluster global hub 1.5.3 · released 2026-05-28 · [advisory](https://access.redhat.com/errata/RHSA-2026:21769)
- **Red Hat VEX** · Important · affected: Logging Subsystem for Red Hat OpenShift, Red Hat OpenShift GitOps · no fix planned: Logging Subsystem for Red Hat OpenShift, Red Hat OpenShift GitOps · updated 2026-09-21 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32285.json)

## Package advisory (CVE-2026-32285)

Affected packages:

- `github.com/buger/jsonparser < 1.1.2`

Patched in:

- `github.com/buger/jsonparser 1.1.2`

Source: https://osv.dev/vulnerability/GHSA-6g7g-w4f8-9c9x
