UK Parliamentary Under-Secretary of State for Health, Jackie Doyle-Price, said in a statement on Monday: "NHS Digital recently identified a supplier defect in the processing of historical patient objections to the sharing of their confidential health data."
The data sharing occurred between March 2015 and June this year.
The software supplied by TPP is known as SystmOne and a glitch within its innards resulted in the patients' objections to data sharing not being respected.
"NHS Digital will write to all TPP GP practices today to make sure that they are aware of the issue and can provide reassurance to any affected patients. NHS Digital will also write to every affected patient. Patients need to take no action and their objections are now being upheld.
"There is not, and has never been, any risk to patient care as a result of this error. NHS Digital has made the Information Commissioner’s Office and the National Data Guardian for Health and Care aware."