{"id":"UBUNTU-CVE-2025-0838","details":"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","modified":"2026-02-04T03:38:37.300348Z","published":"2025-02-21T15:15:00Z","related":["USN-7505-1"],"upstream":["CVE-2025-0838"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-0838"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-0838"},{"type":"REPORT","url":"https://github.com/abseil/abseil-cpp/commit/caa7bb4457bfcafcd55a940204ef78c1bf1f417d"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7505-1"}],"affected":[{"package":{"name":"abseil","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/abseil@0~20210324.2-2ubuntu0.2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0~20210324.2-2ubuntu0.2"}]}],"versions":["0~20200923.3-3ubuntu1","0~20210324.2-2"],"ecosystem_specific":{"binaries":[{"binary_version":"0~20210324.2-2ubuntu0.2","binary_name":"libabsl-dev"},{"binary_version":"0~20210324.2-2ubuntu0.2","binary_name":"libabsl20210324"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-0838.json"}},{"package":{"name":"abseil","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/abseil@20220623.1-3.1ubuntu3.2?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20220623.1-3.1ubuntu3.2"}]}],"versions":["20220623.1-3","20220623.1-3.1ubuntu1","20220623.1-3.1ubuntu3"],"ecosystem_specific":{"binaries":[{"binary_version":"20220623.1-3.1ubuntu3.2","binary_name":"libabsl-dev"},{"binary_version":"20220623.1-3.1ubuntu3.2","binary_name":"libabsl20220623t64"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-0838.json"}},{"package":{"name":"abseil","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/abseil@20240722.0-3ubuntu1?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20240722.0-3ubuntu1"}]}],"versions":["20230802.1-4.2"],"ecosystem_specific":{"binaries":[{"binary_version":"20240722.0-3ubuntu1","binary_name":"libabsl-dev"},{"binary_version":"20240722.0-3ubuntu1","binary_name":"libabsl20240722"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-0838.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:A/AC:H/AT:P/PR:L/UI:A/VC:L/VI:H/VA:L/SC:L/SI:H/SA:L"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}