Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-13082 EUVD-2026-45169GHSA-p496-rgmp-v9mg

GD::SecurityImage versions through 1.75 for Perl use rand to generate secrets

Published Jul 17, 2026 · Updated Jul 17, 2026 · 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.

Affected products

VendorProductAffectedFixed
BURAK GD::SecurityImage ≤ 1.75 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 13 libgd-securityimage-perl No fix yet —
Debian 12 libgd-securityimage-perl No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libgd-securityimage-perl No fix yet —
Ubuntu 26.04 LTS libgd-securityimage-perl No fix yet —
Ubuntu 24.04 LTS libgd-securityimage-perl No fix yet —
Ubuntu 22.04 LTS libgd-securityimage-perl No fix yet —
Ubuntu 20.04 LTS libgd-securityimage-perl No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libgd-securityimage-perl No fix yet —
Ubuntu 16.04 LTS libgd-securityimage-perl No fix yet —

References