This depends on the bug. Some are present in given major version only. But, there was also a bug affecting multiple versions. I would recommend checking our hotfixes page and see the Security bugs fixed in each version - this will tell you in what version(s) given bug was fixed.