Intel

AIKIDO-2025-10215

abseil.abseil-cpp is vulnerable to Integer Overflow

Integer OverflowCVE-2025-0838

59

Medium Risk

This Affects:

c++abseil.abseil-cpp
20230802.0 - 20230802.2
Fixed in 20230802.3
20240116.0 - 20240116.2
Fixed in 20240116.3
20240722.0 - 20240722.0
Fixed in 20240722.1

TL;DR

Affected versions of this package are vulnerable to integer overflow in absl::{flat,node}_hash_{set,map} during container creation or resizing via constructors, reserve(), or rehash(). These methods fail to enforce upper bounds on size arguments, potentially causing overflows when allocating the backing store and leading to out-of-bounds memory access. The fix introduces proper validation of size arguments and updates max_size() to reflect safe limits. While exploitation is considered difficult due to limited attacker control over container sizes, applications using untrusted input should upgrade to a patched version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

abseil.abseil-cpp is vulnerable to Integer Overflow in versions 20240722.0 - 20240722.0, 20240116.0 - 20240116.2 and 20230802.0 - 20230802.2.

How to fix this

Upgrade the abseil.abseil-cpp library to the patch version.