---
id: CVE-2023-3766
aliases:
  - RUSTSEC-2023-0095
  - GHSA-gpcv-p28p-fv2p
title: Invalid Slice Split Results in Server Panic
summary: 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 >= 0.0.0-0, < 1.0.2'
patched:
  - odoh-rs 1.0.2
published: '2023-08-03'
updated: '2026-10-12'
sourceUpdated: '2026-10-12T18:00:06.118088816Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/RUSTSEC-2023-0095'
references:
  - url: 'https://crates.io/crates/odoh-rs'
  - url: 'https://rustsec.org/advisories/RUSTSEC-2023-0095.html'
  - url: 'https://github.com/cloudflare/odoh-rs/pull/28'
  - url: 'https://github.com/cloudflare/odoh-rs/pull/28'
  - 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/commit/c1bc4ed71dcc9842b7dc1ea26f278f105074bbaa
  - url: 'https://github.com/cloudflare/odoh-rs'
tags:
  - osv
  - rust
epss: 0.00777
epssPercentile: 0.55613
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 >= 0.0.0-0, < 1.0.2`

## Remediation

Upgrade to a patched release:

- `odoh-rs 1.0.2`
