Some who received a Real ID from the Department of Motor Vehicles might be carrying a driver’s license that does not meet the federal standards.

The DMV said it noticed a glitch after an internal review and is now contacting roughly 325,000 people to tell them they might need to redo their Real ID.

DMV officials said the department noticed a 20-year-old software glitch where expiration dates do not match the date of an immigrant’s authorized stay.

When contacted Friday, the DMV referred NBC Bay Area to its news release, which provided the following statement from DMV Director Steve Gordon:

“We proactively reviewed our records, identified a legacy system issue from 2006, and are notifying impacted customers with clear guidance on how to maintain a valid California-issued credential. For nearly 99% of REAL ID holders, no action is required. The DMV remains committed to serving all Californians and ensuring REAL ID credentials meet federal standards.”

The executive director of the immigrant rights group, SIREN, said the glitch is inexcusable.

The DMV said the glitch affects about 1.5% of all people in California with Real IDs, but will not disclose what percentage of immigrants are impacted by the glitch. The agency said it will expedite the process of correcting the mistake and waive any associated fees.