Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach endpoint parsing untrusted Avro
-
DeliverySend ~5-byte crafted bytes/decimal length prefix
-
ExploitParser allocates up to 2GB eagerly
-
ExecutionOutOfMemoryError before data read
-
ImpactDenial of service via memory exhaustion
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory allocation limits
|
| Exploitation Conditions | Exploitation requires the target application to deserialize attacker-controlled Avro data through jackson-dataformat-avro (AvroMapper.readValue) where the schema includes an Avro 'bytes' field or a 'decimal' logical-type field (decoded via decodeBytes/decodeBytesDecimal). It is reachable against DEFAULT configurations because AvroFactoryBuilder defaults to the native decoder (JacksonAvroParserImpl); the Apache-decoder variant (builderWithApacheDecoder(), ApacheAvroParserImpl) is equally affected and additionally bypasses Apache BinaryDecoder's own SystemLimit guard. Per CVSS (AV:N/AC:L/PR:N/UI:N) no authentication or user interaction is needed. The only real limiting factors are exposure-based: the service must accept Avro input from an untrusted source and the schema must contain a bytes/decimal field; the attacker controls the payload while the server owns the schema (the normal Avro trust boundary). Affected: com.fasterxml 2.9.0-2.18.11, 2.19.0-2.21.7, 2.22.0-2.22.3 and tools.jackson 3.0.0-3.1.7, 3.2.0-3.2.3. Updating to a fixed release is the remediation stated by the vendor. |
| Impact | This is a genuine but bounded-impact priority: a CWE-789 unbounded allocation reachable over the network with no authentication and low complexity (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H = 7.5), but the impact is availability-only (C:N/I:N) - no code execution or data exposure. The SSVC framework aligns with a serious-but-not-emergency posture: Exploitation=poc, Automatable=yes (a ~5-byte payload reliably forces the allocation, so it scales trivially), Technical Impact=partial (DoS, not total system takeover), and the vuln.today Decision label is 'this_week' rather than act_now/emergency. A public proof-of-concept is included and reportedly executed in the GHSA advisory (on 2.18.2 under -Xmx256m), so exploitability is demonstrated, but this is NOT in CISA KEV and no EPSS score was provided - there is no evidence of active in-the-wild exploitation. No signals conflict here: the network vector, the default-decoder reachability, and the attacker-controls-payload/server-controls-schema trust boundary described in the advisory are all mutually consistent. The main thing that gates real-world risk is not the CVSS metrics but exposure - only services that actually parse attacker-supplied Avro are affected. Treat as a high-severity DoS to patch promptly, not as a critical RCE. |
| Exploit ScenarioDerived | An attacker sends a tiny crafted Avro payload (roughly 5 bytes: just the zig-zag varint length prefix for a 'bytes' or decimal field declaring a length near Integer.MAX_VALUE, with no actual data) to a service that deserializes untrusted Avro via AvroMapper. The parser's decodeBytes()/decodeBytesDecimal() immediately executes new byte[len], allocating up to ~2 GB before reading any content, throwing OutOfMemoryError. A working PoC is demonstrated in the GHSA advisory; because the default native decoder is affected and exploitation is automatable, repeated or concurrent requests reliably exhaust memory. Attack vector is network with low complexity and no authentication. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
Memory-exhaustion denial of service in jackson-dataformat-avro: when AvroMapper deserializes an Avro 'bytes' field (or a 'decimal' field decoded through the same path), the zig-zag varint length prefix is trusted and a byte[] is allocated directly from it, so a roughly 5-byte payload declaring close to 2 GB triggers an OutOfMemoryError before any content is read. Every release from 2.9.0 through 2.22.3 on the com.fasterxml line and 3.0.0 through 3.2.3 on the tools.jackson line is affected in both the default native decoder and the Apache-decoder variant, and the CVSS vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, 7.5) confirms no authentication or user interaction is required, though the impact is availability-only. A public proof-of-concept exists and has been demonstrated to trigger the OutOfMemoryError on 2.18.2; vendor fixes are released in 2.18.12, 2.21.8, 2.22.4, 3.1.8 and 3.2.4, and no CISA KEV listing is recorded at time of analysis, so this is prioritized for remediation this week rather than treated as confirmed active exploitation.
RemediationAI
Upgrade to a fixed release, which is the remediation stated by the vendor: com.fasterxml.jackson.dataformat:jackson-dataformat-avro 2.18.12, 2.21.8 or 2.22.4 depending on your maintained branch, and tools.jackson.dataformat:jackson-dataformat-avro 3.1.8 or 3.2.4 for the 3.x line. The patch (https://github.com/FasterXML/jackson-dataformats-binary/pull/820, described in https://github.com/FasterXML/jackson-dataformats-binary/security/advisories/GHSA-gf9r-rhg2-fj5v) caps the eager allocation at LONGEST_NON_CHUNKED_BINARY_READ = 250,000 bytes and streams larger bytes and fixed values through a ByteArrayBuilder in chunk-sized reads, so truncated content is reported before a declared-length buffer is allocated; it applies to both JacksonAvroParserImpl and ApacheAvroParserImpl, so switching to the Apache decoder via builderWithApacheDecoder() is not a mitigation. Because the exposure, not a configuration switch, is what limits this issue, the practical interim measure is to stop feeding untrusted Avro payloads into AvroMapper.readValue for schemas containing bytes or decimal fields until the patched version is deployed; note that adding a large heap does not address the amplification described in the advisory, since the declared length can itself reach roughly 2 GB.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Avro encodes a 'bytes' value as a zig-zag varint length prefix followed by that many raw octets. In jackson-dataformat-avro, JacksonAvroParserImpl.decodeBytes() (the default decoder selected by AvroFactoryBuilder) reads that prefix via decodeInt() and, after only a len <= 0 check, executes new byte[len] where len can be as large as Integer.MAX_VALUE, with no comparison against remaining input or any StreamReadConstraints limit; _read() only discovers the truncation afterwards. ApacheAvroParserImpl.decodeBytes() has the same sink and additionally sidesteps Apache BinaryDecoder.readBytes()'s own SystemLimit guard by calling readInt() and readFixed() and allocating the array itself. Decimal logical types inherit the flaw through decodeBytesDecimal(), because the floating-point length validation runs after the allocation. This is CWE-789 (memory allocation with excessive size, related to CWE-770), and the project already solved the identical problem in its CBOR sibling after CVE-2020-28491 by diverting lengths above LONGEST_NON_CHUNKED_BINARY to an incremental ByteArrayBuilder; that guard was never ported to the Avro module, and the same class of omission is distinct from the previously reported Smile/Protobuf advisory GHSA-ww35-763r-jg22. The trust boundary is the normal one for Avro: the server owns the schema, so the schema must contain a bytes or decimal field, but the attacker fully controls the encoded payload and can reach the sink in default configuration, making the flaw automatable (SSVC Automatable: yes) with partial technical impact. The upstream fix (PR #820) introduces LONGEST_NON_CHUNKED_BINARY_READ = 250_000 and routes longer declared lengths through _readBytes(), which streams content in chunk-sized reads into a ByteArrayBuilder, reports end-of-input before allocating a buffer of the declared size, and also adds an explicit null-input-stream error path in _read().
Know when Jackson Dataformat Avro gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Remote, unauthenticated, low-complexity parsing of attacker Avro via the default decoder yields availability-only impact (memory exhaustion), so C:N/I:N/A:H.
Primary rating from Vendor (HeroDevs).
CVSS VectorVendor: HeroDevs
DescriptionCVE.org
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.
Executive ViewAI
A high-severity denial-of-service vulnerability in the widely used jackson-dataformat-avro library allows unauthenticated attackers to crash any service that deserializes Avro data by sending a tiny malicious payload. This affects both the 2.x and 3.x release lines, meaning a broad range of applications and microservices that rely on this library for data serialization are at risk. Leadership should prioritize remediation because an outage could disrupt business operations and customer-facing services, and a public proof-of-concept is available, increasing the likelihood of exploitation attempts.
If immediate patching is not possible, restrict deserialization of Avro data to trusted sources only, enforce strict input size limits at the application or network layer, and monitor for anomalous memory usage or OutOfMemoryError events; however, these are temporary measures until the vendor patch can be applied.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-140305
NVD
CVE.org
Vulnrichment
GitHub
Exploit-DB