{"id":"CVE-2024-53984","aliases":["CVE-2024-53984"],"related":[],"kind":"vulnerability","state":"published","title":"Nanopb does not release memory on error return when using PB_DECODE_DELIMITED","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Nanopb es una implementación de Protocol Buffers de tamaño de código pequeño. Cuando la opción de tiempo de compilación PB_ENABLE_MALLOC está habilitada, el mensaje contiene al menos un campo con el tipo de campo FT_POINTER, se utiliza una devolución de llamada de flujo personalizada con una longitud de flujo desconocida y la función pb_decode_ex() se utiliza con el indicador PB_DECODE_DELIMITED, entonces la función pb_decode_ex() no llama automáticamente a pb_release(), como se hace para otros casos de falla. Esto podría provocar una pérdida de memoria y una posible denegación de servicio. Esta vulnerabilidad se corrigió en la versión 0.4.9.1.","source":"nvd"}],"published":"2024-12-02T15:54:47.478Z","modified":"2026-06-17T08:09:36.963Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-401","CWE-755"],"affected":[{"ranges":[{"version":">=0.4.0, < 0.4.9.1","status":"affected"}],"vendor":"nanopb","product":"nanopb","source":"cvelist"}],"references":[{"url":"https://github.com/nanopb/nanopb/security/advisories/GHSA-xwqq-qxmw-hj5r","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/nanopb/nanopb/commit/2b86c255aa52250438d5aba124d0e86db495b378","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-12-02T21:39:54.790Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-53984","url":"https://www.cve.org/CVERecord?id=CVE-2024-53984","licence":"CVE Terms of Use","modified":"2024-12-02T21:40:02.909Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-53984","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-53984","licence":"Public domain","modified":"2026-06-17T08:09:36.963Z"}],"updatedAt":"2026-11-25T22:58:49.639Z","epss":{"score":0.00409,"percentile":0.37282,"date":"2026-12-01T12:00:22.000Z"}}