Integer Overflow or Wraparound Affecting abseil-cpp-devel package, versions <0:20220623.1-4.amzn2023.0.2


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.62% (52nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-ABSEILCPPDEVEL-10497700
  • published24 Jun 2025
  • disclosed21 Feb 2025

Introduced: 21 Feb 2025

CVE-2025-0838  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 abseil-cpp-devel to version 0:20220623.1-4.amzn2023.0.2 or higher.
This issue was patched in ALAS2023-2025-1042.

NVD Description

Note: Versions mentioned in the description apply only to the upstream abseil-cpp-devel package and not the abseil-cpp-devel package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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

CVSS Base Scores

version 3.1