CVE-2025-0838 MEDIUM

CVE-2025-0838: Heap Buffer overflow in Abseil

Vendor Abseil
Product abseil-cpp
Weakness CWE-190
Published February 21, 2025
Last update April 5, 2025

CVSS base score

5.9/10
Attack vector Adjacent
Attack complexity High
Privileges required Low
User interaction
Confidentiality
Integrity

CVSS vector

CVSS:4.0/AV:A/AC:H/AT:P/PR:L/UI:A/VC:L/VI:H/VA:L/SC:L/SI:H/SA:L

What the vulnerability does

01Description

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

Key dates

02Disclosure timeline

February 21, 2025 CVE published
April 5, 2025 Record updated