CVE-2025-0838Heap Buffer overflow in Abseil
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
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 25.10 | abseil | Fixed | 20240722.0-3ubuntu1 | UBUNTU-CVE-2025-0838 |
| Ubuntu 24.04 | abseil | Fixed | 20220623.1-3.1ubuntu3.2 | UBUNTU-CVE-2025-0838 |
| Ubuntu 22.04 | abseil | Fixed | 0~20210324.2-2ubuntu0.2 | UBUNTU-CVE-2025-0838 |
| Debian 14 | abseil | Fixed | 20240722.0-3 | DEBIAN-CVE-2025-0838 |
| Debian 13 | abseil | Fixed | 20240722.0-3 | DEBIAN-CVE-2025-0838 |
| Debian 12 | abseil | Fixed | 20220623.1-1+deb12u1 | DEBIAN-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.
- abseil-cpp: affected: before 5a0e2cb5e3958dd90bb8569a2766622cb74d90c1; fixed in
5a0e2cb5e3958dd90bb8569a2766622cb74d90c1
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.