CVE-2026-46384: CWE-190: Integer Overflow or Wraparound in iskorotkov avro
iskorotkov/avro is a fast Go Avro codec. Prior to 2.33.0, several Avro decoder paths read attacker-controlled 64-bit values from the wire format and either narrowed them to platform-sized int before bounds-checking, or summed them with overflow-prone signed-int arithmetic. On 32-bit targets (GOARCH=386, arm, mips, wasm, etc.), the truncation paths can silently bypass byte-slice limits, select the wrong union branch, or hit the OCF negative-make panic via wrap. Three sub-issues are not 32-bit-specific: cumulative-size arithmetic overflow in arrayDecoder.Decode / mapDecoder.Decode / mapDecoderUnmarshaler.Decode (wraps at math.MaxInt64 on amd64 / arm64 and bypasses MaxSliceAllocSize / MaxMapAllocSize), math.MinInt negation in block-header handling, and make([]byte, size) with a negative size in OCF block reads — all three panic or bypass caps on any platform, giving an attacker a denial-of-service primitive there. This vulnerability is fixed in 2.33.0.
AI Analysis
Technical Summary
The iskorotkov avro Go library versions prior to 2.33.0 contain multiple integer overflow and wraparound issues in their Avro decoding logic. These issues arise from unsafe narrowing of 64-bit attacker-controlled values to platform-sized integers before bounds checking, and overflow-prone signed integer arithmetic. On 32-bit architectures, this can bypass byte-slice limits, select incorrect union branches, or cause panics. Additional cross-platform issues include cumulative size arithmetic overflow in array and map decoders, negation of math.MinInt in block-header handling, and negative size allocations during OCF block reads. These flaws enable denial-of-service attacks by crashing the application or exhausting resources. The vulnerability is fixed in version 2.33.0.
Potential Impact
A remote unauthenticated attacker can supply maliciously crafted Avro data to trigger integer overflows and unsafe memory allocations during decoding, resulting in denial of service through application crashes or excessive resource consumption. There is no impact on confidentiality or integrity, only availability is affected. The vulnerability affects both 32-bit and 64-bit platforms and can cause panics or bypass memory allocation limits.
Mitigation Recommendations
An official fix is available in iskorotkov avro version 2.33.0. Users are strongly advised to upgrade to this version or later to remediate the vulnerability. No practical temporary workaround is known or recommended by the vendor. Applying the security update fully mitigates the issue.
CVE-2026-46384: CWE-190: Integer Overflow or Wraparound in iskorotkov avro
Description
iskorotkov/avro is a fast Go Avro codec. Prior to 2.33.0, several Avro decoder paths read attacker-controlled 64-bit values from the wire format and either narrowed them to platform-sized int before bounds-checking, or summed them with overflow-prone signed-int arithmetic. On 32-bit targets (GOARCH=386, arm, mips, wasm, etc.), the truncation paths can silently bypass byte-slice limits, select the wrong union branch, or hit the OCF negative-make panic via wrap. Three sub-issues are not 32-bit-specific: cumulative-size arithmetic overflow in arrayDecoder.Decode / mapDecoder.Decode / mapDecoderUnmarshaler.Decode (wraps at math.MaxInt64 on amd64 / arm64 and bypasses MaxSliceAllocSize / MaxMapAllocSize), math.MinInt negation in block-header handling, and make([]byte, size) with a negative size in OCF block reads — all three panic or bypass caps on any platform, giving an attacker a denial-of-service primitive there. This vulnerability is fixed in 2.33.0.
CVSS v4.0
Score 8.7high
Affected software
pkg:golang/github.com/iskorotkov/avroRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The iskorotkov avro Go library versions prior to 2.33.0 contain multiple integer overflow and wraparound issues in their Avro decoding logic. These issues arise from unsafe narrowing of 64-bit attacker-controlled values to platform-sized integers before bounds checking, and overflow-prone signed integer arithmetic. On 32-bit architectures, this can bypass byte-slice limits, select incorrect union branches, or cause panics. Additional cross-platform issues include cumulative size arithmetic overflow in array and map decoders, negation of math.MinInt in block-header handling, and negative size allocations during OCF block reads. These flaws enable denial-of-service attacks by crashing the application or exhausting resources. The vulnerability is fixed in version 2.33.0.
Potential Impact
A remote unauthenticated attacker can supply maliciously crafted Avro data to trigger integer overflows and unsafe memory allocations during decoding, resulting in denial of service through application crashes or excessive resource consumption. There is no impact on confidentiality or integrity, only availability is affected. The vulnerability affects both 32-bit and 64-bit platforms and can cause panics or bypass memory allocation limits.
Mitigation Recommendations
An official fix is available in iskorotkov avro version 2.33.0. Users are strongly advised to upgrade to this version or later to remediate the vulnerability. No practical temporary workaround is known or recommended by the vendor. Applying the security update fully mitigates the issue.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-13T19:53:47.922Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Gcve Source
- db.gcve.eu
Threat ID: 6a19feb4e29bf47b500fc2dd
Added to database: 05/29/2026, 21:01:40 UTC
Last enriched: 08/13/2026, 19:58:20 UTC
Last updated: 09/14/2026, 22:12:16 UTC
Views: 166
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.