CVE-2026-6656

DRSTEVE · Crypt::Password

The Crypt::Password Perl module is susceptible to timing attacks due to the use of the non-constant time 'eq' operator when verifying passwords.

Executive summary

The Crypt::Password Perl module contains a timing vulnerability that allows attackers to guess password hashes, necessitating an immediate migration or update.

Vulnerability

The 'check_password' method in the Crypt::Password module utilizes the standard 'eq' operator, which returns results based on the first mismatch. This creates observable timing discrepancies that an unauthenticated attacker can leverage to determine the correct hash character by character.

Business impact

This vulnerability carries a CVSS score of 7.5, indicating a high risk of credential compromise. By successfully guessing password hashes through repeated timing analysis, an attacker could gain unauthorized access to user accounts or administrative interfaces, leading to data theft and the compromise of sensitive authentication mechanisms.

Remediation

Immediate Action: Update the Crypt::Password module to version 0.29. If an update cannot be performed, migrate to a modern, secure password hashing library that supports constant-time comparisons.

Proactive Monitoring: Audit authentication logs for high volumes of requests that may indicate an attacker is performing timing-based brute-force attacks against the password verification service.

Compensating Controls: Implement rate limiting at the application level to slow down authentication attempts, thereby increasing the difficulty for an attacker to collect sufficient timing data.

Exploitation status

Public Exploit Available: Unknown

Analyst recommendation

Due to the age of the module and the nature of the vulnerability, organizations should prioritize replacing this dependency with a modern, maintained alternative. If migration is not immediately possible, applying the 0.29 patch is required to address the identified timing discrepancy.