{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-87795",
        "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "state": "PUBLISHED",
        "assignerShortName": "VulnCheck",
        "dateReserved": "2026-09-09T09:37:58.558Z",
        "datePublished": "2026-09-09T10:07:28.656Z",
        "dateUpdated": "2026-09-14T13:02:51.150Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
                "shortName": "VulnCheck",
                "dateUpdated": "2026-09-09T10:07:28.656Z"
            },
            "datePublic": "2026-08-15T00:00:00.000Z",
            "title": "zstd-jni 1.2.0 through 1.5.7-13 Out-of-Bounds Read via ZstdDictCompress",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "zstd-jni versions before 1.5.7-14 fail to validate offset and length parameters in the ZstdDictCompress constructor, allowing out-of-bounds memory reads. Attackers can supply untrusted offset or length values to read native heap memory into the compression dictionary, typically causing JVM crashes."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "description": "Out-of-bounds Read",
                            "cweId": "CWE-125",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "luben",
                    "product": "zstd-jni",
                    "collectionURL": "https://repo1.maven.org/maven2/com/github/luben/zstd-jni/",
                    "repo": "https://github.com/luben/zstd-jni",
                    "defaultStatus": "unaffected",
                    "packageURL": "pkg:maven/com.github.luben/zstd-jni",
                    "versions": [
                        {
                            "version": "1.2.0",
                            "lessThan": "1.5.7-14",
                            "status": "affected",
                            "versionType": "custom"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "cvssV4_0": {
                        "version": "4.0",
                        "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N",
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "attackRequirements": "NONE",
                        "privilegesRequired": "NONE",
                        "userInteraction": "NONE",
                        "vulnConfidentialityImpact": "LOW",
                        "vulnIntegrityImpact": "NONE",
                        "vulnAvailabilityImpact": "HIGH",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 8.8,
                        "baseSeverity": "HIGH"
                    }
                },
                {
                    "format": "CVSS",
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H",
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "privilegesRequired": "NONE",
                        "userInteraction": "NONE",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "LOW",
                        "integrityImpact": "NONE",
                        "availabilityImpact": "HIGH",
                        "baseScore": 8.2,
                        "baseSeverity": "HIGH"
                    }
                }
            ],
            "references": [
                {
                    "url": "https://github.com/luben/zstd-jni/security/advisories/GHSA-ff36-7w3w-g8rm",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "name": "GitHub Security Advisory (GHSA-ff36-7w3w-g8rm)"
                },
                {
                    "url": "https://github.com/luben/zstd-jni/commit/0d64de4dee6606ff506be36c7f2e714ad0c80fdb",
                    "tags": [
                        "patch"
                    ],
                    "name": "Fix commit"
                },
                {
                    "url": "https://github.com/luben/zstd-jni/blob/v1.5.7-13/src/main/java/com/github/luben/zstd/ZstdDictCompress.java",
                    "tags": [
                        "technical-description"
                    ],
                    "name": "Broken bounds check at v1.5.7-13"
                },
                {
                    "url": "https://github.com/luben/zstd-jni/blob/v1.5.7-13/src/main/native/jni_fast_zstd.c",
                    "tags": [
                        "technical-description"
                    ],
                    "name": "Native init that trusts the offset and length"
                },
                {
                    "url": "https://github.com/luben/zstd-jni/commit/1c4e5a6c3ce8458095225d987d669e6a0937734a",
                    "tags": [
                        "technical-description",
                        "patch"
                    ],
                    "name": "Commit that introduced the unchecked native path"
                },
                {
                    "url": "https://github.com/luben/zstd-jni/releases/tag/v1.5.7-14",
                    "tags": [
                        "release-notes"
                    ],
                    "name": "zstd-jni v1.5.7-14 Release Notes"
                },
                {
                    "url": "https://github.com/luben/zstd-jni",
                    "tags": [
                        "product"
                    ]
                },
                {
                    "name": "VulnCheck Advisory: zstd-jni 1.2.0 through 1.5.7-13 Out-of-Bounds Read via ZstdDictCompress",
                    "tags": [
                        "third-party-advisory"
                    ],
                    "url": "https://www.vulncheck.com/advisories/zstd-jni-1.2.0-through-1.5.7-13-out-of-bounds-read-via-zstddictcompress"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Yu Bao, PayPal Cyber Security Team",
                    "type": "finder"
                }
            ],
            "x_generator": {
                "engine": "vulncheck-endgame"
            },
            "source": {
                "discovery": "EXTERNAL"
            }
        },
        "adp": [
            {
                "references": [
                    {
                        "url": "https://github.com/luben/zstd-jni/security/advisories/GHSA-ff36-7w3w-g8rm",
                        "tags": [
                            "exploit"
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-09-14T13:02:05.211876Z",
                                "id": "CVE-2026-87795",
                                "options": [
                                    {
                                        "Exploitation": "poc"
                                    },
                                    {
                                        "Automatable": "yes"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-09-14T13:02:51.150Z"
                }
            }
        ]
    }
}