Unable to reproduce on any version of RHEL using instructions. This appears to be a duplicate of CVE-2015-5621. See the reference page for those details. "Update: "vuln1" was assigned CVE-2015-5621 (see references), therefore CVE-2018-18066 has been marked as duplicate."
This looks to have been patched in RHEL6 and RHEL7 at least via https://bugzilla.redhat.com/show_bug.cgi?id=1212408. I expected that it would trigger on RHEL5 at least, but it does not.