CVE-2025-4565
Unbounded recursion in Python Protobuf
CVE-2025-4565 affects protocolbuffers Python-Protobuf (CVSS 5.3, Medium).
No known exploitation. EPSS puts it in the 18th percentile. Fixed versions are out.
No public exploit knownFix5 products3 fixed builds listed below
e.g. OID 1.3.6.1.4.1.25623.1.0.133205
What to do
Find your product and version, then upgrade to the build on the right.
- protocolbuffers Python-ProtobufAffected: < 4.25.8Upgrade to: 4.25.8Affected: < 5.29.5Upgrade to: 5.29.5Affected: < 6.31.1Upgrade to: 6.31.1Stated by: CVE record
- PyPI protobufAffected: < 4.25.8Upgrade to: 4.25.8Stated by: GitHub advisory
- Google Protobuf-pythonAffected: < 4.25.8Upgrade to: 4.25.8Stated by: NVD
- Canonical Ltd. UbuntuAffected: 14.04 LTSUpgrade to: not statedStated by: BDU
- Novell Inc. Suse Linux Enterprise ServerAffected: 12 SP5Upgrade to: not statedStated by: BDU
Versions as the sources state them. 22 more products have version data. Full version matrix after sign-in
What it is
From the CVE record
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
In plain language
No plain-language summary for this CVE yet.
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
No public exploit or proof of concept found in the sources we track.
- EPSS
0.3% chance of exploitation activity in the next 30 days, which ranks it in the 18th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
6 events over 374 days, from the signal feeds we watch.
- OpenVAS check added
- Patch availablerecord updated
- Publishedweakness classified, att&ck mapped
Affected products
- SUSE Linux Enterprise Server for SAP ApplicationsOperating Systems / linux-distro
- SUSE Linux Enterprise Module for BasesystemOperating Systems / linux-distro
- SUSE Linux Enterprise High Performance ComputingOperating Systems / linux-distro
- SUSE Linux Enterprise MicroOperating Systems / linux-distro
- SUSE Linux Enterprise Module for Development ToolsOperating Systems / linux-distro
- SUSE Manager Retail Branch ServerOperating Systems / linux-distro
- SUSE Manager ProxyOperating Systems / linux-distro
- SUSE Manager ServerOperating Systems / linux-distro
And 13 more affected products. See all after sign-in
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Scored 5.3 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality NoneNo confidentiality impact
- Integrity NoneNo integrity impact
- Availability LowReduced performance or intermittent disruption of service
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
Sources
References in the record
- github.com/protocolbuffers/protobuf/commit/17838beda2943d08b8a9d4df5b68f5f04f26d901
- github.com/protocolbuffers/protobuf/security/advisories/GHSA-735f-pc8j-v9w8
- github.com/protocolbuffers/protobuf/security/advisories/GHSA-8qvm-5x2c-j2w7
And 12 more references. See all after sign-in
Questions about CVE-2025-4565
- Is CVE-2025-4565 being exploited?
- No exploitation is confirmed and no public exploit is known. EPSS puts the chance of exploitation in the next 30 days at 0.3%.
- Which versions are affected by CVE-2025-4565?
- Python-Protobuf: < 4.25.8; < 5.29.5; < 6.31.1. Protobuf: < 4.25.8. Protobuf-python: < 4.25.8. 24 more products are listed in the record.
- How do I fix or mitigate CVE-2025-4565?
- Upgrade to a fixed build for your product branch: 4.25.8, 5.29.5, 6.31.1. The advisory is on github.com.
Last updated
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Python-Protobuf, not every advisory.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI