CVEfocus › CVE database › CVE-2025-0838

CVE-2025-0838Heap Buffer overflow in Abseil

CVSS 5.9 MediumEPSS 0.9% (higher than 58% of CVEs)Published 2025-02-21Updated 2025-04-05Assigner: Google

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

CWE-190

What to do

Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

6Fixed

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10abseilFixed20240722.0-3ubuntu1UBUNTU-CVE-2025-0838
Ubuntu 24.04abseilFixed20220623.1-3.1ubuntu3.2UBUNTU-CVE-2025-0838
Ubuntu 22.04abseilFixed0~20210324.2-2ubuntu0.2UBUNTU-CVE-2025-0838
Debian 14abseilFixed20240722.0-3DEBIAN-CVE-2025-0838
Debian 13abseilFixed20240722.0-3DEBIAN-CVE-2025-0838
Debian 12abseilFixed20220623.1-1+deb12u1DEBIAN-CVE-2025-0838

What the vendor says

As published in the CVE record by Google, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.