# CVE-2026-13082: GD::SecurityImage versions through 1.75 for Perl use rand to generate secrets

- Severity: Medium 5.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-07-17T12:54:07.177Z
- Modified: 2026-10-24T20:10:00.137Z
- Weaknesses: CWE-338, CWE-804
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: CPANSec

## 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.

(As written by CVE List.)

## Affected

- GD-SecurityImage: up to 1.75

## References

- <https://www.cve.org/CVERecord?id=CVE-2025-40916> (related)
- <https://security.metacpan.org/patches/G/GD-SecurityImage/1.75/CVE-2026-13082-r1.patch> (patch)

## Sources

- CVE List: [CVE-2026-13082](https://www.cve.org/CVERecord?id=CVE-2026-13082), CVE Terms of Use, modified 2026-07-17
- NVD: [CVE-2026-13082](https://nvd.nist.gov/vuln/detail/CVE-2026-13082), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-13082 · Whole record: https://cve.day/CVE-2026-13082.json · Rebuilt by cve.day 2026-11-25T22:59:28.481Z
