{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.9.0"
                  },
                  {
                    "fixed": "2.18.12"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "2.19.0"
                  },
                  {
                    "fixed": "2.21.8"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "2.22.0"
                  },
                  {
                    "fixed": "2.22.4"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "3.0.0"
                  },
                  {
                    "fixed": "3.1.8"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "3.2.0"
                  },
                  {
                    "fixed": "3.2.4"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "bc46c4ac1b0e02679c2cbf390beab12bc0aa2e0e"
            },
            {
              "fixed": "47c8319ae6a153c69cf7397bed173fd96bd0aae9"
            },
            {
              "introduced": "e4b9f213a3948dfc239ac81880235726a926c8ea"
            },
            {
              "fixed": "bcc185d3ad44b4f9bba50318f3244d7e546e0c97"
            },
            {
              "introduced": "2071f427e8d4f739f154aca6e1edc09ccff6f2ce"
            },
            {
              "fixed": "a94d08531c6c04b8e0f9fcc8d96a5cbf1237cff1"
            },
            {
              "introduced": "eeabb9be0575ed09781b6c08af0fadc6c853ffcd"
            },
            {
              "fixed": "c8ff850488e7ca8251cdd968be2de1abe3383ec2"
            },
            {
              "introduced": "a975b216e5f93d306399fb39079ff25875a9620e"
            },
            {
              "fixed": "f88b62de0b64b81ee427d74a2336e52aa940abd1"
            }
          ],
          "repo": "https://github.com/fasterxml/jackson-dataformats-binary",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-h3c2-2m49-r49w"
  ],
  "database_specific": {
    "cna_assigner": "HeroDevs",
    "cwe_ids": [
      "CWE-789"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/104xxx/CVE-2026-104895.json"
  },
  "details": "The asynchronous Smile parser (NonBlockingByteArrayParser) uses a raw-binary length prefix taken from untrusted input to allocate a byte[] before the body is read, with no upper bound and no overflow check. On the raw-binary marker 0xFD, _decodeVInt() computes (value \u003c\u003c 6) + (i \u0026 0x3F) without the (value \u003e\u003e\u003e 25) != 0 overflow guard present in the blocking SmileParser._readUnsignedVInt, and _startRawBinary then allocates the declared length immediately.\n\n\n\nA Smile feed of roughly ten bytes can therefore force an eager allocation of approximately 2 GB, producing an OutOfMemoryError on reactive or asynchronous Smile endpoints. A VInt crafted to overflow int yields a negative length and a NegativeArraySizeException, a RuntimeException that is not a JacksonException and so escapes the parser contract. Either outcome crashes the request or processing thread.\n\n\n\nThis is the same class of issue as CVE-2020-28491 in the CBOR parser of this library, which was fixed with a LONGEST_NON_CHUNKED_BINARY guard; the asynchronous Smile parser never received the equivalent guard. No privileges or user interaction beyond the ability to submit data for parsing are required.",
  "id": "CVE-2026-104895",
  "modified": "2026-11-05T21:16:22.572604479Z",
  "published": "2026-10-28T00:01:44.496Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://repo.maven.apache.org/maven2"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/104xxx/CVE-2026-104895.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/FasterXML/jackson-dataformats-binary/security/advisories/GHSA-h3c2-2m49-r49w"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-104895"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/FasterXML/jackson-dataformats-binary"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "jackson-dataformat-smile: unbounded eager byte[] allocation for raw binary in the async parser allows OutOfMemoryError denial of service"
}