The wordexp function was called by the shell to expand a string that contained special shell characters.
Check the program which calls wordexp and ensure that the string to be expanded does not contain any special shell characters.