SB2024120106 - Memory leak in Nanopb



SB2024120106 - Memory leak in Nanopb

Published: December 1, 2024 Updated: November 9, 2026

Security Bulletin ID SB2024120106
CSH Severity
Low
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Partial DoS

Breakdown by Severity

Low 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 vulnerability.


1) Memory leak (CVE-ID: CVE-2024-53984)

CWE-ID: CWE-401 - Missing release of memory after effective lifetime

CVSSv4: 5.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]


The vulnerability allows a low-privileged remote attacker to cause memory leaks and potential denial of service in Nanopb.

The vulnerability exists due to missing memory cleanup when pb_decode_ex() fails on a corrupted length prefix with the PB_DECODE_DELIMITED flag. A low-privileged remote attacker can submit such messages to trigger unreleased allocations when PB_ENABLE_MALLOC is enabled, messages contain an FT_POINTER field, and a custom stream callback uses stream.bytes_left = SIZE_MAX.


Remediation

Install update from vendor's website.