Unbounded byte[] allocation from Avro bytes length prefix in jackson-dataformat-avro

Summary

CVECVE-2026-104015
StatePUBLISHED
AssignerHeroDevs
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-12-01 16:18:06 UTC
Updated2026-12-01 17:17:16 UTC
DescriptionIn 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.

Risk And Classification

Primary CVSS: v3.1 7.5 HIGH from 36c7be3b-2937-45df-85ea-ca7133ea542c

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Problem Types: CWE-789 | CWE-789 CWE-789 Memory Allocation with Excessive Size Value


VersionSourceTypeScoreSeverityVector
3.136c7be3b-2937-45df-85ea-ca7133ea542cSecondary7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
3.1CNACVSS7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA FasterXML Jackson-dataformat-avro affected 2.9.0 2.18.11 maven Not specified
CNA FasterXML Jackson-dataformat-avro affected 2.19.0 2.21.7 maven Not specified
CNA FasterXML Jackson-dataformat-avro affected 2.22.0 2.22.3 maven Not specified
CNA FasterXML Jackson-dataformat-avro affected 3.0.0 3.1.7 maven Not specified
CNA FasterXML Jackson-dataformat-avro affected 3.2.0 3.2.3 maven Not specified

References

ReferenceSourceLinkTags
www.herodevs.com/vulnerability-directory/cve-2026-104015 36c7be3b-2937-45df-85ea-ca7133ea542c www.herodevs.com
github.com/FasterXML/jackson-dataformats-binary/pull/820 36c7be3b-2937-45df-85ea-ca7133ea542c github.com
github.com/FasterXML/jackson-dataformats-binary/security/advisories/GHSA... 134c704f-9b21-4f2e-91b3-4a467353bcc0 github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: apvxlab (AppViewX security research) (en)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report