Obviously ClamAV only does what's in it code, but pretty much all proprietary AV software collect samples by default based on rules deployed by developer.
Windows Defender do have automatic sample submission, but according to documentation only automatically submit files that are "safe" to not no contain PII:
It might request user approval to submit non-executables, but again we can't know when and why Microsoft might decide to override defaults. Technically data collection pipeline is here.
Windows Defender do have automatic sample submission, but according to documentation only automatically submit files that are "safe" to not no contain PII:
https://learn.microsoft.com/en-us/defender-endpoint/specify-...
It might request user approval to submit non-executables, but again we can't know when and why Microsoft might decide to override defaults. Technically data collection pipeline is here.