This paper presents a case study on analyzing source code for a Java file reader server socket program to identify and address five critical software security vulnerabilities. The vulnerabilities analyzed include resource injection, path manipulation, system information leak, denial of service, and unreleased resource, along with proposed solutions and their potential impact on performance. The study emphasizes the importance of incorporating security features during the software development lifecycle using static code analysis tools like Fortify Source Code Analyzer.