CVE-2026-13082 Details
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.
A vulnerability exists in GD::SecurityImage versions through 1.75 for Perl, where the CAPTCHA challenge text is generated using the built-in rand function. This method is predictable and reversible, making it unsuitable for security applications. The vulnerability allows for guessable CAPTCHA, as the randomness of the generated text can be compromised.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 17, 2026CISA-ADP
Assessed Jul 17, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://security.metacpan.org/patches/G/GD-SecurityImage/1.75/CVE-2026-13082-r1.patch | CPANSec | Broken LinkSource CodeVendor |
| https://www.cve.org/CVERecord?id=CVE-2025-40916 | CPANSec | Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-338 | Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) | CPANSec |
| CWE-804 | Guessable CAPTCHA | CPANSec |
Affected Products
| Product | Versions |
|---|---|
| GD::SecurityImage | <= 1.75 |
CPE
Remediation | |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 24, 2026 | CVE Translated | [email protected] |
| Jul 17, 2026 | CVE Modified | CISA-ADP |
| Jul 17, 2026 | New CVE Received | CPANSec |
Volerion