An out-of-bounds access issue exists in the `ConnectedComponentsImage()` function when processing connected-components artifacts with invalid indices. When the `connected-components:*` define specifies an invalid index, it results in an access violation. This can be triggered by specifying malformed connected-components definitions via the CLI, potentially leading to denial of service or code execution.