Skip to content
WatchlistHigh

CVE-2002-1412Gallery Vulnerability

Gallery photo album package before 1.3.1 allows local and possibly remote attackers to execute arbitrary code via a modified GALLERY_BASEDIR variable that points to a directory or URL that contains a Trojan horse init.php script.

Published Apr 11, 2003 · Updated Apr 15, 2026 · Also known as DEBIAN-CVE-2002-1412, DSA-138

Key Facts

Patch immediately
  • CVE-2002-1412 is a high-severity vulnerability (CVSS 7.5 v2) affecting Gallery (Gallery Project).
  • It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
  • EPSS estimates a 39% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Gallery 1.2.5-7, Gallery 1.3.1.
  • Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.

Scores

CVSS v2

7.5

AV:N/AC:L/Au:N/C:P/I:P/A:P

EPSS (30-day exploit likelihood)

39%

Higher than 98.5% of all scored CVEs

Exploit maturity

Proof of concept

ATLAS score

35/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Proof of concept

Public exploit code

1

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

Advisories And Exploit References

Description

Gallery photo album package before 1.3.1 allows local and possibly remote attackers to execute arbitrary code via a modified GALLERY_BASEDIR variable that points to a directory or URL that contains a Trojan horse init.php script.

Affected Products

2 affected entries in total
ProductAffected versionsFixed in
GalleryGallery ProjectSee advisory1.3.1

Patched Releases

Gallery

1.2.5-7, 1.3.1

Timeline

  1. Publicly disclosed

    Apr 11, 2003

  2. Last updated

    Apr 15, 2026

References

1 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2002-1412 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Oct 20, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.