{"id":"GO-2026-5047","revision":"7e62d266780648a0b9fe9497ac0eb39e","records":[{"revision":"7e62d266780648a0b9fe9497ac0eb39e","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2026-5047","aliases":["CVE-2026-46384","GHSA-mc57-h6j3-3hmv"],"title":"Integer overflow in Avro decoder in github.com/iskorotkov/avro/v2 and github.com/hamba/avro/v2","description":"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, the truncation paths can silently bypass byte-slice limits, select the wrong union branch, or hit a negative-make panic via wrap.\n\nThree sub-issues are not 32-bit-specific: cumulative-size arithmetic overflow in array and map decoders, negation of MinInt in block-header handling, and negative size in block reads. All three panic or bypass caps on any platform, giving an attacker a denial-of-service primitive. Exploitation requires only an untrusted Avro stream.","state":0,"publishedAt":"2026-07-27T16:16:22+00:00","modifiedAt":"2026-08-05T03:41:56.3889395+00:00","affected":[{"ecosystem":"Go","name":"github.com/iskorotkov/avro/v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.33.0"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/hamba/avro/v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/iskorotkov/avro/security/advisories/GHSA-mc57-h6j3-3hmv","https://github.com/iskorotkov/avro/commit/bed99b315ec097a1a5eb7ae074ef57a91848c583","https://github.com/iskorotkov/avro/commit/e1a570f9a8a4fe4b1bc2b4b1fb6d24e4a5f04358"],"sourceUrl":"https://osv.dev/vulnerability/GO-2026-5047","license":"OSV · upstream source license applies","key":"osv:GO-2026-5047","identifiers":["GO-2026-5047","CVE-2026-46384","GHSA-mc57-h6j3-3hmv"]},"retained":false,"historicalAffected":[]}],"coverage":[]}