CVE-2025-0838

Source
https://cve.org/CVERecord?id=CVE-2025-0838
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-0838.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-0838
Downstream
Related
Published
2025-02-21T14:20:52.767Z
Modified
2026-07-15T02:13:36.949166543Z
Severity
  • 5.9 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
Heap Buffer overflow in Abseil
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

Database specific
{
    "cwe_ids": [
        "CWE-190"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/0xxx/CVE-2025-0838.json",
    "cna_assigner": "Google",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "fixed": "5a0e2cb5e3958dd90bb8569a2766622cb74d90c1"
                }
            ],
            "source": "AFFECTED_FIELD"
        }
    ]
}
References

Affected packages

Git / github.com/abseil/abseil-cpp

Affected ranges

Type
GIT
Repo
https://github.com/abseil/abseil-cpp
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
{
    "cpe": "cpe:2.3:a:abseil:common_libraries:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "20250127.0"
        }
    ],
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

20250127.*
20250127.rc1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-0838.json"