{"id":"UBUNTU-CVE-2024-53984","details":"Nanopb is a small code-size Protocol Buffers implementation.  When the compile time option PB_ENABLE_MALLOC is enabled, the message contains at least one field with FT_POINTER field type, custom stream callback is used with unknown stream length. and the pb_decode_ex() function is used with flag PB_DECODE_DELIMITED, then the pb_decode_ex() function does not automatically call pb_release(), like is done for other failure cases. This could lead to memory leak and potential denial-of-service. This vulnerability is fixed in 0.4.9.1.","modified":"2026-05-20T16:19:37.692239650Z","published":"2024-12-02T16:15:00Z","upstream":["CVE-2024-53984"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-53984"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-53984"},{"type":"REPORT","url":"https://github.com/nanopb/nanopb/commit/2b86c255aa52250438d5aba124d0e86db495b378"},{"type":"REPORT","url":"https://github.com/nanopb/nanopb/security/advisories/GHSA-xwqq-qxmw-hj5r"}],"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_version":"0.4.1-1ubuntu0.1~esm1","binary_name":"nanopb"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-53984.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_name":"nanopb","binary_version":"0.4.5-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-53984.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/2024/UBUNTU-CVE-2024-53984.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_version":"0.4.9.1-1","binary_name":"nanopb"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-53984.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_version":"0.4.9.1-1build1","binary_name":"nanopb"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-53984.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"},{"type":"Ubuntu","score":"medium"}]}