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
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| abseil | abseil-cpp | < 5a0e2cb5e3958dd90bb8569a2766622cb74d90c1 |
References
- https://github.com/abseil/abseil-cpp/commit/5a0e2cb5e3958dd90bb8569a2766622cb74d90c1Patch
- https://lists.debian.org/debian-lts-announce/2025/04/msg00012.htmlMailing List, Third Party Advisory
Timeline
- Published
- Feb 21, 2025
- Last modified
- Jun 17, 2026
- NVD status
- Analyzed