GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration
oesa-2025-1631
Vulnerability from osv_openeuler
Published
2025-06-13 11:08
Modified
2026-08-06 11:08
Summary
perl security update
Details

Perl 5 is a highly capable, feature-rich programming language with over 30 years of development. Perl 5 runs on over 100 platforms from portables to mainframes and is suitable for both rapid prototyping and large scale development projects.

Security Fix(es):

Perl threads have a working directory race condition where file operations may target unintended paths.

If a directory handle is open at thread creation, the process-wide current working directory is temporarily changed in order to clone that handle for the new thread, which is visible from any third (or more) thread already running.

This may lead to unintended operations such as loading code or accessing files from unexpected locations, which a local attacker may be able to exploit.

The bug was introduced in commit 11a11ecf4bea72b17d250cfb43c897be1341861e and released in Perl version 5.13.6(CVE-2025-40909)


{
  "affected": [
    {
      "ecosystem_specific": {
        "aarch64": [
          "perl-5.28.3-11.oe2003sp4.aarch64.rpm",
          "perl-debuginfo-5.28.3-11.oe2003sp4.aarch64.rpm",
          "perl-debugsource-5.28.3-11.oe2003sp4.aarch64.rpm",
          "perl-devel-5.28.3-11.oe2003sp4.aarch64.rpm",
          "perl-libs-5.28.3-11.oe2003sp4.aarch64.rpm"
        ],
        "noarch": [
          "perl-help-5.28.3-11.oe2003sp4.noarch.rpm"
        ],
        "src": [
          "perl-5.28.3-11.oe2003sp4.src.rpm"
        ],
        "x86_64": [
          "perl-5.28.3-11.oe2003sp4.x86_64.rpm",
          "perl-debuginfo-5.28.3-11.oe2003sp4.x86_64.rpm",
          "perl-debugsource-5.28.3-11.oe2003sp4.x86_64.rpm",
          "perl-devel-5.28.3-11.oe2003sp4.x86_64.rpm",
          "perl-libs-5.28.3-11.oe2003sp4.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:20.03-LTS-SP4",
        "name": "perl",
        "purl": "pkg:rpm/openEuler/perl\u0026distro=openEuler-20.03-LTS-SP4"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5.28.3-11.oe2003sp4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "perl-5.34.0-16.oe2203sp3.aarch64.rpm",
          "perl-debuginfo-5.34.0-16.oe2203sp3.aarch64.rpm",
          "perl-debugsource-5.34.0-16.oe2203sp3.aarch64.rpm",
          "perl-devel-5.34.0-16.oe2203sp3.aarch64.rpm",
          "perl-libs-5.34.0-16.oe2203sp3.aarch64.rpm"
        ],
        "noarch": [
          "perl-help-5.34.0-16.oe2203sp3.noarch.rpm"
        ],
        "src": [
          "perl-5.34.0-16.oe2203sp3.src.rpm"
        ],
        "x86_64": [
          "perl-5.34.0-16.oe2203sp3.x86_64.rpm",
          "perl-debuginfo-5.34.0-16.oe2203sp3.x86_64.rpm",
          "perl-debugsource-5.34.0-16.oe2203sp3.x86_64.rpm",
          "perl-devel-5.34.0-16.oe2203sp3.x86_64.rpm",
          "perl-libs-5.34.0-16.oe2203sp3.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:22.03-LTS-SP3",
        "name": "perl",
        "purl": "pkg:rpm/openEuler/perl\u0026distro=openEuler-22.03-LTS-SP3"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5.34.0-16.oe2203sp3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "perl-5.34.0-14.oe2203sp4.aarch64.rpm",
          "perl-debuginfo-5.34.0-14.oe2203sp4.aarch64.rpm",
          "perl-debugsource-5.34.0-14.oe2203sp4.aarch64.rpm",
          "perl-devel-5.34.0-14.oe2203sp4.aarch64.rpm",
          "perl-libs-5.34.0-14.oe2203sp4.aarch64.rpm"
        ],
        "noarch": [
          "perl-help-5.34.0-14.oe2203sp4.noarch.rpm"
        ],
        "src": [
          "perl-5.34.0-14.oe2203sp4.src.rpm"
        ],
        "x86_64": [
          "perl-5.34.0-14.oe2203sp4.x86_64.rpm",
          "perl-debuginfo-5.34.0-14.oe2203sp4.x86_64.rpm",
          "perl-debugsource-5.34.0-14.oe2203sp4.x86_64.rpm",
          "perl-devel-5.34.0-14.oe2203sp4.x86_64.rpm",
          "perl-libs-5.34.0-14.oe2203sp4.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:22.03-LTS-SP4",
        "name": "perl",
        "purl": "pkg:rpm/openEuler/perl\u0026distro=openEuler-22.03-LTS-SP4"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5.34.0-14.oe2203sp4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "perl-5.38.0-10.oe2403.aarch64.rpm",
          "perl-debuginfo-5.38.0-10.oe2403.aarch64.rpm",
          "perl-debugsource-5.38.0-10.oe2403.aarch64.rpm",
          "perl-devel-5.38.0-10.oe2403.aarch64.rpm",
          "perl-libs-5.38.0-10.oe2403.aarch64.rpm",
          "perl-5.38.0-10.oe2403sp1.aarch64.rpm",
          "perl-debuginfo-5.38.0-10.oe2403sp1.aarch64.rpm",
          "perl-debugsource-5.38.0-10.oe2403sp1.aarch64.rpm",
          "perl-devel-5.38.0-10.oe2403sp1.aarch64.rpm",
          "perl-libs-5.38.0-10.oe2403sp1.aarch64.rpm"
        ],
        "noarch": [
          "perl-help-5.38.0-10.oe2403.noarch.rpm",
          "perl-help-5.38.0-10.oe2403sp1.noarch.rpm"
        ],
        "src": [
          "perl-5.38.0-10.oe2403.src.rpm",
          "perl-5.38.0-10.oe2403sp1.src.rpm"
        ],
        "x86_64": [
          "perl-5.38.0-10.oe2403.x86_64.rpm",
          "perl-debuginfo-5.38.0-10.oe2403.x86_64.rpm",
          "perl-debugsource-5.38.0-10.oe2403.x86_64.rpm",
          "perl-devel-5.38.0-10.oe2403.x86_64.rpm",
          "perl-libs-5.38.0-10.oe2403.x86_64.rpm",
          "perl-5.38.0-10.oe2403sp1.x86_64.rpm",
          "perl-debuginfo-5.38.0-10.oe2403sp1.x86_64.rpm",
          "perl-debugsource-5.38.0-10.oe2403sp1.x86_64.rpm",
          "perl-devel-5.38.0-10.oe2403sp1.x86_64.rpm",
          "perl-libs-5.38.0-10.oe2403sp1.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:24.03-LTS",
        "name": "perl",
        "purl": "pkg:rpm/openEuler/perl\u0026distro=openEuler-24.03-LTS"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5.38.0-10.oe2403sp1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "perl-5.38.0-10.oe2403sp1.aarch64.rpm",
          "perl-debuginfo-5.38.0-10.oe2403sp1.aarch64.rpm",
          "perl-debugsource-5.38.0-10.oe2403sp1.aarch64.rpm",
          "perl-devel-5.38.0-10.oe2403sp1.aarch64.rpm",
          "perl-libs-5.38.0-10.oe2403sp1.aarch64.rpm"
        ],
        "noarch": [
          "perl-help-5.38.0-10.oe2403sp1.noarch.rpm"
        ],
        "src": [
          "perl-5.38.0-10.oe2403sp1.src.rpm"
        ],
        "x86_64": [
          "perl-5.38.0-10.oe2403sp1.x86_64.rpm",
          "perl-debuginfo-5.38.0-10.oe2403sp1.x86_64.rpm",
          "perl-debugsource-5.38.0-10.oe2403sp1.x86_64.rpm",
          "perl-devel-5.38.0-10.oe2403sp1.x86_64.rpm",
          "perl-libs-5.38.0-10.oe2403sp1.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:24.03-LTS-SP1",
        "name": "perl",
        "purl": "pkg:rpm/openEuler/perl\u0026distro=openEuler-24.03-LTS-SP1"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5.38.0-10.oe2403sp1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "severity": "Medium"
  },
  "details": "Perl 5 is a highly capable, feature-rich programming language with over 30 years of development. Perl 5 runs on over 100 platforms from portables to mainframes and is suitable for both rapid prototyping and large scale development projects.\r\n\r\nSecurity Fix(es):\n\nPerl threads have a working directory race condition where file operations may target unintended paths.\n\nIf a directory handle is open at thread creation, the process-wide current working directory is temporarily changed in order to clone\u00a0that handle for the new thread, which is visible from any third (or\u00a0more) thread already running. \n\nThis may lead to unintended operations\u00a0such as loading code or accessing files from unexpected locations,\u00a0which a local attacker may be able to exploit.\n\nThe bug was introduced in commit\u00a011a11ecf4bea72b17d250cfb43c897be1341861e and released in Perl version 5.13.6(CVE-2025-40909)",
  "id": "OESA-2025-1631",
  "modified": "2026-08-06T11:08:43Z",
  "published": "2025-06-13T11:08:43Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2025-1631"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-40909"
    }
  ],
  "schema_version": "1.7.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "perl security update",
  "upstream": [
    "CVE-2025-40909"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…