CVE-2025-0838 Heap Buffer overflow in Abseil
MediumCVSS 5.9
EPSS 0.63%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
Description
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
Upgrade path
8 packages: 7 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| abseil common libraries | < 20250127.0 | 20250127.0 | Fixed |
| abseil-cpp | < 5a0e2cb5e3958dd90bb8569a2766622cb74d90c1 | 5a0e2cb5e3958dd90bb8569a2766622cb74d90c1 | Fixed |
| debian/abseil(Debian 12) | < 20220623.1-1+deb12u1; = 20220623.1-1 | 20220623.1-1+deb12u1 | Fixed |
| debian/abseil(Debian 13) | < 20240722.0-3 | 20240722.0-3 | Fixed |
| debian/abseil(Debian 14) | < 20240722.0-3 | 20240722.0-3 | Fixed |
| ubuntu/abseil(Ubuntu 22.04) | < 0~20210324.2-2ubuntu0.2 | 0~20210324.2-2ubuntu0.2 | Fixed |
| ubuntu/abseil(Ubuntu 24.04) | < 20220623.1-3.1ubuntu3.2 | 20220623.1-3.1ubuntu3.2 | Fixed |
| debian linux | = 11.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/abseil(Debian:12) | < 20220623.1-1+deb12u1 | 20220623.1-1+deb12u1 |
| debian/abseil(Debian:12) | = 20220623.1-1 | No fix listed |
| debian/abseil(Debian:13) | < 20240722.0-3 | 20240722.0-3 |
| debian/abseil(Debian:14) | < 20240722.0-3 | 20240722.0-3 |
| abseil-cpp | < 5a0e2cb5e3958dd90bb8569a2766622cb74d90c1 | 5a0e2cb5e3958dd90bb8569a2766622cb74d90c1 |
| ubuntu/abseil(Ubuntu:22.04) | < 0~20210324.2-2ubuntu0.2 | 0~20210324.2-2ubuntu0.2 |
| ubuntu/abseil(Ubuntu:24.04) | < 20220623.1-3.1ubuntu3.2 | 20220623.1-3.1ubuntu3.2 |
| abseil common libraries | < 20250127.0 | 20250127.0 |
| debian linux | = 11.0 | No fix listed |
References
- Debian Security Tracker CVE-2025-0838 vendor-advisory
- github.com patch
- lists.debian.org mailing-list third-party-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-7505-1 vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking