{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-87823",
        "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "state": "PUBLISHED",
        "assignerShortName": "VulnCheck",
        "dateReserved": "2026-09-09T10:32:34.110Z",
        "datePublished": "2026-09-09T14:32:43.442Z",
        "dateUpdated": "2026-09-09T16:13:14.420Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
                "shortName": "VulnCheck",
                "dateUpdated": "2026-09-09T14:32:43.442Z"
            },
            "datePublic": "2026-08-19T00:00:00.000Z",
            "title": "zstd-jni 1.1.1 through 1.5.7-13 Out-of-Bounds Read via Direct ByteBuffer Frame-Size Methods",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "zstd-jni before 1.5.7-14 performs 32-bit signed bounds checks on three direct-ByteBuffer frame-size native methods, allowing out-of-bounds memory reads via negative or overflowing offsets. Attackers can supply negative offset values near Integer.MIN_VALUE to read unmapped memory, causing JVM termination or extracting arbitrary frame size data from unintended memory locations."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "description": "Integer Overflow or Wraparound",
                            "cweId": "CWE-190",
                            "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.1.1",
                            "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-jfr6-9xqw-2g2q",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "name": "GitHub Security Advisory (GHSA-jfr6-9xqw-2g2q)"
                },
                {
                    "url": "https://github.com/luben/zstd-jni/commit/d7a1c99322d5e1fc71932e722c0b5bb2fc525d3f",
                    "tags": [
                        "patch"
                    ],
                    "name": "Fix commit: reject negative offset and size in the three direct-ByteBuffer natives"
                },
                {
                    "url": "https://github.com/luben/zstd-jni/blob/v1.5.7-13/src/main/native/jni_zstd.c",
                    "tags": [
                        "technical-description"
                    ],
                    "name": "Unchecked 32-bit bounds tests at v1.5.7-13"
                },
                {
                    "url": "https://github.com/luben/zstd-jni/blob/v1.5.7-13/src/main/java/com/github/luben/zstd/Zstd.java",
                    "tags": [
                        "technical-description"
                    ],
                    "name": "Native declarations with no Java-side validation at v1.5.7-13"
                },
                {
                    "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/commit/46dcb2a54c8b8f2ce2cad7187a7513f509c533ac",
                    "tags": [
                        "technical-description",
                        "patch"
                    ],
                    "name": "Commit that introduced the unchecked direct-ByteBuffer size natives (first released in 1.1.1)"
                },
                {
                    "url": "https://github.com/luben/zstd-jni",
                    "tags": [
                        "product"
                    ]
                },
                {
                    "name": "VulnCheck Advisory: zstd-jni 1.1.1 through 1.5.7-13 Out-of-Bounds Read via Direct ByteBuffer Frame-Size Methods",
                    "tags": [
                        "third-party-advisory"
                    ],
                    "url": "https://www.vulncheck.com/advisories/zstd-jni-1.1.1-through-1.5.7-13-out-of-bounds-read-via-direct-bytebuffer-frame-size-methods"
                }
            ],
            "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-jfr6-9xqw-2g2q",
                        "tags": [
                            "exploit"
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-09-09T16:12:29.082517Z",
                                "id": "CVE-2026-87823",
                                "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-09T16:13:14.420Z"
                }
            }
        ]
    }
}