{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-4565","id":"CVE-2025-4565","title":"Unbounded recursion in Python Protobuf","description":"Any project that uses Protobuf Pure-Python backend to parse untrusted Protocol Buffers data containing an arbitrary number of recursive groups, recursive messages or a series of SGROUP tags can be corrupted by exceeding the Python recursion limit. This can result in a Denial of service by crashing the application with a RecursionError. We recommend upgrading to version =>6.31.1 or beyond commit 17","descriptionLong":"Any project that uses Protobuf Pure-Python backend to parse untrusted Protocol Buffers data containing an arbitrary number of recursive groups, recursive messages or a series of SGROUP tags can be corrupted by exceeding the Python recursion limit. This can result in a Denial of service by crashing the application with a RecursionError. We recommend upgrading to version =>6.31.1 or beyond commit 17838beda2943d08b8a9d4df5b68f5f04f26d901","published":"2025-06-16T14:50:40.906Z","updated":"2026-10-28T11:01:42.752814009Z","reserved":"2025-05-12T05:48:12.941Z","status":"Analyzed","rejected":false,"assigner":"Google","metric":{"version":"4.0","score":8.2,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","rating":"high","source":"Google"},"metrics":[{"version":"4.0","score":8.2,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","rating":"high","source":"Google"},{"version":"4.0","score":8.2,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"high","source":"google.com"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","rating":"high","source":"GitHub"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"NVD"}],"rating":"high","products":["protocolbuffers Python-Protobuf"],"affectedProducts":[{"vendor":"protocolbuffers","product":"Python-Protobuf","defaultStatus":"unaffected","versions":[{"lessThan":"4.25.8","status":"affected","version":"0","versionType":"semver"},{"lessThan":"5.29.5","status":"affected","version":"0","versionType":"semver"},{"lessThan":"6.31.1","status":"affected","version":"0","versionType":"semver"}],"platforms":[]},{"vendor":"protocolbuffers","product":"Python-Protobuf","defaultStatus":"unaffected","versions":[{"lessThan":"4.25.8","status":"affected","version":"0","versionType":"semver"},{"lessThan":"5.29.5","status":"affected","version":"0","versionType":"semver"},{"lessThan":"6.31.1","status":"affected","version":"0","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"protobuf","purl":"pkg:pypi/protobuf","ranges":["<4.25.8",">=5.26.0rc1 <5.29.5",">=6.30.0rc1 <6.31.1"],"fixed":["4.25.8","5.29.5","6.31.1"],"advisory":"GHSA-8qvm-5x2c-j2w7"}],"cwes":["CWE-674"],"aliases":["GHSA-8qvm-5x2c-j2w7","PYSEC-2026-1806"],"references":[{"url":"https://github.com/protocolbuffers/protobuf/commit/17838beda2943d08b8a9d4df5b68f5f04f26d901","tags":["Patch","fix","web"]},{"url":"https://github.com/protocolbuffers/protobuf/","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/4xxx/CVE-2025-4565.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-4565","tags":["advisory"]},{"url":"https://pypi.org/project/protobuf/","tags":["package"]},{"url":"https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-735f-pc8j-v9w8","tags":["web"]},{"url":"https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-8qvm-5x2c-j2w7","tags":["web"]},{"url":"https://github.com/protocolbuffers/protobuf","tags":["package"]},{"url":"https://github.com/protocolbuffers/protobuf/blob/main/python/google/protobuf/internal/decoder_test.py#L87-L98","tags":["web"]},{"url":"https://github.com/protocolbuffers/protobuf/blob/main/python/google/protobuf/internal/message_test.py#L1436-L1478","tags":["web"]},{"url":"https://github.com/protocolbuffers/protobuf/tree/main/python#implementation-backends","tags":["web"]},{"url":"https://pypi.org/project/protobuf","tags":["package"]},{"url":"https://github.com/advisories/GHSA-8qvm-5x2c-j2w7","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00259,"epssPercentile":0.17741,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-4565","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-4565","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-4565","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-8qvm-5x2c-j2w7","ok":true,"note":"GHSA-8qvm-5x2c-j2w7"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-4565","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}