# CVE-2023-22460: GO-2023-1269 - Panic in encoding in github.com/ipld/go-ipld-prime

Source: https://junglewise.ai/threats/cve-2023-22460-go-ipld-prime-codec-json-may-panic-if-asked-to-encode-bytes  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-01-18  
License: CC BY 4.0 with a link back

CVE-2023-22460 · Severity: low · CVSS 3.1 · Published 2023-01-18

Panic in encoding in github.com/ipld/go-ipld-prime

Technologies: [github.com/ipld/go-ipld-prime (Go)](https://junglewise.ai/threats/technologies/github-com-ipld-go-ipld-prime). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2023-22460 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-22460 being exploited in the wild.

**How severe is CVE-2023-22460?** Low severity, with a CVSS score of 3.1, published 18 January 2023.

**Which products and versions are affected?** github.com/ipld/go-ipld-prime (Go) SEMVER:introduced=0,fixed=0.19.0.

**Is there a fix for CVE-2023-22460?** Yes. github.com/ipld/go-ipld-prime (Go): upgrade to 0.19.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-22460?** Check whether you run github.com/ipld/go-ipld-prime (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/ipld/go-ipld-prime (Go): upgrade to 0.19.0 or later

  ```sh
  go get github.com/ipld/go-ipld-prime@v0.19.0
  ```


## Affected products

- github.com/ipld/go-ipld-prime (Go) SEMVER:introduced=0,fixed=0.19.0

## Identifiers

- CVE-2023-22460
- GHSA-c653-6hhg-9x92
- GO-2023-1269

## Related threats

- [IPLD go-ipld-prime uncontrolled recursion in DAG-CBOR and DAG-JSON decoders](https://junglewise.ai/threats/cve-2026-42328-ipld-go-ipld-prime-uncontrolled-recursion-in-dag-cbor-and-dag)
- [GO-2026-5073 - DAG-CBOR decoder unbounded memory allocation from CBOR headers in github.com/ipld/go-ipld-prime](https://junglewise.ai/threats/cve-2026-35480-go-ipld-prime-dag-cbor-decoder-unbounded-memory-allocation-from)
