CVE-2025-0838
Heap 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
Attack profile
How easy it is to exploit
- Attack vector
- Adjacent network
- Complexity
- High
- Privileges needed
- Low
- User interaction
- Active
What an attacker can affect
- Confidentiality
- Low
- Integrity
- High
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
5.9
Heap 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
- Record
CVE-2025-0838- CVSS 4.0
- 5.9 Medium
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 - Weakness
- CWE-190
- Updated
- 2026-11-02
EUVDEUVD-2025-4520
5.9
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
- Record
EUVD-2025-4520- CVSS 4.0
- 5.9 Medium
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 - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-m9gf-vf48-rg58
5.9
There exists a heap buffer overflow vulnerable in Abseil-cpp. The sized constructors, reserve(),...
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
- Record
GHSA-m9gf-vf48-rg58- CVSS 4.0
- 5.9 Medium
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-190
- Updated
- 2026-11-02
NVD
5.9
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
- Record
CVE-2025-0838- CVSS 4.0
- 5.9 Medium
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-190
- Updated
- 2026-11-02
OSVBELL-CVE-2025-0838
9.8
- Record
BELL-CVE-2025-0838- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSV
5.9
Heap 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
- Record
CVE-2025-0838- CVSS 4.0
- 5.9 Medium
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 - Weakness
- CWE-190
- Updated
- 2026-11-02
Show 16 moreShow less
OSVDEBIAN-CVE-2025-0838
9.8
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
- Record
DEBIAN-CVE-2025-0838- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVOESA-2025-1219
4.6
abseil-cpp security update
Abseil is an open-source collection of C++ library code designed to augment the C++ standard library. The Abseil library code is collected from Google's own C++ code base, has been extensively tested and used in production, and is the same code we depend on in our daily coding lives.
Security Fix(es):
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(CVE-2025-0838)
- Record
OESA-2025-1219- CVSS 3.1
- 4.6 Medium
CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVUBUNTU-CVE-2025-0838
5.9
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
- Record
UBUNTU-CVE-2025-0838- CVSS 4.0
- 5.9 Medium
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 - CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVAZL-76815 No score
CVE-2025-0838 affecting package abseil-cpp for versions less than 20220623.0-2
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
- Record
AZL-76815- Updated
- 2026-11-02
OSVAZL-76853 No score
CVE-2025-0838 affecting package abseil-cpp for versions less than 20240116.0-3
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
- Record
AZL-76853- Updated
- 2026-11-05
OSVAZL-76968 No score
CVE-2025-0838 affecting package mysql 8.0.45-2
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
- Record
AZL-76968- Updated
- 2026-11-02
OSVAZL-77043 No score
CVE-2025-0838 affecting package mysql for versions less than 8.0.45-2
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
- Record
AZL-77043- Updated
- 2026-11-05
OSVopenSUSE-SU-2025:15473-1 No score
abseil-cpp-devel-20250814.0-2.1 on GA media
These are all security issues fixed in the abseil-cpp-devel-20250814.0-2.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2025:15473-1- Updated
- 2026-11-02
OSVSUSE-SU-2026:0190-1 No score
Security update for abseil-cpp
This update for abseil-cpp fixes the following issues:
- CVE-2025-0838: Fixed potential integer overflow in hash container create/resize (bsc#1237543).
- Record
SUSE-SU-2026:0190-1- Updated
- 2026-11-02
OSVSUSE-SU-2026:0338-1 No score
Security update for abseil-cpp
This update for abseil-cpp fixes the following issues:
- CVE-2025-0838: Fixed heap buffer overflow in sized constructors, reserve(), and rehash() methods of absl:{flat,node}hash{set,map} (bsc#1237543).
- Record
SUSE-SU-2026:0338-1- Updated
- 2026-11-02
OSVSUSE-SU-2026:0381-1 No score
Security update for abseil-cpp
This update for abseil-cpp fixes the following issues:
Update to 20240116.3
- CVE-2025-0838: Fixed potential integer overflow in hash container create/resize (bsc#1237543).
- Record
SUSE-SU-2026:0381-1- Updated
- 2026-11-02
OSVSUSE-SU-2026:0412-1 No score
Security update for abseil-cpp
This update for abseil-cpp fixes the following issues:
Update to 20240116.3
- CVE-2025-0838: Fixed potential integer overflow in hash container create/resize (bsc#1237543).
- Record
SUSE-SU-2026:0412-1- Updated
- 2026-11-02
OSVSUSE-SU-2026:0576-1 No score
Security update for abseil-cpp
This update for abseil-cpp fixes the following issues:
Update to version 20230802.3
- CVE-2025-0838: Fixed potential integer overflow in hash container create/resize (bsc#1237543).
- Record
SUSE-SU-2026:0576-1- Updated
- 2026-11-02
OSVSUSE-SU-2026:20268-1 No score
Security update for abseil-cpp
This update for abseil-cpp fixes the following issues:
Update to version 20230802.3:
- CVE-2025-0838: Fixed potential integer overflow in hash container create/resize (#1813) (bsc#1237543).
- Record
SUSE-SU-2026:20268-1- Updated
- 2026-11-02
OSVSUSE-SU-2026:20361-1 No score
Security update for abseil-cpp
This update for abseil-cpp fixes the following issues:
Update to version 20230802.3:
- CVE-2025-0838: Fixed potential integer overflow in hash container create/resize (#1813) (bsc#1237543).
- Record
SUSE-SU-2026:20361-1- Updated
- 2026-11-02
OSVUSN-7505-1 No score
abseil vulnerability
It was discovered that Abseil incorrectly handled memory with the upper bound of the size argument. An attacker could possibly use this issue to cause a denial of service or memory corruption.
- Record
USN-7505-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
abseil-cppAzure Linux:2 |
before 20220623.0-2 | 20220623.0-2 |
abseil-cppAzure Linux:3 |
before 20240116.0-3 | 20240116.0-3 |
mysqlAzure Linux:2 |
through 8.0.45-2 | None known |
mysqlAzure Linux:3 |
before 8.0.45-2 | 8.0.45-2 |
abseil-cppAlpaquita:23 |
20220623.1-r1 and later | None known |
abseil-cppAlpaquita:stream |
20230125.3-r1 and later | None known |
abseil-cppBellSoft Hardened Containers:stream |
20230125.3-r1 and later | None known |
abseilDebian:12 |
before 20220623.1-1+deb12u1, plus listed versions 20220623.1-1 |
20220623.1-1+deb12u1 |
abseilDebian:13 |
before 20240722.0-3 | 20240722.0-3 |
abseilDebian:14 |
before 20240722.0-3 | 20240722.0-3 |
Show 18 moreShow less
| Package | Affected | Fixed |
|---|---|---|
abseilDebian:11 |
before 0~20200923.3-2+deb11u1, plus listed versions 0~20200923.3-2 |
0~20200923.3-2+deb11u1 |
abseil-cppopenEuler:22.03-LTS-SP4 |
before 20220623.1-6.oe2203sp4 | 20220623.1-6.oe2203sp4 |
abseil-cppopenEuler:24.03-LTS |
before 20230802.1-6.oe2403sp1 | 20230802.1-6.oe2403sp1 |
abseil-cppopenEuler:24.03-LTS-SP1 |
before 20230802.1-6.oe2403sp1 | 20230802.1-6.oe2403sp1 |
abseil-cppopenEuler:20.03-LTS-SP4 |
before 20210324.2-2.oe2003sp4 | 20210324.2-2.oe2003sp4 |
abseil-cppopenEuler:22.03-LTS-SP3 |
before 20220623.1-6.oe2203sp3 | 20220623.1-6.oe2203sp3 |
abseil-cppSUSE:Linux Enterprise Module for Basesystem 15 SP7 |
before 20240116.3-150600.19.6.1 | 20240116.3-150600.19.6.1 |
abseil-cppopenSUSE:Leap 15.6 |
before 20240116.3-150600.19.6.1 | 20240116.3-150600.19.6.1 |
abseil-cppSUSE:Linux Enterprise Micro 5.4 |
before 20240116.3-150500.13.10.1 | 20240116.3-150500.13.10.1 |
abseil-cppSUSE:Linux Enterprise Micro 5.5 |
before 20240116.3-150500.13.10.1 | 20240116.3-150500.13.10.1 |
abseil-cppSUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 |
before 20240116.3-8.6.1 | 20240116.3-8.6.1 |
abseil-cppSUSE:Linux Enterprise Micro 5.3 |
before 20230802.3-150400.10.7.1 | 20230802.3-150400.10.7.1 |
abseil-cppSUSE:Linux Micro 6.0 |
before 20230802.3-1.1 | 20230802.3-1.1 |
abseil-cppSUSE:Linux Micro 6.1 |
before 20230802.3-slfo.1.1_1.1 | 20230802.3-slfo.1.1_1.1 |
abseilUbuntu:22.04:LTS |
before 0~20210324.2-2ubuntu0.2, plus listed versions 0~20200923.3-3ubuntu10~20210324.2-2 |
0~20210324.2-2ubuntu0.2 |
abseilUbuntu:24.04:LTS |
before 20220623.1-3.1ubuntu3.2, plus listed versions 20220623.1-320220623.1-3.1ubuntu120220623.1-3.1ubuntu3 |
20220623.1-3.1ubuntu3.2 |
abseilUbuntu:25.10 |
before 20240722.0-3ubuntu1, plus listed versions 20230802.1-4.2 |
20240722.0-3ubuntu1 |
abseil-cppopenSUSE:Tumbleweed |
before 20250814.0-2.1 | 20250814.0-2.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| facts | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-0838 is a medium vulnerability (CVSS 5.9) in Abseil Abseil-cpp, published February 21, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.63%, the 50th percentile. Fixed in abseil-cpp 20220623.0-2.
References
github.com/abseil/abseil-cpp/commit/5a0e2cb5e3958dd90bb8569a2766622cb74d90c1
lists.debian.org/debian-lts-announce/2025/04/msg00012.html
nvd.nist.gov/vuln/detail/CVE-2025-0838
github.com/advisories/GHSA-m9gf-vf48-rg58
docs.bell-sw.com/security/cves/CVE-2025-0838
github.com/CVEProject/cvelistV5/tree/main/cves/2025/0xxx/CVE-2025-0838.json
Show 16 moreShow less
github.com/abseil/abseil-cpp
security-tracker.debian.org/tracker/CVE-2025-0838
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2025-1219
suse.com/support/update/announcement/2026/suse-su-20260190-1
bugzilla.suse.com/1237543
suse.com/security/cve/CVE-2025-0838
suse.com/support/update/announcement/2026/suse-su-20260338-1
suse.com/support/update/announcement/2026/suse-su-20260381-1
suse.com/support/update/announcement/2026/suse-su-20260412-1
suse.com/support/update/announcement/2026/suse-su-20260576-1
suse.com/support/update/announcement/2026/suse-su-202620268-1
suse.com/support/update/announcement/2026/suse-su-202620361-1
ubuntu.com/security/CVE-2025-0838
cve.org/CVERecord?id=CVE-2025-0838
github.com/abseil/abseil-cpp/commit/caa7bb4457bfcafcd55a940204ef78c1bf1f417d
ubuntu.com/security/notices/USN-7505-1