CVE-2025-0838

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

No CVSS.

Configurations

No configuration.

History

05 Apr 2025, 16:15

Type Values Removed Values Added
References
  • () https://lists.debian.org/debian-lts-announce/2025/04/msg00012.html -
Summary
  • (es) Existe una vulnerabilidad de desbordamiento de búfer de montón en Abseil-cpp. Los constructores de tamaño, los métodos reserve() y rehash() de absl::{flat,node}hash{set,map} no impusieron un límite superior en su argumento de tamaño. Como resultado, era posible que un llamador pasara un tamaño muy grande que causaría un desbordamiento de enteros al calcular el tamaño del almacenamiento de respaldo del contenedor y una posterior escritura de memoria fuera de los límites. Los accesos posteriores al contenedor también podrían acceder a memoria fuera de los límites. Recomendamos actualizar el commit anterior 5a0e2cb5e3958dd90bb8569a2766622cb74d90c1

21 Feb 2025, 15:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-02-21 15:15

Updated : 2025-04-05 16:15


NVD link : CVE-2025-0838

Mitre link : CVE-2025-0838

CVE.ORG link : CVE-2025-0838


JSON object : View

Products Affected

No product.

CWE
CWE-190

Integer Overflow or Wraparound