CVE-2025-0838

published 21 Feb 2025 · updated 5 Apr 2025

Heap Buffer overflow in Abseil

5.9MediumCVSS 5.9EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 5a0e2cb5e3958dd90bb8569a2766622cb74d90c1.

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

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
abseil<5a0e2cb5e3958dd90bb8569a2766622cb74d90c15a0e2cb5e3958dd90bb8569a2766622cb74d90c1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-0838 severity on Zeptric[![CVE-2025-0838](https://zeptric.io/badge/cve/CVE-2025-0838.svg)](https://zeptric.io/cve/CVE-2025-0838)