Bug 2501787 - CVE-2026-13082 perl-GD-SecurityImage: the rand function is used to generate secrets [fedora-all]
Summary: CVE-2026-13082 perl-GD-SecurityImage: the rand function is used to generate s...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-GD-SecurityImage
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Emmanuel Seyman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["2def2d30-1ae7-43f2-bd37-f...
Depends On:
Blocks: CVE-2026-13082
TreeView+ depends on / blocked
 
Reported: 2026-07-17 16:05 UTC by Guilherme de Almeida Suckevicz
Modified: 2026-07-17 16:05 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2026-07-17 16:05:39 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.


Note You need to log in before you can comment on or make changes to this bug.