MySQL has version restrictions between replication instances, and only one version difference is allowed. Note that MySQL has version restrictions even for logical replication.
MySQL :: MySQL 5.7 Reference Manual :: 16.4.2 Replication Compatibility Between MySQL Versions https://dev.mysql.com/doc/refman/5.7/en/replication-compatibility.html
MySQL supports replication from one release series to the next higher release series. For example, you can replicate from a master running MySQL 5.6 to a slave running MySQL 5.7, from a master running MySQL 5.7 to a slave running MySQL 8.0, and so on.
Note: Version Restrictions for Other DBs (Oracle, Postgres) Replication
Oracle DataGuard (Physical Standby) requires the same version. Oracle GoldenGate has no version restrictions (approximately dependent on the Certification Matrix).
PostgreSQL streaming replication (physical replication) requires the same version. Logical replication allows different versions.