CVE-2026-13082: CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator in BURAK GD::SecurityImage
GD::SecurityImage versions through 1.75 for Perl use rand to generate secrets. The random method creates the challenge text used for the CAPTCHA by sampling characters from an array using Perl's built-in rand function, and generates a (by default) six-character string. The built-in rand function is unsuitable for security applications because it is predictable and reversible.
AI Analysis
Technical Summary
The vulnerability in GD::SecurityImage (<=1.75) arises from the use of Perl's built-in rand function to generate the CAPTCHA challenge text. The rand function is not suitable for security purposes because it produces predictable pseudo-random values that can be reversed or anticipated by attackers. This affects the generation of the default six-character CAPTCHA string, potentially allowing attackers to bypass CAPTCHA protections.
Potential Impact
The use of a cryptographically weak pseudo-random number generator compromises the unpredictability of CAPTCHA challenges. While this does not directly disclose sensitive information or cause denial of service, it weakens the CAPTCHA's ability to prevent automated abuse, potentially facilitating automated attacks or spam.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider replacing the CAPTCHA generation mechanism with one that uses a cryptographically secure random number generator instead of Perl's built-in rand function.
CVE-2026-13082: CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator in BURAK GD::SecurityImage
Description
GD::SecurityImage versions through 1.75 for Perl use rand to generate secrets. The random method creates the challenge text used for the CAPTCHA by sampling characters from an array using Perl's built-in rand function, and generates a (by default) six-character string. The built-in rand function is unsuitable for security applications because it is predictable and reversible.
CVSS v3.1
Score 5.3medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in GD::SecurityImage (<=1.75) arises from the use of Perl's built-in rand function to generate the CAPTCHA challenge text. The rand function is not suitable for security purposes because it produces predictable pseudo-random values that can be reversed or anticipated by attackers. This affects the generation of the default six-character CAPTCHA string, potentially allowing attackers to bypass CAPTCHA protections.
Potential Impact
The use of a cryptographically weak pseudo-random number generator compromises the unpredictability of CAPTCHA challenges. While this does not directly disclose sensitive information or cause denial of service, it weakens the CAPTCHA's ability to prevent automated abuse, potentially facilitating automated attacks or spam.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider replacing the CAPTCHA generation mechanism with one that uses a cryptographically secure random number generator instead of Perl's built-in rand function.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-06-23T18:17:08.243Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a5b5eb62d1edb114c7fb65f
Added to database: 07/18/2026, 11:08:38 UTC
Last enriched: 07/18/2026, 11:59:53 UTC
Last updated: 07/18/2026, 13:14:51 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.