vulnerability
FreeBSD: VID-326b2f3e-6fc7-4661-955d-a772760db9cf (CVE-2022-41894): py-tflite -- buffer overflow vulnerability
| Severity | CVSS | Published | Added | Modified |
|---|---|---|---|---|
| 7 | (AV:N/AC:H/Au:S/C:C/I:C/A:C) | Apr 9, 2023 | Apr 14, 2023 | Dec 10, 2025 |
Severity
7
CVSS
(AV:N/AC:H/Au:S/C:C/I:C/A:C)
Published
Apr 9, 2023
Added
Apr 14, 2023
Modified
Dec 10, 2025
Description
Thibaut Goetghebuer-Planchon reports: The reference kernel of the CONV_3D_TRANSPOSE TensorFlow Lite operator wrongly increments the data_ptr when adding the bias to the result. Instead of `data_ptr += num_channels;` it should be `data_ptr += output_num_channels;` as if the number of input channels is different than the number of output channels, the wrong result will be returned and a buffer overflow will occur if num_channels > output_num_channels. An attacker can craft a model with a specific number of input channels in a way similar to the attached example script. It is then possible to write specific values through the bias of the layer outside the bounds of the buffer. This attack only works if the reference kernel resolver is used in the interpreter (i.e. `experimental_op_resolver_type=tf.lite.experimental.OpResolverType.BUILTIN_REF` is used).
Solutions
freebsd-upgrade-package-py37-tflitefreebsd-upgrade-package-py38-tflitefreebsd-upgrade-package-py39-tflitefreebsd-upgrade-package-py310-tflitefreebsd-upgrade-package-py311-tflite
NEW
Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.