
On this page
Published: · Updated:
Key Takeaways
- Six confirmed Therac-25 overdose accidents occurred between 1985 and 1987, resulting in three deaths.
- The Tyler accidents involved a race condition in the treatment-entry path, not simply an incorrect dose calculation.
- Independent hardware safeguards on the Therac-20 prevented a related software fault from exposing patients to radiation.
- A one-byte counter overflow in the Set-Up Test routine caused a related but distinct failure mode.
- Malfunction 54 indicated a dose-input error without clearly communicating that an overdose had occurred.
- Risk management, software lifecycle controls, and human factors work support safer designs but do not guarantee that failures will be eliminated.
The Therac-25 case study concerns six documented radiation overdoses between June 1985 and January 1987. Three patients died from overdose injuries. AECL's radiation therapy machine relied heavily on software rather than the independent hardware safeguards used in the Therac-20. A race condition and a separate counter overflow allowed unsafe treatment configurations. Misleading feedback, including Malfunction 54, complicated diagnosis. These were accidental system-safety failures, not documented cyberattacks, as described in the original investigation.
Reviewed November 7, 2026
Patients receiving cancer treatment suffered severe radiation injuries because the treatment system could enter an unsafe state. The Therac-25 case study is not just a story about a coding mistake. It shows how software defects, missing independent safeguards, poor feedback, and incomplete incident investigation combined to cause harm.
Nancy Leveson and Clark Turner's 1993 paper, An Investigation of the Therac-25 Accidents, documents the accident sequence and technical mechanisms. Its account separates the Tyler race condition from the later Yakima counter overflow. Exact patient doses could not be reconstructed reliably in every accident.
For device manufacturers today, the lesson is to examine what happens when a control fails. Software safety and cybersecurity are related but distinct disciplines. The FDA's February 3, 2026 guidance addresses cybersecurity evidence for applicable medical devices. It is not a retrospective explanation of the Therac-25 accidents.
Why This Matters
The Therac-25 investigation documents six known overdose accidents, including fatal injuries. It challenges the assumption that successful operation proves a system is safe. A software defect can remain hidden until a particular input sequence, timing condition, or equipment state exposes it. Read the original investigation.
For current medical devices, IEC 62304 addresses the software lifecycle, ISO 14971 addresses risk management, and IEC 62366-1 addresses usability engineering. These disciplines help manufacturers examine hazardous behavior and the effectiveness of controls. They should not be presented as proof that every Therac-25 failure would be prevented today.
The FDA's Cybersecurity in Medical Devices: Quality Management System Considerations and Content of Premarket Submissions, issued February 3, 2026, separately recommends cybersecurity risk management and testing evidence. Security assessment asks whether an attacker could manipulate device behavior. Software safety work also considers accidental failures. The manufacturer owns the overall safety assessment, engineering decisions, and regulatory submission.
The practical question is whether a failed control can expose a patient to harm before another safeguard intervenes. That question belongs in design review and risk management. Cybersecurity testing contributes evidence about attack-driven behavior. It does not replace the manufacturer's software verification, validation, or human factors program.
Current guidance: The FDA's February 3, 2026 premarket cybersecurity guidance. This source concerns modern cybersecurity recommendations, not the historical accident investigation.
What Was the Therac-25?
The Therac-25 was an AECL medical linear accelerator used for electron and X-ray radiation therapy. Its control software selected treatment settings, while physical equipment, including a turntable, configured the beam path for the selected mode.
Unlike the Therac-20, the Therac-25 relied heavily on software for safety rather than independent hardware protective circuits. The investigation describes a related editing fault on a Therac-20 that tripped protective circuits instead of exposing a patient to radiation. That distinction explains why reuse did not establish safety in the newer configuration.
What Was the Timeline of the Therac-25 Accidents?
Six accidents are documented between June 1985 and January 1987, spread across cancer treatment centers in the United States and Canada. The first occurred in Marietta, Georgia in June 1985, followed by a second in Hamilton, Ontario in July 1985, both producing severe tissue injuries that were not immediately connected to a machine malfunction.
A third accident occurred in Yakima, Washington in December 1985. The fourth and fifth accidents occurred in Tyler, Texas in March and April 1986. After the second Tyler accident, hospital physicist Fritz Hager and the operator reproduced the fault through rapid treatment-entry editing. A sixth accident occurred in Yakima in January 1987.
The two Tyler patients and the January 1987 Yakima patient died from overdose injuries. The Hamilton patient later died of cancer; the investigation does not attribute that death to the overdose. Other patients suffered serious radiation injuries. These distinctions matter when answering searches about Therac-25 deaths and victims.
What Were the Technical Root Causes?
The Therac-25's failures trace to a small number of specific, well-documented software and process defects, not a vague "bug" or single line of bad code.
Reused software without hardware interlocks
AECL adapted software from earlier Therac systems. Independent hardware protective circuits on the Therac-20 prevented patient exposure when a related editing defect occurred. Reusing software while changing its protective environment required a new assessment of the complete system.
The race condition in the data entry editing path
The Therac-25 race condition allowed treatment-entry edits and equipment setup to become inconsistent. During the Tyler accidents, operators corrected an X-ray selection to electron mode quickly enough that the software did not complete the corresponding setup changes. The machine could retain the high beam-current setting used for X-ray production while configured for electron treatment, exposing the patient to an excessive electron beam.
The fault depended on the order and timing of concurrent tasks. It was not simply a wrong number in a dose calculation. The investigation describes an approximately eight-second setup interval, but that interval is an explanation of the defect, not a safe operating threshold.
The one-byte overflow in the Set-Up Test counter
A separate defect involved a counter used in the Set-Up Test routine that incremented past its maximum representable value and overflowed to zero. When that overflow occurred at the wrong moment, a safety check that was supposed to run before treatment could be silently skipped, allowing treatment to proceed without the verification it depended on.
Misleading error messages
Malfunction 54 was a "dose input 2" error, not a clear overdose warning. The investigation reports that it meant the measured dose input was either too high or too low. During the Tyler accidents, the console displayed a treatment pause and misleading low-dose information even though a massive overdose had occurred.
Routine pauses could be cleared to resume treatment. The interface did not give the operator the information needed to distinguish this dangerous event from familiar interruptions. Malfunction 54 was the visible symptom of the fault, not its root cause. Leveson and Turner's account of the Tyler accidents.
No independent safety analysis
AECL had not commissioned an independent hazard analysis or code review of the control software before deployment, and the company's own safety analysis relied heavily on the assumption that software, once fielded successfully, was reliable. No process existed to systematically ask what could go wrong in the software's timing behavior specifically.
Operator desensitization to frequent errors
The Therac-25 generated dozens of minor error messages during routine operation that required nothing more than pressing a key to continue. That volume of routine, harmless errors trained operators to treat every error message, including the rare serious one, as routine.
[KEY REQUIREMENT] Assess the complete device after a design change. Prior use of a software component does not establish that it remains safe when independent safeguards are removed or changed. This is a system-safety lesson, not a universal legal requirement for a particular hardware design.
What Was the Regulatory and Industry Aftermath?
See also: What Is MedTech? MedTech vs Medical Device vs Life Sciences, CVSS Score for Medical Devices: How to Calculate and Use It, and Medical Device Software Development: A Compliance Guide.
The Therac-25 accidents led the FDA to recall and require corrective action on the remaining machines, and AECL redesigned the software and reinstated hardware interlocks. More significantly, the case became a reference point cited in the development of subsequent software safety standards, because it demonstrated a concrete, documented failure chain rather than a hypothetical risk.
Leveson and Turner's 1993 IEEE Computer paper, based on AECL's own incident records and interviews, remains the standard sourced account of the incident and is still assigned in software engineering and biomedical engineering coursework today. The paper's central finding, that the accidents resulted from a systemic development and safety-culture failure rather than a single coding mistake, directly shaped how later standards frame software safety as a lifecycle discipline rather than a testing checkbox.
How Do Modern Standards Address Each Therac-25 Root Cause?
Modern lifecycle and risk-management practices can help manufacturers assess similar failure mechanisms. The following are relevant activities, not guarantees or a claim that each standard mandates a particular test.
| Therac-25 root cause | Modern control that addresses it |
|---|---|
| Reused software with hardware interlocks removed | IEC 62304 software safety classification, which requires risk-based rigor scaled to the harm a software failure could cause |
| Race condition in the editing path | Independent verification and testing targeting concurrency and timing behavior, not only functional test cases |
| One-byte counter overflow | Risk-based software verification under IEC 62304, which may include static analysis and code review, plus defense in depth so no single check failure allows unsafe operation |
| Misleading "Malfunction 54" messages | Usability engineering under IEC 62366-1, including assessment of safety-related feedback and use errors |
| No independent safety analysis | ISO 14971 risk management, which requires a documented hazard analysis before and after design changes |
| Operator desensitization to frequent errors | Human factors validation and alarm/alert design practices that limit nuisance alerts and preserve operator response to real hazards |
Why Do Safety and Security Share the Same Failure Modes?
Therac-25 was an accidental safety failure, not a documented cyberattack. A timing defect may also be security-relevant if an attacker can reach and exploit the affected behavior. That requires device-specific evidence about access, attack conditions, and consequences. The historical accidents alone do not establish exploitability.
The FDA's February 3, 2026 guidance recommends a secure product development framework for cybersecurity. Defense in depth can reduce dependence on a single security control. Manufacturers still need to evaluate how security controls interact with safety functions and whether a failed control can contribute to patient harm.
For modern attack-driven findings, our Medical Device Cybersecurity Risk Assessment & Patient Safety page explains how to connect an evidenced attack path to manufacturer-assigned harm severity. A historical safety failure is not a cybersecurity risk score.
Designing safety-critical software?
Learn how secure MedTech product design consulting examines attack paths and security controls. The manufacturer retains responsibility for software safety, verification, and validation.
What This Means If You Are Commissioning Software Safety and Security Testing
Separate safety verification from cybersecurity assessment when defining a testing scope. Timing, boundary, and fault behavior can be relevant to both, but the objectives and evidence are not interchangeable. Agree which interfaces, conditions, and controls the security assessment will examine.
| Therac-25 root cause | Activity to discuss with the responsible team | Example evidence, where applicable |
|---|---|---|
| Race condition in the operator input path | Timing and concurrency abuse cases, not just functional test steps | Test cases traced to hazards in the ISO 14971 risk file |
| Software as the only barrier after interlocks were removed | Explicit review of every safety control that has no hardware backstop | Architecture views showing where each control lives |
| Reused code assumed safe from prior models | Legacy and third-party component review, including the SBOM | Component inventory with a rationale for reused code |
| Counter overflow in a setup routine | Boundary and fault injection testing on embedded code paths | Findings mapped to software safety classification |
| Vague error messages that hid the overdose | Review of alarms and error handling as a safety function | Human factors and alarm behavior documented |
| No independent hazard analysis | Review safety-analysis assumptions and document tester independence where applicable | Analysis records, tester qualifications, and agreed scope |
For cybersecurity testing, independence can be achieved by qualified internal testers who are independent of the developers. An external laboratory is not universally required. Architecture views and a component inventory support review but do not, by themselves, demonstrate that safety controls work. Read the medical device penetration testing cost guide for cybersecurity scoping considerations.
Our Medical Device Penetration Testing service describes the agreed attack surfaces and testing evidence. Before comparing proposals, use the Medical Device Cybersecurity FAQs to distinguish standalone testing from a broader submission package.
How Blue Goat Cyber Approaches This
Blue Goat focuses on medical device cybersecurity, not general software safety verification or validation. Our medical device threat modeling work examines attack paths, trust boundaries, and security controls. The threat model and Threat Table are delivered together. Security architecture views are separate deliverables, scoped separately.
Our medical device penetration testing assesses agreed interfaces and attack conditions. Findings describe the tested behavior, supporting evidence, and security risk. The manufacturer determines how those findings affect the device's safety assessment and engineering work. Cybersecurity testing does not prove that all accidental timing defects have been found.
For a safety-relevant behavior, we examine whether an attacker can reach the affected function, bypass a control, or manipulate a trusted input. Patient impact is assessed separately from technical exploitability. We document limitations and dependencies rather than treating a clean test result as a guarantee.
Our engineers hold CISSP and OSCP credentials. Blue Goat provides cybersecurity evidence for the manufacturer's review and submission process. If the FDA raises a cybersecurity question, we answer it at no extra cost until the cybersecurity portion is closed.
Frequently Asked Questions
What is the Therac-25 case study about?
The Therac-25 case study examines six radiation overdose accidents involving AECL's computer-controlled radiation therapy machine between June 1985 and January 1987. It connects software defects with missing independent safeguards, misleading operator feedback, and weaknesses in incident investigation. Leveson and Turner's 1993 investigation treats the accidents as system failures, not simply the result of one coding error.
How many people were harmed by the Therac-25?
Six documented overdose accidents occurred between June 1985 and January 1987. Three patients died from overdose injuries: the two Tyler patients and the January 1987 Yakima patient. The Hamilton patient also later died, but the investigation attributes that death to cancer, not the overdose. Other patients suffered serious radiation injuries. An accident count is not the same as an overdose-related death count.
What caused the Therac-25 overdoses?
The Tyler accidents involved a race condition that allowed rapid treatment-entry changes to leave software settings inconsistent with the equipment configuration. A separate counter overflow was implicated in the January 1987 Yakima accident. Dependence on software instead of independent hardware safeguards increased the consequences of these defects. The accidents also involved poor feedback and incomplete investigation, so there was no single universal cause.
What did Therac-25 Malfunction 54 mean?
Malfunction 54 was described as a "dose input 2" error. According to the investigation, this meant the dose input was too high or too low. During the Tyler accidents, the console showed a treatment pause and misleading low-dose feedback after an overdose. The message did not clearly tell the operator what had happened. It was a symptom, not the underlying race condition.
Who documented the Therac-25 investigation?
Nancy Leveson and Clark Turner published "An Investigation of the Therac-25 Accidents" in IEEE Computer in July 1993. It covers the six known accidents, software mechanisms, operator interface, manufacturer responses, and regulatory correspondence. The original paper is the primary reference for this article. Its case histories are important because simplified summaries can wrongly combine distinct defects or misattribute a patient's cause of death.
What is the main lesson for medical device manufacturers today?
Prior successful operation does not establish that software remains safe after a design change. Manufacturers need to assess the complete system, including failed controls, timing behavior, and operator feedback. Cybersecurity assessment separately examines attack-driven behavior. IEC 62304, ISO 14971, and current FDA cybersecurity guidance address related but distinct work. None is a guarantee that every safety or security defect will be prevented.
CTA
Start with the original accident investigation, then compare its lessons with your device's security assumptions. For modern attack-path analysis, learn about medical device threat modeling. Keep cybersecurity evidence separate from the manufacturer's software safety verification and validation records. Neither discipline replaces the other.
Sources and Further Reading
- Nancy G. Leveson and Clark S. Turner, An Investigation of the Therac-25 Accidents, Computer, July 1993, pages 18 to 41. Publisher record and original paper PDF hosted by Columbia University.
- MIT-hosted text of the Tyler accident investigation, including Malfunction 54 and the race-condition investigation.
- The FDA's February 3, 2026 premarket cybersecurity guidance, for current cybersecurity recommendations rather than historical Therac-25 facts.
About the author

Christian Espinosa, MBA · Founder & CEO, Blue Goat Cyber
U.S. Air Force Academy graduate and veteran with 30+ years in cybersecurity. Founded Alpine Security in 2014 (acquired 2020), then Blue Goat Cyber in 2022. Blue Goat track record: 275+ FDA submissions supported, zero cybersecurity rejections. Author of three books including The Smartest Person in the Room. Ironman triathlete and mountaineer.
Sources & references
Primary sources cited in this article. Links open in a new tab.
- Read the original investigation- cs.columbia.edu
- The FDA's February 3, 2026 premarket cybersecurity guidance- U.S. FDA
- Leveson and Turner's account of the Tyler accidents- web.mit.edu
- Publisher record- IEEE
