SOUP, OTS and the bill of materials.
+ The questionMost of the code in a modern device was written by someone else. How can a maker answer for it?
When the operating system expires
On 8 April 2014 Microsoft ended extended support for Windows XP, twelve years and three months after the system's lifecycle began. Extended support was the last phase of that lifecycle, and after it ended Microsoft stopped routine security fixes for the system. For medical devices built on Windows XP, those fixes stopped on the same date, and many of the devices stayed in service after it. An imaging scanner, a laboratory analyzer or a radiology workstation is expensive, is expected to last a decade or more, and was validated with one exact version of its operating system. Replacing that system is a design change that needs new testing and, for some devices, a new review.
The cost of waiting became visible on 12 May 2017, when the WannaCry ransomware spread across networks running unpatched or unsupported versions of Windows. In England, the hospitals and many other services of the National Health Service are run by public bodies called trusts. The UK's National Audit Office found that at least 81 of the 236 trusts, 34 percent, were affected. It identified 6,912 canceled appointments and reported an estimate of more than 19,000 in all. Bayer confirmed two reports from US customers that devices it made had been infected, and Siemens Healthineers warned that some of its products might be affected.
In 2020 a security vendor surveyed its customers' networks and reported that 83 percent of the medical imaging devices it saw ran operating systems that were no longer supported. That share had risen sharply since 2018, and the vendor attributed the rise to the end of support for Windows 7.
Suppose a device is launched in 2009 on Windows XP, sold until 2012, and used for ten years from the date of sale. Extended support ended in April 2014, five years after launch. A unit sold in 2012 stays in service until 2022, eight years after its operating system stopped receiving security fixes. Any vulnerability published in those eight years remains unfixed on that unit unless the maker can fix it some other way. In its 2026 cybersecurity guidance, the FDA addresses this gap between the end of support and the end of service: it asks makers to state, for each software component, its level of support and its end-of-support date.
SOUP and OTS
Two terms name the code a maker did not write, and they overlap without being the same. IEC 62304 calls such code SOUP, software of unknown provenance. In the standard's definition, a SOUP item is either a software item that is already developed, generally available and not developed to be part of the device, or a software item developed earlier for which adequate records of its development are not available. The FDA calls such code OTS, off-the-shelf software: a generally available software component used by a device maker that cannot claim complete control of the component's life cycle.
The emphasis differs. SOUP is about provenance: a maker's own old code, written before anyone kept records, is SOUP even though nobody bought it. OTS is about control: a commercial operating system is OTS because its maker, not the device maker, decides what goes into it and when. Most third-party components are both. A compiler or a test tool that never ships in the device is not SOUP, because it is not part of the device. Such a tool is validated for its use under the quality-system rules of Chapter 9.
Under IEC 62304, a maker does the same things for every SOUP item. It states what functional and performance requirements the device places on the item, what hardware and software the item needs, and its exact identity and version. It evaluates the anomalies, or known defects, that the component's own developer has published, to see whether any could cause a hazard. It also keeps the item under configuration control, so that the version tested is the version shipped. The FDA last revised its guidance on off-the-shelf software in August 2023. In that guidance it asks for much the same and adds a plan for maintaining support. For software at the Enhanced documentation level, the FDA also asks for assurance about how the component's developer works and what the device maker will do if that developer changes or stops its support.
How much of the code is borrowed
The borrowed share is usually most of the program. A vendor that audits software for company acquisitions reported in 2026 on 947 codebases it had examined. Of these, 98 percent contained open-source code, with a mean of 1,180 open-source components per application, and 87 percent contained at least one component with a known vulnerability. The sample is software being sold in a transaction, not medical devices, but device software is built from the same libraries. An operating system, a network stack, a database, an image library, a cryptography package and a user-interface toolkit can each depend on dozens of further components of their own.
Models and data are now among the borrowed components. A device can include a model pretrained by another company on images the device maker has never seen, or a public dataset used for tuning. Neither is code in the usual sense, but each is a component whose origin, version and known limits matter as much as a library's. In 2023 a machine-learning section was added to CycloneDX, a standard format for listing the components of a program, so that models and datasets can be listed with the code.
The bill of materials
A software bill of materials, or SBOM, is the machine-readable list of every component in a piece of software, with enough detail to identify each exactly. In July 2021 the US National Telecommunications and Information Administration set out seven minimum fields: the supplier, the component's name, its version, other unique identifiers, its dependency relationships, the author of the SBOM data and a timestamp. In mid-2026 CISA, the US cybersecurity agency, published updated minimum elements. They add each component's cryptographic hash, which identifies its exact contents, and its license. They also add the tool that generated the SBOM and the context in which it was generated, and they extend the scope explicitly to AI software and to software delivered as a service. Two formats dominate: SPDX, published as the international standard ISO/IEC 5962 in 2021, and CycloneDX, an Ecma standard since 2024.
A component with a published vulnerability may be present but unreachable: the device may never call the affected function, or never expose it to a network. A component with no published vulnerability may still be flawed. An SBOM lists which components are in the device. Whether a given vulnerability can be exploited in that device is a separate statement, which the industry calls a VEX; it gives the device's status for that vulnerability: not affected, affected, fixed, or under investigation.
In the US, since 29 March 2023 the law has required every premarket submission for a "cyber device" to include an SBOM that covers commercial, open-source and off-the-shelf components. A cyber device is one with software that can connect to the internet, a condition the FDA reads broadly. Chapter 24 follows the SBOM after release, where it serves its main purpose. When a new vulnerability is published in a component, a maker and a hospital can each use the SBOM to find which devices contain that component, far faster than by searching old build records.
For each SOUP or OTS item, record its exact version, its supplier, the requirements the device places on it, the published anomalies reviewed and the conclusion for each, its support level and end-of-support date, and a plan for replacing it. Pin versions so that what was tested is what ships, generate the SBOM from the build rather than by hand, and review the anomaly lists again before each release.
- Windows XP's end of support in 2014 left devices without security fixes for years; in 2017 WannaCry, spreading through unpatched or unsupported Windows, showed what that can cost.
- IEC 62304's SOUP is code of unknown provenance; the FDA's OTS is code whose life cycle the maker cannot fully control; most components are both.
- For each borrowed component a maker must state requirements, exact version and evaluated anomalies, and keep it under configuration control.
- An SBOM lists every component, now including models and datasets; whether a vulnerability is exploitable is a separate VEX statement.
Let's Talk