CVE-2025-0838
Heap Buffer overflow in Abseil
Reported by google · Published February 21, 2025
abseil-cpp is fixed in 5a0e2cb5e3958dd90bb8569a2766622cb74d90c1 (GitHub Packages)
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
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| abseil-cpp | GitHub Packages | 5a0e2cb5e3958dd90bb8569a2766622cb74d90c1 |
| abseil-cpp-devel | Amazon Linux | 20220623.1-4.amzn2023.0.2 |
| abseil-cpp | Amazon Linux | 20220623.1-4.amzn2023.0.2 |
| common_libraries | abseil | 20250127.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| abseil | abseil-cpp | 0 |
| abseil | abseil-cpp | 0 |
Timeline
- Feb 21, 2025 CVE Published
- Feb 21, 2025 PoC Published (6 in total, the first dated here)
- Feb 22, 2025 EPSS Score (30 in total, the first dated here)
- Mar 16, 2025 Coalition ESS Score (12 in total, the first dated here)
- Jun 2, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-0838
vulnetix vdb fixes CVE-2025-0838
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-0838/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart