{"cve":"CVE-2023-37475","nvd":{"published":"2023-07-17T17:15:10.127","modified":"2026-06-17T06:08:17.633","status":"Modified","description":"Hamba avro is a go lang encoder/decoder implementation of the avro codec specification. In affected versions a well-crafted string passed to avro's `github.com/hamba/avro/v2.Unmarshal()` can throw a `fatal error: runtime: out of memory` which is unrecoverable and can cause denial of service of the consumer of avro. The root cause of the issue is that avro uses part of the input to `Unmarshal()` to determine the size when creating a new slice and hence an attacker may consume arbitrary amounts of memory which in turn may cause the application to crash. This issue has been addressed in commit `b4a402f4` which has been included in release version `2.13.0`. Users are advised to upgrade. There are no known workarounds for this vulnerability.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-400"],"references":["https://github.com/hamba/avro/commit/b4a402f41cf44b6094b5131286830ba9bb1eb290","https://github.com/hamba/avro/security/advisories/GHSA-9x44-9pgq-cf45","https://github.com/hamba/avro/commit/b4a402f41cf44b6094b5131286830ba9bb1eb290","https://github.com/hamba/avro/security/advisories/GHSA-9x44-9pgq-cf45"],"products":["avro_project:avro"],"source":"nvd","synced_at":"2026-10-19T21:38:35.729974749+00:00"},"epss":{"cve":"CVE-2023-37475","score":0.00953,"percentile":0.61347,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-9x44-9pgq-cf45","url":"https://osv.dev/vulnerability/GHSA-9x44-9pgq-cf45","summary":"avro vulnerable to denial of service via attacker-controlled parameter","modified":"2026-09-10T03:49:57.264750278Z","packages":[{"ecosystem":"Go","name":"github.com/hamba/avro","purl":"pkg:golang/github.com/hamba/avro","ranges":["<2.13.0"],"fixed":["2.13.0"]},{"ecosystem":"Go","name":"github.com/hamba/avro/v2","purl":"pkg:golang/github.com/hamba/avro/v2","ranges":["<2.13.0"],"fixed":["2.13.0"]}]},{"id":"GO-2023-1930","url":"https://osv.dev/vulnerability/GO-2023-1930","summary":"Unrestricted memory consumption in github.com/hamba/avro","modified":"2026-02-04T03:29:50.273886Z","packages":[{"ecosystem":"Go","name":"github.com/hamba/avro/v2","purl":"pkg:golang/github.com/hamba/avro/v2","ranges":["<2.13.0"],"fixed":["2.13.0"]},{"ecosystem":"Go","name":"github.com/hamba/avro","purl":"pkg:golang/github.com/hamba/avro","ranges":["all versions"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}