Heap-based Buffer Overflow Affecting arenavec package, versions >=0.0.0


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-ARENAVEC-12485339
  • published4 Sept 2025
  • disclosed2 Sept 2025
  • creditUnknown

Introduced: 2 Sep 2025

New CVE NOT AVAILABLE CWE-122  (opens in a new tab)

How to fix?

There is no fixed version for arenavec.

Overview

arenavec is an An arena backed implementation of vectors and related types.

Affected versions of this package are vulnerable to Heap-based Buffer Overflow via the arenavec::common::AllocHandle, which allows the return of raw pointers through its methods allocate and allocate_or_extend. An attacker can achieve arbitrary memory access, cause a heap buffer overflow, or trigger a double free by exploiting unsafe handling of raw pointers, mismatches between allocated memory and capacity, or duplicated ownership of heap memory.

CVSS Base Scores

version 4.0
version 3.1