Software library
Reusable code, usually written by someone else, that an application calls instead of writing the function itself; the application inherits the library's flaws and those of everything it depends on.
A software library is packaged reusable code, such as a parser or a cryptographic routine, that an application calls instead of implementing the function itself. The libraries an organisation uses are commonly third-party libraries, open source or commercial, and each can depend on further libraries in turn. Through these transitive dependencies an application can include code nobody chose directly. NIST SP 800-218 (SSDF version 1.1) asks organisations to acquire and maintain well-secured components such as libraries (PW.4.1), and to keep verifying them, including whether each is still actively maintained (PW.4.4).
Reusing a mature library is often safer than writing the function afresh, but the application inherits the library’s flaws, and a component vetted once can become vulnerable later. Software composition analysis inventories libraries and matches them against known vulnerabilities and licences, and a software bill of materials records them. Libraries are also a route for a software supply chain attack. Popularity is not proof of review, as with any open-source software. One vocabulary trap: in SP 800-53, “software libraries” can mean controlled stores of programs, not reusable code.
Exam relevance: the ISC2 exam outline names libraries under objective 8.2. A scenario about a flaw in a widely used component is likely to turn on inventory and patching; candidates are expected to see that third-party code is the adopting organisation’s risk.