All reports
Medium

abseil-cpp: Heap Buffer overflow in Abseil

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-0838

Probability of exploitation in the next 30 days: 0.63%

FIRST EPSS · 2026-11-19

Description

There exists a heap buffer overflow vulnerable in Abseil-cpp. The sized constructors, reserve(), and rehash() methods of absl::{flat,node}hash{set,map} did not impose an upper bound on their size argument. As a result, it was possible for a caller to pass a very large size that would cause an integer overflow when computing the size of the container's backing store, and a subsequent out-of-bounds memory write. Subsequent accesses to the container might also access out-of-bounds memory. We recommend upgrading past commit 5a0e2cb5e3958dd90bb8569a2766622cb74d90c1

A flaw was found in Abseil-cpp. This vulnerability allows an attacker to cause an out-of-bounds memory write and potential subsequent out-of-bounds memory access via passing a very large size argument to sized constructors, leading to a heap buffer overflow.