---
id: CVE-2023-3766
aliases:
  - GHSA-gpcv-p28p-fv2p
  - RUSTSEC-2023-0095
title: odoh-rs's Invalid Slice Split Results in Server Panic
summary: odoh-rs's Invalid Slice Split Results in Server Panic
severity: medium
cvss: 5.9
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'
vendor: odoh-rs
product: odoh-rs
ecosystem: rust
affected:
  - odoh-rs < 1.0.2
patched:
  - odoh-rs 1.0.2
published: '2023-08-03'
updated: '2026-07-08'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-gpcv-p28p-fv2p'
references:
  - url: >-
      https://github.com/cloudflare/odoh-rs/security/advisories/GHSA-gpcv-p28p-fv2p
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2023-3766'
  - url: 'https://github.com/cloudflare/odoh-rs/pull/28'
  - url: >-
      https://github.com/cloudflare/odoh-rs/commit/c1bc4ed71dcc9842b7dc1ea26f278f105074bbaa
  - url: 'https://github.com/cloudflare/odoh-rs'
  - url: 'https://rustsec.org/advisories/RUSTSEC-2023-0095.html'
tags:
  - osv
  - rust
epss: 0.00777
epssPercentile: 0.54359
ingestedAt: '2026-07-09T18:56:37.303Z'
---

## Overview

A vulnerability was discovered in the odoh-rs rust crate that stems from faulty logic during the parsing of encrypted queries. This issue specifically occurs when processing encrypted query data received from remote clients.

### Impact
An attacker with knowledge of this vulnerability could craft and send specially designed encrypted queries to targeted ODOH servers running with odoh-rs. Upon successful exploitation, the server will crash abruptly, disrupting its normal operation and rendering the service temporarily unavailable.

### Patches
Users are encouraged to update their odoh-rs's rust crate to v1.0.2.

## Affected packages

- `odoh-rs < 1.0.2`

## Remediation

Upgrade to a patched release:

- `odoh-rs 1.0.2`
