Vulnerability 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
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Abseil | Common Libraries | < 20250127.0 |
| Debian | Debian Linux | 11.0 |
Related Weaknesses (CWE)
References
- https://github.com/abseil/abseil-cpp/commit/5a0e2cb5e3958dd90bb8569a2766622cb74dPatch
- https://lists.debian.org/debian-lts-announce/2025/04/msg00012.htmlMailing ListThird Party Advisory
FAQ
What is CVE-2025-0838?
CVE-2025-0838 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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 argu...
How severe is CVE-2025-0838?
CVE-2025-0838 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2025-0838?
Check the references section above for vendor advisories and patch information. Affected products include: Abseil Common Libraries, Debian Debian Linux.