Apple use quite an old version of Bash, as they don't ship code that's licensed under GPL3. You can download the current version from Apple's open source site, and see that it at least claims to be vanilla Bash 3.2 (though obviously the Xcode project has been added).