In the __d2b function of the newlib libc library, all versions prior to 3.3.0 (see newlib/libc/stdlib/mprec.c), Balloc is used to allocate a big integer, however no check is performed to verify if the allocation succeeded or not. Accessing _x will trigger a null pointer dereference bug in case of a memory allocation failure.
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "3.3.0-1.3", "binary_name": "libnewlib-arm-none-eabi" }, { "binary_version": "3.3.0-1.3", "binary_name": "libnewlib-dev" }, { "binary_version": "3.3.0-1.3", "binary_name": "libnewlib-doc" }, { "binary_version": "3.3.0-1.3", "binary_name": "newlib-source" } ] }