The Data::Validate::IP module through 0.29 for Perl does not properly consider extraneous zero characters at the beginning of an IP address string, which (in some situations) allows attackers to bypass access control that is based on IP addresses.
A string with a null byte (\0) would be considered valid if the internal implementation used inet_pton() to validate IP addresses. Fixed by Greg Oschwald. GitHub PR #4.