CVE-2024-53984 - CVE House
Back to Database
Status published Medium CVE-2024-53984

Nanopb does not release memory on error return when using PB_DECODE_DELIMITED

Vulnerability Description

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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-53984

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

nanopb
Vulnerable Versions:
>=0.4.0, < 0.4.9.1

Timeline

Official Publish: December 2nd, 2024
Last Modified: December 2nd, 2024
Added to House: July 22nd, 2026

CVSS Vectors

V3: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

Weaknesses (CWE)