Viral meningitis is an inflammation of the membranes (meninges) surrounding the brain and spinal cord caused by a viral infection. Unlike bacterial meningitis, which can be life-threatening, viral meningitis is typically less severe and often resolves without specific treatment.