Approved ESTA applications are valid for a period of two years or until the passport expires, whichever occurs first. Travelers whose ESTA applications are approved, but whose passports expire in less than two years, will receive an ESTA authorization valid until the passport expiration date. In this case, the ESTA visa was likely processed with a passport that had only 5 months left to expire.