CVE-2025-0838

Heap Buffer overflow in Abseil

State
Published
Severity
5.9 Medium
Published
Feb 21, 2025
Updated
Apr 5, 2025
Reserved
Jan 29, 2025

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
4.05.9 MediumCVSS:4.0/AV:A/AC:H/AT:P/PR:L/UI:A/VC:L/VI:H/VA:L/SC:L/SI:H/SA:LGoogle

Weaknesses

  • CWE-190 Integer Overflow or Wraparound

Affected Products

ProductVersions
abseil-cppabseil
  • before 5a0e2cb5e3958dd90bb8569a2766622cb74d90c1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.