---
id: CVE-2024-23684
title: >-
  Inefficient algorithmic complexity in DecodeFromBytes function in
  com.upokecenter.cbor Java implementation of Concise Binary Object
  Representation (CBOR) versions 4.0.0 to 4.5.1 allows an attacker to cause a
  denial of service by passing …
summary: >-
  Inefficient algorithmic complexity in DecodeFromBytes function in
  com.upokecenter.cbor Java implementation of Concise Binary Object
  Representation (CBOR) versions 4.0.0 to 4.5.1 allows an attacker to cause a
  denial of service by passing …
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-407
  - CWE-407
vendor: peteroupc
product: cbor
affected:
  - 'cbor >= 4.0.0, < 4.5.1'
patched:
  - cbor 4.5.1
published: '2024-01-19'
updated: '2026-07-14'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-23684'
references:
  - url: 'https://github.com/advisories/GHSA-fj2w-wfgv-mwq6'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/peteroupc/CBOR-Java/security/advisories/GHSA-fj2w-wfgv-mwq6
    label: disclosure@vulncheck.com
  - url: 'https://vulncheck.com/advisories/vc-advisory-GHSA-fj2w-wfgv-mwq6'
    label: disclosure@vulncheck.com
  - url: 'https://github.com/advisories/GHSA-fj2w-wfgv-mwq6'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://github.com/peteroupc/CBOR-Java/security/advisories/GHSA-fj2w-wfgv-mwq6
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://vulncheck.com/advisories/vc-advisory-GHSA-fj2w-wfgv-mwq6'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.0092
epssPercentile: 0.58563
ingestedAt: '2026-07-14T23:40:04.926Z'
---

## Overview

Inefficient algorithmic complexity in DecodeFromBytes function in com.upokecenter.cbor Java implementation of Concise Binary Object Representation (CBOR) versions 4.0.0 to 4.5.1 allows an attacker to cause a denial of service by passing a maliciously crafted input. Depending on an application's use of this library, this may be a remote attacker.

## Affected

- `cbor >= 4.0.0, < 4.5.1`

## Remediation

Upgrade past the affected range:

- `cbor 4.5.1`
