{"id":"UBUNTU-CVE-2022-20203","details":"In multiple locations of the nanopb library, there is a possible way to corrupt memory when decoding untrusted protobuf files. This could lead to local escalation of privilege,with no additional execution privileges needed. User interaction is not needed for exploitation.","modified":"2026-05-20T16:07:34.573464880Z","published":"2022-06-15T22:15:00Z","upstream":["CVE-2022-20203"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-20203"},{"type":"REPORT","url":"https://source.android.com/security/bulletin/android-12l"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-20203"}],"affected":[{"package":{"name":"nanopb","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/nanopb?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.1-1","0.4.1-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"nanopb","binary_version":"0.4.1-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-20203.json"}},{"package":{"name":"nanopb","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/nanopb?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.4-2","0.4.5-1","0.4.5-2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.4.5-2","binary_name":"nanopb"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-20203.json"}},{"package":{"name":"nanopb","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/nanopb?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.7-2","0.4.7-3","0.4.8-1"],"ecosystem_specific":{"binaries":[{"binary_name":"nanopb","binary_version":"0.4.8-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-20203.json"}},{"package":{"name":"nanopb","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/nanopb?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.9.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"nanopb","binary_version":"0.4.9.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-20203.json"}},{"package":{"name":"nanopb","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/nanopb?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.9.1-1","0.4.9.1-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"nanopb","binary_version":"0.4.9.1-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-20203.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}