You need to use the latest community edition to have the latest patches.
Security patches or bugfixes are provided for EAP versions, here you need to have a subscription. The policy is described here.
The EAP4 versions are EOL and only supported if you have an ExtendedLifeSupport enabled.
For EAP5 you will have still support.