{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.9.0"
                  },
                  {
                    "last_affected": "2.18.11"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "2.19.0"
                  },
                  {
                    "last_affected": "2.21.7"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "2.22.0"
                  },
                  {
                    "last_affected": "2.22.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "3.0.0"
                  },
                  {
                    "last_affected": "3.1.7"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "3.2.0"
                  },
                  {
                    "last_affected": "3.2.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "bc46c4ac1b0e02679c2cbf390beab12bc0aa2e0e"
            },
            {
              "last_affected": "02402d4d268e61f62ca1f7eb9c1d911e907769c4"
            },
            {
              "introduced": "e4b9f213a3948dfc239ac81880235726a926c8ea"
            },
            {
              "last_affected": "a56180dc0720fcc3616264546fa0a610ababecc2"
            },
            {
              "introduced": "2071f427e8d4f739f154aca6e1edc09ccff6f2ce"
            },
            {
              "last_affected": "e302f7e0b23b077e85c7b7662cb518853528d114"
            },
            {
              "introduced": "eeabb9be0575ed09781b6c08af0fadc6c853ffcd"
            },
            {
              "last_affected": "8c068f41656b1cd8f39f77b9170facf10fecc4ba"
            },
            {
              "introduced": "a975b216e5f93d306399fb39079ff25875a9620e"
            },
            {
              "last_affected": "a4bfe477d30332cc40a41a8d6cc6adc21215260a"
            }
          ],
          "repo": "https://github.com/fasterxml/jackson-dataformats-binary",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-gf9r-rhg2-fj5v"
  ],
  "database_specific": {
    "cna_assigner": "HeroDevs",
    "cwe_ids": [
      "CWE-789"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/104xxx/CVE-2026-104015.json"
  },
  "details": "In jackson-dataformat-avro, decodeBytes() in both the default native decoder (JacksonAvroParserImpl) and the Apache-decoder variant (ApacheAvroParserImpl) allocates a byte[] directly from the attacker-controlled length prefix of an Avro bytes value, without checking it against the remaining input or any limit. A payload of about 5 bytes can force an allocation of up to about 2 GB before any data is read, causing an OutOfMemoryError and denial of service. Decimal fields decoded through decodeBytesDecimal are affected the same way. This affects com.fasterxml.jackson.dataformat:jackson-dataformat-avro 2.9.0 through 2.18.11, 2.19.0 through 2.21.7 and 2.22.0 through 2.22.3, and tools.jackson.dataformat:jackson-dataformat-avro 3.0.0 through 3.1.7 and 3.2.0 through 3.2.3. It is fixed in 2.18.12, 2.21.8, 2.22.4, 3.1.8 and 3.2.4.",
  "id": "CVE-2026-104015",
  "modified": "2026-12-01T17:45:44.336441101Z",
  "published": "2026-12-01T15:25:30.800Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/104xxx/CVE-2026-104015.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/FasterXML/jackson-dataformats-binary"
    },
    {
      "type": "FIX",
      "url": "https://github.com/FasterXML/jackson-dataformats-binary/pull/820"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/FasterXML/jackson-dataformats-binary/security/advisories/GHSA-gf9r-rhg2-fj5v"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-104015"
    },
    {
      "type": "WEB",
      "url": "https://www.herodevs.com/vulnerability-directory/cve-2026-104015"
    }
  ],
  "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": "Unbounded byte[] allocation from Avro bytes length prefix in jackson-dataformat-avro"
}