Medium
rust-protobuf — security advisory
The protobuf crate before 3.7.2 for Rust allows uncontrolled recursion in the protobuf::coded_input_stream::CodedInputStream::skip_group parsing of unknown fields in untrusted input.
- Products
- rust-protobuf
- Affected versions
- 2.25.2-1, 2.27.1-1, 2.27.1-1ubuntu1, 2.8.1-2, 3.7.2-1
- Fixed versions
- Not specified
- CVEs
- CVE-2025-53605
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:33 UTC · Revision 1
Source evidence
The protobuf crate before 3.7.2 for Rust allows uncontrolled recursion in the protobuf::coded_input_stream::CodedInputStream::skip_group parsing of unknown fields in untrusted input.
osv:UBUNTU-CVE-2025-53605
rust-protobuf
Fixed versions: Not specified
rust-protobuf
Fixed versions: Not specified
rust-protobuf
Fixed versions: Not specified
rust-protobuf
Fixed versions: Not specified
rust-protobuf
Fixed versions: Not specified
Complete source record
{
"id": "f297e4967654b860bab3e5cab80d34f2bc8f5e361c46421626cbff1e6591fa5d",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2025-53605",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2025-53605",
"summary": "The protobuf crate before 3.7.2 for Rust allows uncontrolled recursion in the protobuf::coded_input_stream::CodedInputStream::skip_group parsing of unknown fields in untrusted input.",
"evidence": "osv:UBUNTU-CVE-2025-53605",
"products": [
{
"name": {
"value": "rust-protobuf",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.8.1-2",
"evidence": "/affected/0/versions"
},
{
"value": "2.25.2-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "rust-protobuf",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.27.1-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "rust-protobuf",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.27.1-1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "rust-protobuf",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.7.2-1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "rust-protobuf",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.27.1-1",
"evidence": "/affected/4/versions"
},
{
"value": "2.27.1-1ubuntu1",
"evidence": "/affected/4/versions"
},
{
"value": "3.7.2-1",
"evidence": "/affected/4/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2025-53605",
"aliases": [
"UBUNTU-CVE-2025-53605"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "rust-protobuf",
"purl": "pkg:deb/ubuntu/rust-protobuf?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"2.8.1-2",
"2.25.2-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-53605.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "librust-protobuf+bytes-dev",
"binary_version": "2.25.2-1"
},
{
"binary_name": "librust-protobuf+serde-derive-dev",
"binary_version": "2.25.2-1"
},
{
"binary_name": "librust-protobuf+serde-dev",
"binary_version": "2.25.2-1"
},
{
"binary_name": "librust-protobuf+with-serde-dev",
"binary_version": "2.25.2-1"
},
{
"binary_name": "librust-protobuf-dev",
"binary_version": "2.25.2-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "rust-protobuf",
"purl": "pkg:deb/ubuntu/rust-protobuf?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"2.27.1-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-53605.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "librust-protobuf+bytes-dev",
"binary_version": "2.27.1-1"
},
{
"binary_name": "librust-protobuf+serde-derive-dev",
"binary_version": "2.27.1-1"
},
{
"binary_name": "librust-protobuf+serde-dev",
"binary_version": "2.27.1-1"
},
{
"binary_name": "librust-protobuf+with-serde-dev",
"binary_version": "2.27.1-1"
},
{
"binary_name": "librust-protobuf-dev",
"binary_version": "2.27.1-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "rust-protobuf",
"purl": "pkg:deb/ubuntu/rust-protobuf?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"2.27.1-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-53605.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "librust-protobuf+bytes-dev",
"binary_version": "2.27.1-1"
},
{
"binary_name": "librust-protobuf+serde-derive-dev",
"binary_version": "2.27.1-1"
},
{
"binary_name": "librust-protobuf+serde-dev",
"binary_version": "2.27.1-1"
},
{
"binary_name": "librust-protobuf+with-serde-dev",
"binary_version": "2.27.1-1"
},
{
"binary_name": "librust-protobuf-dev",
"binary_version": "2.27.1-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "rust-protobuf",
"purl": "pkg:deb/ubuntu/rust-protobuf?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"3.7.2-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-53605.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "librust-protobuf-dev",
"binary_version": "3.7.2-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "rust-protobuf",
"purl": "pkg:deb/ubuntu/rust-protobuf?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"2.27.1-1",
"2.27.1-1ubuntu1",
"3.7.2-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-53605.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "librust-protobuf-dev",
"binary_version": "3.7.2-1"
}
]
}
}
],
"modified": "2026-10-17T12:57:07.451380914Z",
"provider": "osv",
"upstream": [
"CVE-2025-53605"
],
"references": [
"https://ubuntu.com/security/CVE-2025-53605",
"https://www.cve.org/CVERecord?id=CVE-2025-53605",
"https://rustsec.org/advisories/RUSTSEC-2024-0437.html",
"https://crates.io/crates/protobuf"
]
},
"related_cves": [
{
"value": "CVE-2025-53605",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 356753,
"published_at": "2025-07-05T01:15:00+00:00"
}