# CVE-2023-47038: Perl: write past buffer end via illegal user-defined unicode property

Status: published. Published: 2023-12-18. Updated: 2026-11-26.

A vulnerability was found in perl 5.30.0 through 5.38.0. This issue occurs when a crafted regular expression is compiled by perl, which can allow an attacker controlled byte buffer overflow in a heap allocated buffer.

## Remediation

- workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability. (source: CNA: redhat)
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: secalert@redhat.com) — https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056746
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: af854a3a-2127-422b-91ae-364da2661108) — https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056746

## Affected products and versions

-  /  (perl): ≥ 5.30.0; < 5.34.3 (affected, semver); ≥ 5.36.0; < 5.36.3 (affected, semver); ≥ 5.38.0; < 5.38.2 (affected, semver). Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 8 (perl:5.32): ≥ 8100020240314121426.9fe1d287; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 9 (perl): ≥ 4:5.32.1-481.el9; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 6 (perl): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 7 (perl): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 8 (perl): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 8 (perl:5.30/perl): Version range not reported. Source: CNA: redhat

## NVD configuration conditions

Affected CPE matches depend on the following AND/OR and negation conditions:

```json
[
  {
    "negate": false,
    "nodes": [
      {
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:a:perl:perl:*:*:*:*:*:*:*:*",
            "versionEndIncluding": "5.38.0",
            "versionStartIncluding": "5.30.0",
            "vulnerable": true
          }
        ],
        "negate": false,
        "operator": "OR"
      }
    ],
    "operator": "OR"
  },
  {
    "negate": false,
    "nodes": [
      {
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*",
            "vulnerable": true
          }
        ],
        "negate": false,
        "operator": "OR"
      }
    ],
    "operator": "OR"
  },
  {
    "negate": false,
    "nodes": [
      {
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:o:redhat:enterprise_linux_aus:9.4:*:*:*:*:*:*:*",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:o:redhat:enterprise_linux_eus:9.4:*:*:*:*:*:*:*",
            "vulnerable": true
          }
        ],
        "negate": false,
        "operator": "OR"
      }
    ],
    "operator": "OR"
  }
]
```

## Severity and prioritization

- CVSS 3.1: 7 (high); CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H; source: CNA: redhat

- CVSS 3.1: 7.8 (high); CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H; source: NVD: nvd@nist.gov

- CVSS 3.1: 7 (high); CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H; source: NVD: secalert@redhat.com

- CISA KEV: No listing in collected sources

- EPSS: 0.50% as of 2026-11-26; percentile 35.35%

- SSVC: exploitation none; automatable no; technical impact total; source ADP: CISA-ADP

- Weaknesses: CWE-122, CWE-787

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://access.redhat.com/errata/RHSA-2024:2228 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/errata/RHSA-2024:3128 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/security/cve/CVE-2023-47038 (CNA: redhat; vdb-entry, x_refsource_REDHAT)

- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056746 (CNA: redhat)

- https://bugzilla.redhat.com/show_bug.cgi?id=2249523 (CNA: redhat; issue-tracking, x_refsource_REDHAT)

- https://github.com/aquasecurity/trivy/discussions/8400 (ADP: CVE)

- https://www.suse.com/security/cve/CVE-2023-47100.html (ADP: CVE)

- https://ubuntu.com/security/CVE-2023-47100 (ADP: CVE)

- https://github.com/Perl/perl5/commit/ff1f9f59360afeebd6f75ca1502f5c3ebf077da3 (ADP: CVE)

- https://github.com/Perl/perl5/commit/7047915eef37fccd93e7cd985c29fe6be54650b6 (ADP: CVE)

- https://github.com/Perl/perl5/commit/12c313ce49b36160a7ca2e9b07ad5bd92ee4a010 (ADP: CVE)

- https://access.redhat.com/errata/RHSA-2024:2228 (ADP: CVE; vendor-advisory, x_refsource_REDHAT, x_transferred)

- https://access.redhat.com/errata/RHSA-2024:3128 (ADP: CVE; vendor-advisory, x_refsource_REDHAT, x_transferred)

