Skip to content
Heist/ feed
Back to feed
High

zstd-jni-java — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-90560

zstd-jni versions 1.2.0 through 1.5.7-13 contain an out-of-bounds read vulnerability in the ZstdDictDecompress constructor because offset and length arguments are never validated against the dictionary array bounds. Attackers can supply arbitrary offset or length values to read memory past the end of the supplied array, potentially causing JVM termination.

Products
zstd-jni-java
Affected versions
1.5.2-5+ds-3, 1.5.2-5+ds-3build1, 1.5.2-5+ds-7, 1.5.2-5+ds-7build1, 1.5.2-5+ds-7ubuntu1, 1.5.2-5+ds-8
Fixed versions
Not specified
CVEs
CVE-2026-90560
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 03:31 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-90560

core-osv · Original source

Published 12 Sept 2026, 18:16 UTC

zstd-jni versions 1.2.0 through 1.5.7-13 contain an out-of-bounds read vulnerability in the ZstdDictDecompress constructor because offset and length arguments are never validated against the dictionary array bounds. Attackers can supply arbitrary offset or length values to read memory past the end of the supplied array, potentially causing JVM termination.

osv:UBUNTU-CVE-2026-90560

zstd-jni-java

Fixed versions: Not specified

zstd-jni-java

Fixed versions: Not specified

zstd-jni-java

Fixed versions: Not specified

Complete source record
{
  "id": "90792100f4c9f499fb166b9be80d29eb0bdaf49bc75768168267bb208e13e5c5",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-90560",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-90560",
    "summary": "zstd-jni versions 1.2.0 through 1.5.7-13 contain an out-of-bounds read vulnerability in the ZstdDictDecompress constructor because offset and length arguments are never validated against the dictionary array bounds. Attackers can supply arbitrary offset or length values to read memory past the end of the supplied array, potentially causing JVM termination.",
    "evidence": "osv:UBUNTU-CVE-2026-90560",
    "products": [
      {
        "name": {
          "value": "zstd-jni-java",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.5.2-5+ds-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.5.2-5+ds-3build1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "zstd-jni-java",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.5.2-5+ds-8",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "zstd-jni-java",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.5.2-5+ds-7",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.5.2-5+ds-7build1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.5.2-5+ds-7ubuntu1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.5.2-5+ds-8",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2026-90560",
      "aliases": [
        "UBUNTU-CVE-2026-90560"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H"
        },
        {
          "type": "CVSS_V4",
          "score": "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"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "zstd-jni-java",
            "purl": "pkg:deb/ubuntu/zstd-jni-java?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "1.5.2-5+ds-3",
            "1.5.2-5+ds-3build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-90560.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libzstd-jni-java",
                "binary_version": "1.5.2-5+ds-3build1"
              },
              {
                "binary_name": "libzstd-jni1",
                "binary_version": "1.5.2-5+ds-3build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "zstd-jni-java",
            "purl": "pkg:deb/ubuntu/zstd-jni-java?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1.5.2-5+ds-8"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-90560.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libzstd-jni-java",
                "binary_version": "1.5.2-5+ds-8"
              },
              {
                "binary_name": "libzstd-jni1",
                "binary_version": "1.5.2-5+ds-8"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "zstd-jni-java",
            "purl": "pkg:deb/ubuntu/zstd-jni-java?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "1.5.2-5+ds-7",
            "1.5.2-5+ds-7build1",
            "1.5.2-5+ds-7ubuntu1",
            "1.5.2-5+ds-8"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-90560.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libzstd-jni-java",
                "binary_version": "1.5.2-5+ds-8"
              },
              {
                "binary_name": "libzstd-jni1",
                "binary_version": "1.5.2-5+ds-8"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T13:01:16.426089282Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-90560"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-90560",
        "https://www.cve.org/CVERecord?id=CVE-2026-90560",
        "https://github.com/luben/zstd-jni/issues/405",
        "https://github.com/luben/zstd-jni",
        "https://github.com/luben/zstd-jni/blob/v1.2.0/src/main/java/com/github/luben/zstd/ZstdDictDecompress.java#L37",
        "https://github.com/luben/zstd-jni/blob/v1.5.7-13/src/main/java/com/github/luben/zstd/ZstdDictDecompress.java#L49",
        "https://github.com/luben/zstd-jni/commit/b74ab242d640c40897e62aab4c744ddfad1f915f",
        "https://github.com/luben/zstd-jni/releases/tag/v1.5.7-14",
        "https://www.vulncheck.com/advisories/zstd-jni-1.2.0-through-1.5.7-13-out-of-bounds-read-via-zstddictdecompress"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-90560",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/1/score"
  },
  "source_id": "core-osv",
  "document_id": 361451,
  "published_at": "2026-09-12T18:16:00+00:00"
}