Skip to content
Heist/ feed
Back to feed
Medium

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-13082
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 07:45 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 17 Jul 2026, 12:54 UTC

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.

osv:CVE-2026-13082
Complete source record
{
  "id": "de4df5d6047c1f34557d19652cc2e53e3cd718c58fe60cdbff83b57a78322abe",
  "url": "https://osv.dev/vulnerability/CVE-2026-13082",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "GD::SecurityImage versions through 1.75 for Perl use rand to generate secrets",
    "summary": "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.",
    "evidence": "osv:CVE-2026-13082",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-13082",
      "aliases": [
        "CVE-2026-13082"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/burak/cpan-gd-securityimage",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "1257deef621d94fe6919b33e21f5e89ef895a2f6"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "1.75"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.75",
            "v1.74",
            "v1.73",
            "v0.70",
            "v1.68"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-13082.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:26.692699480Z",
      "provider": "osv",
      "references": [
        "https://cpan.org/modules",
        "https://www.cve.org/CVERecord?id=CVE-2025-40916",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/13xxx/CVE-2026-13082.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-13082",
        "https://security.metacpan.org/patches/G/GD-SecurityImage/1.75/CVE-2026-13082-r1.patch",
        "https://github.com/burak/CPAN-GD-SecurityImage"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-338",
          "CWE-804"
        ],
        "cna_assigner": "CPANSec",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/13xxx/CVE-2026-13082.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-13082",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 493479,
  "published_at": "2026-07-17T12:54:07.177+00:00"
}