{"id":"UBUNTU-CVE-2022-3509","details":"A parsing issue similar to CVE-2022-3171, but with textformat in protobuf-java core and lite versions prior to 3.21.7, 3.20.3, 3.19.6 and 3.16.3 can lead to a denial of service attack. Inputs containing multiple instances of non-repeated embedded messages with repeated or unknown fields causes objects to be converted back-n-forth between mutable and immutable forms, resulting in potentially long garbage collection pauses. We recommend updating to the versions mentioned above.","modified":"2026-04-22T15:35:46.293394Z","published":"2022-12-12T13:15:00Z","upstream":["CVE-2022-3509"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-3509"},{"type":"REPORT","url":"https://github.com/protocolbuffers/protobuf/commit/a3888f53317a8018e7a439bac4abeb8f3425d5e9"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-3509"}],"affected":[{"package":{"name":"protobuf","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/protobuf@2.5.0-9ubuntu1+esm1?arch=source&distro=esm-infra-legacy/trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4.1-3ubuntu2","2.4.1-3ubuntu3","2.4.1-3ubuntu4","2.5.0-5ubuntu2","2.5.0-7ubuntu1","2.5.0-8ubuntu1","2.5.0-9ubuntu1","2.5.0-9ubuntu1+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libprotobuf-java","binary_version":"2.5.0-9ubuntu1+esm1"},{"binary_name":"libprotobuf-lite8","binary_version":"2.5.0-9ubuntu1+esm1"},{"binary_name":"libprotobuf8","binary_version":"2.5.0-9ubuntu1+esm1"},{"binary_name":"libprotoc8","binary_version":"2.5.0-9ubuntu1+esm1"},{"binary_version":"2.5.0-9ubuntu1+esm1","binary_name":"protobuf-compiler"},{"binary_name":"python-protobuf","binary_version":"2.5.0-9ubuntu1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-3509.json"}},{"package":{"name":"protobuf","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/protobuf@2.6.1-1.3ubuntu0.1~esm4?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.6.1-1.2","2.6.1-1.3","2.6.1-1.3ubuntu0.1~esm1","2.6.1-1.3ubuntu0.1~esm2","2.6.1-1.3ubuntu0.1~esm4"],"ecosystem_specific":{"binaries":[{"binary_name":"libprotobuf-java","binary_version":"2.6.1-1.3ubuntu0.1~esm4"},{"binary_name":"libprotobuf-lite9v5","binary_version":"2.6.1-1.3ubuntu0.1~esm4"},{"binary_name":"libprotobuf9v5","binary_version":"2.6.1-1.3ubuntu0.1~esm4"},{"binary_version":"2.6.1-1.3ubuntu0.1~esm4","binary_name":"libprotoc9v5"},{"binary_name":"protobuf-compiler","binary_version":"2.6.1-1.3ubuntu0.1~esm4"},{"binary_version":"2.6.1-1.3ubuntu0.1~esm4","binary_name":"python-protobuf"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-3509.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}