Perl: write past buffer end via illegal user-defined unicode property
Summary
| CVE | CVE-2023-47038 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-12-18 14:15:08 UTC |
| Updated | 2026-11-26 17:17:02 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v3.1 7.8 HIGH from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS: 0.004950000 probability, percentile 0.353750000 (date 2026-11-29)
Problem Types: CWE-122 | CWE-787 | CWE-122 Heap-based Buffer Overflow
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | [email protected] | Secondary | 7 | HIGH | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | CVSS | 7 | HIGH | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Fedoraproject | Fedora | 39 | All | All | All |
| Application | Perl | Perl | All | All | All | All |
| Operating System | Redhat | Enterprise Linux | 8.0 | All | All | All |
| Operating System | Redhat | Enterprise Linux | 9.0 | All | All | All |
| Operating System | Redhat | Enterprise Linux Aus | 9.4 | All | All | All |
| Operating System | Redhat | Enterprise Linux Eus | 9.4 | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Red Hat | Red Hat Enterprise Linux 8 | unaffected 8100020240314121426.9fe1d287 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9 | unaffected 4:5.32.1-481.el9 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 6 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 7 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8 | Not specified | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| access.redhat.com/errata/RHSA-2024:3128 | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | Third Party Advisory |
| bugs.debian.org/cgi-bin/bugreport.cgi | af854a3a-2127-422b-91ae-364da2661108 | bugs.debian.org | Mailing List, Patch |
| github.com/Perl/perl5/commit/ff1f9f59360afeebd6f75ca1502f5c3ebf077da3 | af854a3a-2127-422b-91ae-364da2661108 | github.com | |
| access.redhat.com/errata/RHSA-2024:2228 | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | Third Party Advisory |
| access.redhat.com/security/cve/CVE-2023-47038 | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | Broken Link, Third Party Advisory |
| github.com/Perl/perl5/commit/7047915eef37fccd93e7cd985c29fe6be54650b6 | af854a3a-2127-422b-91ae-364da2661108 | github.com | |
| bugzilla.redhat.com/show_bug.cgi | af854a3a-2127-422b-91ae-364da2661108 | bugzilla.redhat.com | Issue Tracking, Third Party Advisory |
| ubuntu.com/security/CVE-2023-47100 | af854a3a-2127-422b-91ae-364da2661108 | ubuntu.com | |
| lists.fedoraproject.org/archives/list/[email protected]/messag... | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | Third Party Advisory |
| lists.fedoraproject.org/archives/list/[email protected]/messag... | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | |
| github.com/Perl/perl5/commit/12c313ce49b36160a7ca2e9b07ad5bd92ee4a010 | af854a3a-2127-422b-91ae-364da2661108 | github.com | |
| perldoc.perl.org/perl5382delta | af854a3a-2127-422b-91ae-364da2661108 | perldoc.perl.org | Vendor Advisory |
| github.com/aquasecurity/trivy/discussions/8400 | af854a3a-2127-422b-91ae-364da2661108 | github.com | |
| www.suse.com/security/cve/CVE-2023-47100.html | af854a3a-2127-422b-91ae-364da2661108 | www.suse.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2023-11-11T00:00:00.000Z | Reported to Red Hat. |
| CNA | 2023-11-25T00:00:00.000Z | Made public. |
Workarounds
CNA: 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.
Legacy QID Mappings
- 199956 Ubuntu Security Notification for Perl Vulnerabilities (USN-6517-1)
- 284818 Fedora Security Update for perl (FEDORA-2023-9ef8a60a05)
- 285116 Fedora Security Update for perl (FEDORA-2023-c67f4dbf13)
- 296108 Oracle Solaris 11.4 Support Repository Update (SRU) 66.164.1 Missing (CPUJAN2024)
- 330165 IBM AIX Arbitrary Command Execution Vulnerability in perl (perl_advisory8)
- 356911 Amazon Linux Security Advisory for perl : ALAS2023-2023-448
- 503689 Alpine Linux Security Update for perl
- 504289 Alpine Linux Security Update for perl
- 505916 Alpine Linux Security Update for perl
- 673435 EulerOS Security Update for perl (EulerOS-SA-2024-1126)
- 673535 EulerOS Security Update for perl (EulerOS-SA-2024-1110)