{"id":"CVE-2025-0838","state":"PUBLISHED","title":"Heap Buffer overflow in Abseil","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","publishedAt":"2025-02-21T14:20:52.767Z","updatedAt":"2025-04-05T16:02:54.716Z","severity":{"score":5.9,"label":"Medium","version":"4.0","vector":"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","source":"Google"},"assigner":"Google","products":["abseil abseil-cpp"],"affected":[{"vendor":"abseil","product":"abseil-cpp","packageName":"abseil-cpp","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"5a0e2cb5e3958dd90bb8569a2766622cb74d90c1","versionType":"git"}],"collectionURL":"https://github.com/abseil/abseil-cpp","programFiles":["absl/container/internal/raw_hash_set.cc","absl/container/internal/raw_hash_set.h","absl/container/internal/raw_hash_set_test.cc"],"repo":"https://github.com/abseil/abseil-cpp"}],"references":["https://github.com/abseil/abseil-cpp/commit/5a0e2cb5e3958dd90bb8569a2766622cb74d90c1","https://lists.debian.org/debian-lts-announce/2025/04/msg00012.html"],"weaknesses":["CWE-190"],"ingestedAt":"2026-10-29T20:08:20.985Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/0xxx/CVE-2025-0838.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-0838","state":"PUBLISHED","datePublished":"2025-02-21T14:20:52.767Z","dateUpdated":"2025-04-05T16:02:54.716Z","assignerShortName":"Google","assignerOrgId":"14ed7db2-1595-443d-9d34-6215bf890778","dateReserved":"2025-01-29T14:25:32.549Z"},"containers":{"cna":{"title":"Heap Buffer overflow in Abseil","descriptions":[{"lang":"en","value":"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"}],"affected":[{"vendor":"abseil","product":"abseil-cpp","packageName":"abseil-cpp","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"5a0e2cb5e3958dd90bb8569a2766622cb74d90c1","versionType":"git"}],"collectionURL":"https://github.com/abseil/abseil-cpp","programFiles":["absl/container/internal/raw_hash_set.cc","absl/container/internal/raw_hash_set.h","absl/container/internal/raw_hash_set_test.cc"],"repo":"https://github.com/abseil/abseil-cpp"}],"references":[{"url":"https://github.com/abseil/abseil-cpp/commit/5a0e2cb5e3958dd90bb8569a2766622cb74d90c1"}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"HIGH","attackRequirements":"PRESENT","attackVector":"ADJACENT","baseScore":5.9,"baseSeverity":"MEDIUM","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"LOW","subConfidentialityImpact":"LOW","subIntegrityImpact":"HIGH","userInteraction":"ACTIVE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-190","description":"CWE-190 Integer Overflow or Wraparound","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"Google","orgId":"14ed7db2-1595-443d-9d34-6215bf890778","dateUpdated":"2025-02-21T14:20:52.767Z"},"datePublic":"2025-01-22T23:00:00.000Z","impacts":[{"capecId":"CAPEC-123","descriptions":[{"lang":"en","value":"CAPEC-123 Buffer Manipulation"}]}],"source":{"discovery":"INTERNAL"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-02-21T17:10:46.956327Z","id":"CVE-2025-0838","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-02-21T17:13:42.473Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/04/msg00012.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-04-05T16:02:54.716Z"}}]}}}