Every CVE Search/ Get API key

CVE-2025-0838

Heap Buffer overflow in Abseil

5.9 MediumFix available

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

0.63%Up 0.6 points since Feb 22, 2025
90%50%10%1%

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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 CriticalCVSS: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 MediumCVSS: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 CriticalCVSS: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 CriticalCVSS: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 MediumCVSS: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 CriticalCVSS: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 MediumCVSS: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 MediumCVSS: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 CriticalCVSS: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

Affected packages
PackageAffectedFixed
abseil-cpp
Azure Linux:2
before 20220623.0-2
20220623.0-2
abseil-cpp
Azure Linux:3
before 20240116.0-3
20240116.0-3
mysql
Azure Linux:2
through 8.0.45-2 None known
mysql
Azure Linux:3
before 8.0.45-2
8.0.45-2
abseil-cpp
Alpaquita:23
20220623.1-r1 and later None known
abseil-cpp
Alpaquita:stream
20230125.3-r1 and later None known
abseil-cpp
BellSoft Hardened Containers:stream
20230125.3-r1 and later None known
abseil
Debian:12
before 20220623.1-1+deb12u1, plus listed versions
20220623.1-1
20220623.1-1+deb12u1
abseil
Debian:13
before 20240722.0-3
20240722.0-3
abseil
Debian:14
before 20240722.0-3
20240722.0-3
Show 18 moreShow less
Affected packages
PackageAffectedFixed
abseil
Debian:11
before 0~20200923.3-2+deb11u1, plus listed versions
0~20200923.3-2
0~20200923.3-2+deb11u1
abseil-cpp
openEuler:22.03-LTS-SP4
before 20220623.1-6.oe2203sp4
20220623.1-6.oe2203sp4
abseil-cpp
openEuler:24.03-LTS
before 20230802.1-6.oe2403sp1
20230802.1-6.oe2403sp1
abseil-cpp
openEuler:24.03-LTS-SP1
before 20230802.1-6.oe2403sp1
20230802.1-6.oe2403sp1
abseil-cpp
openEuler:20.03-LTS-SP4
before 20210324.2-2.oe2003sp4
20210324.2-2.oe2003sp4
abseil-cpp
openEuler:22.03-LTS-SP3
before 20220623.1-6.oe2203sp3
20220623.1-6.oe2203sp3
abseil-cpp
SUSE:Linux Enterprise Module for Basesystem 15 SP7
before 20240116.3-150600.19.6.1
20240116.3-150600.19.6.1
abseil-cpp
openSUSE:Leap 15.6
before 20240116.3-150600.19.6.1
20240116.3-150600.19.6.1
abseil-cpp
SUSE:Linux Enterprise Micro 5.4
before 20240116.3-150500.13.10.1
20240116.3-150500.13.10.1
abseil-cpp
SUSE:Linux Enterprise Micro 5.5
before 20240116.3-150500.13.10.1
20240116.3-150500.13.10.1
abseil-cpp
SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5
before 20240116.3-8.6.1
20240116.3-8.6.1
abseil-cpp
SUSE:Linux Enterprise Micro 5.3
before 20230802.3-150400.10.7.1
20230802.3-150400.10.7.1
abseil-cpp
SUSE:Linux Micro 6.0
before 20230802.3-1.1
20230802.3-1.1
abseil-cpp
SUSE:Linux Micro 6.1
before 20230802.3-slfo.1.1_1.1
20230802.3-slfo.1.1_1.1
abseil
Ubuntu:22.04:LTS
before 0~20210324.2-2ubuntu0.2, plus listed versions
0~20200923.3-3ubuntu10~20210324.2-2
0~20210324.2-2ubuntu0.2
abseil
Ubuntu: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
abseil
Ubuntu:25.10
before 20240722.0-3ubuntu1, plus listed versions
20230802.1-4.2
20240722.0-3ubuntu1
abseil-cpp
openSUSE:Tumbleweed
before 20250814.0-2.1
20250814.0-2.1

History

History
RecordedChangedSources
factsOSV
first indexedCVE 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

Show 16 moreShow less
MoveEnter Open