Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-28491

This affects the package com.fasterxml.jackson.dataformat:jackson-dataformat-cbor from 0 and before 2.11.4, from 2.12.0-rc1 and before 2.12.1. Unchecked allocation of byte buffer can cause a java.lang.OutOfMemoryError exception.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-28491
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 09:26 UTC · Revision 1

Source evidence

CVE-2020-28491

core-osv · Original source

Published 18 Feb 2021, 16:15 UTC

This affects the package com.fasterxml.jackson.dataformat:jackson-dataformat-cbor from 0 and before 2.11.4, from 2.12.0-rc1 and before 2.12.1. Unchecked allocation of byte buffer can cause a java.lang.OutOfMemoryError exception.

osv:CVE-2020-28491
Complete source record
{
  "id": "68ae9ec5444c56130499780465003a5dcecaf21a9d2b157cea8e349cda270a77",
  "url": "https://osv.dev/vulnerability/CVE-2020-28491",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-28491",
    "summary": "This affects the package com.fasterxml.jackson.dataformat:jackson-dataformat-cbor from 0 and before 2.11.4, from 2.12.0-rc1 and before 2.12.1. Unchecked allocation of byte buffer can cause a java.lang.OutOfMemoryError exception.",
    "evidence": "osv:CVE-2020-28491",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2020-28491",
      "aliases": [
        "CVE-2020-28491",
        "GHSA-xmc8-26q4-qjhx",
        "SNYK-JAVA-COMFASTERXMLJACKSONDATAFORMAT-1047329"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/fasterxml/jackson-dataformats-binary",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "f2c09e1f3f45a7dbe435f32f3efb5700fcb7ff32"
                },
                {
                  "fixed": "315066c1aa3c14bca5d09aa8058c1dbf53fa53d8"
                },
                {
                  "introduced": "4aa3054ddcb70eee398a2a7f31cf8195fbb96837"
                },
                {
                  "last_affected": "f75d08bba233c9aca6e0399f1300c8bec0a15932"
                },
                {
                  "fixed": "de072d314af8f5f269c8abec6930652af67bc8e6"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:fasterxml:jackson-dataformats-binary:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.11.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:fasterxml:jackson-dataformats-binary:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.12.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:fasterxml:jackson-dataformats-binary:2.12.0:-:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.12.0-NA"
                      },
                      {
                        "last_affected": "2.12.0-NA"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:fasterxml:jackson-dataformats-binary:2.12.0:rc1:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.12.0-rc1"
                      },
                      {
                        "last_affected": "2.12.0-rc1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:fasterxml:jackson-dataformats-binary:2.12.0:rc2:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.12.0-rc2"
                      },
                      {
                        "last_affected": "2.12.0-rc2"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "de072d314af8f5f269c8abec6930652af67bc8e6"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.12.0-NA",
            "2.12.0-rc1",
            "2.12.0-rc2",
            "jackson-dataformats-binary-2.12.0",
            "jackson-dataformats-binary-2.12.0-rc2",
            "jackson-dataformats-binary-2.12.0-rc1",
            "jackson-dataformats-binary-2.11.3",
            "jackson-dataformats-binary-2.11.2",
            "jackson-dataformats-binary-2.11.1",
            "jackson-dataformats-binary-2.11.0",
            "jackson-dataformats-binary-2.11.0.rc1",
            "jackson-dataformats-binary-2.10.0",
            "jackson-dataformats-binary-2.10.0.pr3",
            "jackson-dataformats-binary-2.10.0.pr2",
            "jackson-dataformats-binary-2.10.0.pr1",
            "jackson-dataformats-binary-2.9.6",
            "jackson-dataformats-binary-2.9.5",
            "jackson-dataformats-binary-2.9.4",
            "jackson-dataformats-binary-2.9.3",
            "jackson-dataformats-binary-2.9.2",
            "jackson-dataformats-binary-2.9.1",
            "jackson-dataformats-binary-2.9.0",
            "jackson-dataformats-binary-2.9.0.pr4",
            "jackson-dataformats-binary-2.9.0.pr3",
            "jackson-dataformats-binary-2.8.4",
            "jackson-dataformats-binary-2.8.3",
            "jackson-dataformats-binary-2.8.2",
            "jackson-dataformats-binary-2.8.1",
            "jackson-dataformats-binary-2.8.0",
            "jackson-dataformats-binary-2.8.0.rc2",
            "jackson-dataformats-binary-2.8.0.rc1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-28491.json",
            "vanir_signatures": [
              {
                "id": "CVE-2020-28491-0ebbf2d0",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "129983155497639191821232729987906768590",
                    "293721718097756488639842468111192569958",
                    "277084483174521411667096336893893552039",
                    "327950003078725394238594746057898134396",
                    "90358465180018884696325127426795283433",
                    "32046326522691793560477738231319690675",
                    "129502278070894466149979291530589893008",
                    "232629767048977343073560288718428436817",
                    "256097333289448449389483771575020193030",
                    "106606627730428513147546610508871963184",
                    "25585344382680633111074017748753085804",
                    "5100276345026810479043727905114164406",
                    "321268313926450555153135542864676488572",
                    "327876982926057006583313670332935291689",
                    "21838303680019300127876574403161259481",
                    "67709398790751532445333746567443784986",
                    "56783431110364640156774298954688069741",
                    "337701623603561665201730327643043411740",
                    "65074913798098046064880138043397506537",
                    "196085477388162190113911383995920223225",
                    "218459687528603701055254638388721989634",
                    "166427403261253523661464004669658013164",
                    "296952275590201602347985611437168983378",
                    "177939048048205355807484105278018514921",
                    "36043301171711945796036643856087427323",
                    "274824825744177424663278282307424272372",
                    "278514542567996661184735554378843888287",
                    "318772613548819191477071427544588772209",
                    "325051459090327163649805835726370373250",
                    "43759424000242679966655295523741071057",
                    "202104046224665685100848242685295024521",
                    "73726737732190831612647247731356203998",
                    "290159510129303302105228511105620619398",
                    "302186350127742671400415888881254124593",
                    "338529064238834256711224528964915477865",
                    "316712323200081705766394325361131154443",
                    "1680890575939264076067885112541104730",
                    "171067707598149894936208036274920719631",
                    "42901989861396535960874244916232830975",
                    "147840393942686607977524498973952351660",
                    "321934946151966803547262389627853960039",
                    "31603957422268562336019888034252688236",
                    "155441650641331400118754750039884930924",
                    "242794240806336798223930833137119166850",
                    "206903644196711083705257983950496989737",
                    "83772662390265721985494413751827400968",
                    "195001702550610504286888798822182878192",
                    "191488667509288959197348735967244936916",
                    "25585344382680633111074017748753085804",
                    "5100276345026810479043727905114164406",
                    "291379714798149480470984844890582812399",
                    "299874382837472514861433092753620775607",
                    "248234090661109185925145951854811301324",
                    "20963995269190925250804656088824813206",
                    "104567563143988142563870835667649724170",
                    "196235263204402402609763157836752369823",
                    "151757446087398289622995848660147899636",
                    "258757145405178391180794398220819150294",
                    "106519248053627447208732498316250623012",
                    "323463837471766102646408590666503129424",
                    "160189882639841371924360294416448527409",
                    "235146744732920406682969336417271593953",
                    "40860746391389089246239248198686067914",
                    "206213146143000379543054723917779547703",
                    "74635240172505085265429406546657775765",
                    "294505490826375021136667253204022143196",
                    "81865039181064509093556433364270165969",
                    "162496388304201938555696298351945565569"
                  ]
                },
                "source": "https://github.com/fasterxml/jackson-dataformats-binary/commit/de072d314af8f5f269c8abec6930652af67bc8e6",
                "target": {
                  "file": "cbor/src/main/java/com/fasterxml/jackson/dataformat/cbor/CBORParser.java"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2020-28491-6c2fe96d",
                "digest": {
                  "length": 1339,
                  "function_hash": "18576926615204975445573486525009627693"
                },
                "source": "https://github.com/fasterxml/jackson-dataformats-binary/commit/de072d314af8f5f269c8abec6930652af67bc8e6",
                "target": {
                  "file": "cbor/src/main/java/com/fasterxml/jackson/dataformat/cbor/CBORParser.java",
                  "function": "_finishBytes"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2020-28491-d02d9295",
                "digest": {
                  "length": 396,
                  "function_hash": "133583911733986147634947244890322136993"
                },
                "source": "https://github.com/fasterxml/jackson-dataformats-binary/commit/de072d314af8f5f269c8abec6930652af67bc8e6",
                "target": {
                  "file": "cbor/src/main/java/com/fasterxml/jackson/dataformat/cbor/CBORParser.java",
                  "function": "_readAndWriteBytes"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2020-28491-f0bd70c0",
                "digest": {
                  "length": 528,
                  "function_hash": "250093413643581265500582662402343291543"
                },
                "source": "https://github.com/fasterxml/jackson-dataformats-binary/commit/de072d314af8f5f269c8abec6930652af67bc8e6",
                "target": {
                  "file": "cbor/src/test/java/com/fasterxml/jackson/dataformat/cbor/failing/BrokenLongBinary186Test.java",
                  "function": "testCorruptVeryLongBinary"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2020-28491-f42175e3",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "246800345423135692582171137264117158399",
                    "203247005902182406251857672334776410423",
                    "188831964508150588921972691085375264994",
                    "175302170851142590452665831559816457889",
                    "325566956706907097326739271493722429060",
                    "59390975657142484646348414648889502443",
                    "301732068583506116245146746134284490402",
                    "39115216093159656302879503426757917099",
                    "320216939997167431237265052092530217091",
                    "241476131684266328850980344216308011129",
                    "271201860604088826282660457755475539691",
                    "227367983070827541848635707835717238580",
                    "135967562241849933856414360756167589405",
                    "171279783161637924970486287673373715269",
                    "24393685379264252497193153162126591343",
                    "147243851137440751584877449674307599303",
                    "228711167884539430473509455367961697513",
                    "72571201198871009329158081961387733988",
                    "243228197233131270282623268308941239884",
                    "83394137749162493113866250919367758159",
                    "285175852603903057527171414908876590790",
                    "129938880201533632891819795385289412487",
                    "91346598705182248979770769375061916937",
                    "303366485401885038260486055081342080879",
                    "26035181553770217152310349951669607821",
                    "299509819860536002629293172949335238616",
                    "318458011858797955580024688403837128873",
                    "318479626346718256823842507034274753779"
                  ]
                },
                "source": "https://github.com/fasterxml/jackson-dataformats-binary/commit/de072d314af8f5f269c8abec6930652af67bc8e6",
                "target": {
                  "file": "cbor/src/test/java/com/fasterxml/jackson/dataformat/cbor/failing/BrokenLongBinary186Test.java"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-24T14:24:34Z"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/quarkusio/quarkus",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "64dd8efe686475d8fc1d71187b0b93a9725ec434"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:quarkus:quarkus:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.0.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-28491.json"
          }
        }
      ],
      "modified": "2026-10-24T14:24:34.260253579Z",
      "provider": "osv",
      "references": [
        "https://github.com/FasterXML/jackson-dataformats-binary/commit/de072d314af8f5f269c8abec6930652af67bc8e6",
        "https://github.com/FasterXML/jackson-dataformats-binary/issues/186",
        "https://snyk.io/vuln/SNYK-JAVA-COMFASTERXMLJACKSONDATAFORMAT-1047329",
        "https://www.oracle.com/security-alerts/cpujul2022.html"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:fasterxml:jackson-dataformats-binary:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fasterxml:jackson-dataformats-binary",
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "2.11.4"
                  },
                  {
                    "fixed": "2.12.1"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:fasterxml:jackson-dataformats-binary:2.12.0:-:*:*:*:*:*:*",
              "cpe:2.3:a:fasterxml:jackson-dataformats-binary:2.12.0:rc1:*:*:*:*:*:*",
              "cpe:2.3:a:fasterxml:jackson-dataformats-binary:2.12.0:rc2:*:*:*:*:*:*"
            ],
            "vendor_product": "fasterxml:jackson-dataformats-binary",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.12.0-NA"
                  },
                  {
                    "last_affected": "2.12.0-NA"
                  },
                  {
                    "introduced": "2.12.0-rc1"
                  },
                  {
                    "last_affected": "2.12.0-rc1"
                  },
                  {
                    "introduced": "2.12.0-rc2"
                  },
                  {
                    "last_affected": "2.12.0-rc2"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:weblogic_server:12.2.1.3.0:*:*:*:*:*:*:*",
              "cpe:2.3:a:oracle:weblogic_server:12.2.1.4.0:*:*:*:*:*:*:*",
              "cpe:2.3:a:oracle:weblogic_server:14.1.1.0.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:weblogic_server",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "12.2.1.3.0"
                  },
                  {
                    "last_affected": "12.2.1.3.0"
                  },
                  {
                    "introduced": "12.2.1.4.0"
                  },
                  {
                    "last_affected": "12.2.1.4.0"
                  },
                  {
                    "introduced": "14.1.1.0.0"
                  },
                  {
                    "last_affected": "14.1.1.0.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2020-28491",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 443703,
  "published_at": "2021-02-18T16:15:13.207+00:00"
}