- https://access.redhat.com/security/cve/CVE-2023-47038 (ADP: CVE; vdb-entry, x_refsource_REDHAT, x_transferred)

- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056746 (ADP: CVE; x_transferred)

- https://bugzilla.redhat.com/show_bug.cgi?id=2249523 (ADP: CVE; issue-tracking, x_refsource_REDHAT, x_transferred)

- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GNEEWAACXQCEEAKSG7XX2D5YDRWLCIZJ/ (ADP: CVE; x_transferred)

- https://perldoc.perl.org/perl5382delta#CVE-2023-47038-Write-past-buffer-end-via-illegal-user-defined-Unicode-property (ADP: CVE; x_transferred)

- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UMDZZ4SCEW6FRWZDMXGAKZ35THTAWFG6/ (ADP: CVE)

- https://access.redhat.com/errata/RHSA-2024:2228 (secalert@redhat.com; Third Party Advisory)

- https://access.redhat.com/errata/RHSA-2024:3128 (secalert@redhat.com; Third Party Advisory)

- https://access.redhat.com/security/cve/CVE-2023-47038 (secalert@redhat.com; Broken Link, Third Party Advisory)

- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056746 (secalert@redhat.com; Mailing List, Patch)

- https://bugzilla.redhat.com/show_bug.cgi?id=2249523 (secalert@redhat.com; Issue Tracking, Third Party Advisory)

- https://access.redhat.com/errata/RHSA-2024:2228 (af854a3a-2127-422b-91ae-364da2661108; Third Party Advisory)

- https://access.redhat.com/errata/RHSA-2024:3128 (af854a3a-2127-422b-91ae-364da2661108; Third Party Advisory)

- https://access.redhat.com/security/cve/CVE-2023-47038 (af854a3a-2127-422b-91ae-364da2661108; Broken Link, Third Party Advisory)

- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056746 (af854a3a-2127-422b-91ae-364da2661108; Mailing List, Patch)

- https://bugzilla.redhat.com/show_bug.cgi?id=2249523 (af854a3a-2127-422b-91ae-364da2661108; Issue Tracking, Third Party Advisory)

- https://github.com/Perl/perl5/commit/12c313ce49b36160a7ca2e9b07ad5bd92ee4a010 (af854a3a-2127-422b-91ae-364da2661108)

- https://github.com/Perl/perl5/commit/7047915eef37fccd93e7cd985c29fe6be54650b6 (af854a3a-2127-422b-91ae-364da2661108)

- https://github.com/Perl/perl5/commit/ff1f9f59360afeebd6f75ca1502f5c3ebf077da3 (af854a3a-2127-422b-91ae-364da2661108)

- https://github.com/aquasecurity/trivy/discussions/8400 (af854a3a-2127-422b-91ae-364da2661108)

- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GNEEWAACXQCEEAKSG7XX2D5YDRWLCIZJ/ (af854a3a-2127-422b-91ae-364da2661108; Third Party Advisory)

- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UMDZZ4SCEW6FRWZDMXGAKZ35THTAWFG6/ (af854a3a-2127-422b-91ae-364da2661108)

- https://perldoc.perl.org/perl5382delta#CVE-2023-47038-Write-past-buffer-end-via-illegal-user-defined-Unicode-property (af854a3a-2127-422b-91ae-364da2661108; Vendor Advisory)

- https://ubuntu.com/security/CVE-2023-47100 (af854a3a-2127-422b-91ae-364da2661108)

- https://www.suse.com/security/cve/CVE-2023-47100.html (af854a3a-2127-422b-91ae-364da2661108)

## Provenance

- CNA: redhat: https://www.cve.org/CVERecord?id=CVE-2023-47038; retrieved 2026-11-26; source updated 2026-11-26

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2023-47038; retrieved 2026-11-26; source updated 2026-11-26

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2023-47038; retrieved 2026-11-26; source updated Not reported

Revision: 822ea31e0ca0eefbeff809e280786a18e76c59792bc75a2a90cb96724a0271a8

Canonical: https://y2.dev/cve/CVE-2023-47038

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.