CVE-2022-23585: medium-severity vulnerability in tensorflow
Memory leak in decoding PNG images in Tensorflow
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
No sign of exploitation. No public exploitation artifact known so far.
TensorFlow leaks memory when it tries to decode invalid PNG images. The application fails to free allocated memory in error cases, which could cause memory exhaustion if many malformed images are processed.
A memory leak exists in TensorFlow's PNG decoding function when invalid images trigger error conditions via OP_REQUIRES macros, preventing the cleanup routine png::CommonFreeDecode from executing. This can lead to heap exhaustion when processing untrusted or malformed PNG inputs in applications that repeatedly decode images.
In the same product, most dangerous first.