{"id":"CVE-2024-53984","published":"2024-12-02T15:54:47Z","modified":"2024-12-02T21:40:02Z","title":"Nanopb does not release memory on error return when using PB_DECODE_DELIMITED","vendor":"nanopb","product":"nanopb","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00717,"percentile":0.4957,"provenance":"source"},"cwes":[{"id":"CWE-401","name":"Missing Release of Memory after Effective Lifetime"},{"id":"CWE-755","name":"Improper Handling of Exceptional Conditions"}],"references":[{"url":"https://github.com/nanopb/nanopb/security/advisories/GHSA-xwqq-qxmw-hj5r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nanopb/nanopb/commit/2b86c255aa52250438d5aba124d0e86db495b378","tags":["x_refsource_MISC"]}],"priority":{"score":12.9,"factors":[{"name":"EPSS percentile","points":9.91},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"nanopb","affectedVersions":[{"vendor":"nanopb","product":"nanopb","versions":[">=0.4.0, < 0.4.9.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-12-02T21:39:54.790040Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-52228","exploited":false,"provenance":"source"}}