VDB

CVE-2025-0838

CVE-2025-0838 PUBLISHED CVSS 5.9 MEDIUM

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.

PackageEcosystemFixed in
abseil-cppGitHub Packages5a0e2cb5e3958dd90bb8569a2766622cb74d90c1
abseil-cpp-develAmazon Linux20220623.1-4.amzn2023.0.2
abseil-cppAmazon Linux20220623.1-4.amzn2023.0.2
common_librariesabseil20250127.0

Risk scores

CVSS 4.0
5.9
CVSS:4.0/AV:A/AC:H/AT:P/PR:L/UI:A/VC:L/VI:H/VA:L/SC:L/SI:H/SA:L

Affected products

VendorProductVersions
abseilabseil-cpp0
abseilabseil-cpp0

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›