CVE-2025-0838
abseil abseil-cpp — Heap Buffer overflow in Abseil
Description · from the CVE record
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
ProductAffectedFixed inSource
abseil-cpp< 5a0e2cb5e3958dd90bb8569a2766622cb74d90c15a0e2cb5e3958dd90bb8569a2766622cb74d90c1CNA
Scores by source
NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Google (CNA)5.9CVSS:4.0/AV:A/AC:H/AT:P/PR:L/UI:A/VC:L/VI:H/VA:L/SC:L/SI:H/SA:L
CISA ADPSSVCExploitation: none · Automatable: no · Technical impact: partial