CPANSA-GD-SecurityImage-2026-13082: GD-SecurityImage vulnerability

Publisher giterlizzi Document category csaf_security_advisory
Initial release date 2026-07-17T00:00:00 Engine CSAF Perl Toolkit 0.26
Current release date 2026-07-17T00:00:00 Build Date
Current version 1 Status final
CVSS v3.1 Base Score 5.3 Severity
Original language Language en
Also referred to

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

Vulnerabilities

CVE-2026-13082

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

Weakness CWE-338 : Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)

Product status

Known affected
Product Score
GD-SecurityImage greater than 0
CVSS Version CVSS Vector CVSS Base Score CVSS Base Severity
3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N 5.3 Medium

giterlizzi

Namespace: https://github.com/giterlizzi/

gdt@cpan.org

References

Revision history

Version Date of the revision Summary of the revision
1 Fri Jul 17 00:00:00 2026 First release

Sharing rules

TLP:WHITE
For the TLP version see: https://www.first.org/tlp/