CVE-2023-47038 json
Perl: write past buffer end via illegal user-defined unicode property
published 2023-12-18 2 y ago modified 2026-06-17 4 mo ago also EUVD-2023-51193
- cvss
- 7.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 57%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Red Hat Red Hat Enterprise Linux 8 8100020240314121426.9fe1d287
- Red Hat Red Hat Enterprise Linux 9 4:5.32.1-481.el9
- perl Debian 12 5.36.0-7+deb12u1
- perl Debian 14, Debian 13 5.36.0-10
debian advisories DEBIAN-CVE-2023-47038
- perl Ubuntu 20.04 LTS 5.30.0-9ubuntu0.5
- perl Ubuntu 22.04 LTS 5.34.0-3ubuntu1.3
- perl Ubuntu 24.04 LTS 5.36.0-10ubuntu1
ubuntu advisories UBUNTU-CVE-2023-47038
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- perl RHEL 8 4:5.32.1-473.module+el8.10.0+21354+3ad137bb
- perl-B RHEL 8 1.80-473.module+el8.10.0+21354+3ad137bb
- perl-if RHEL 8 0.60.800-473.module+el8.10.0+21354+3ad137bb
- perl-IO RHEL 8 1.43-473.module+el8.10.0+21354+3ad137bb
- perl-ph RHEL 8 5.32.1-473.module+el8.10.0+21354+3ad137bb
- perl-Env RHEL 8 1.04-396.module+el8.10.0+21354+3ad137bb
- perl-lib RHEL 8 0.65-473.module+el8.10.0+21354+3ad137bb
- perl-mro RHEL 8 1.23-473.module+el8.10.0+21354+3ad137bb
red hat advisories RHSA-2024:3128RHSA-2024:2228
- perl openSUSE Tumbleweed 5.38.2-1.1
opensuse advisories openSUSE-SU-2024:13479-1
- perl AlmaLinux 8 4:5.32.1-473.module_el8.10.0+3779+d5938d28
- perl-B AlmaLinux 8 1.80-473.module_el8.10.0+3779+d5938d28
- perl-if AlmaLinux 8 0.60.800-473.module_el8.10.0+3779+d5938d28
- perl-IO AlmaLinux 8 1.43-473.module_el8.10.0+3779+d5938d28
- perl-ph AlmaLinux 8 5.32.1-473.module_el8.10.0+3779+d5938d28
- perl-Env AlmaLinux 8 1.04-396.module_el8.6.0+2766+8bf0b7ce
- perl-lib AlmaLinux 8 0.65-473.module_el8.10.0+3779+d5938d28
- perl-mro AlmaLinux 8 1.23-473.module_el8.10.0+3779+d5938d28
almalinux advisories ALSA-2024:3128ALSA-2024:2228
- perl Rocky Linux 9 4:5.32.1-481.el9
- perl Rocky Linux 8 4:5.32.1-473.module+el8.10.0+1616+0d20cc68
- perl-Env Rocky Linux 8 1.04-396.module+el8.10.0+1616+0d20cc68
- perl-Env Rocky Linux 8 1.04-396.module+el8.6.0+878+f93dfff7
- perl-Env Rocky Linux 8 1.04-396.module+el8.6.0+882+2fa1e48f
- perl-URI Rocky Linux 8 1.76-5.module+el8.10.0+1616+0d20cc68
- perl-URI Rocky Linux 8 1.76-5.module+el8.6.0+878+f93dfff7
- perl-Carp Rocky Linux 8 1.50-439.module+el8.10.0+1616+0d20cc68
rocky linux advisories RLSA-2024:2228RLSA-2024:3128
- perl Alpine 3.16, Alpine 3.15 5.34.2-r0
- perl Alpine 3.18, Alpine 3.17 5.36.2-r0
- perl Alpine 3.24, Alpine 3.23, Alpine 3.22 +3 more 5.38.1-r0
alpine advisories ALPINE-CVE-2023-47038
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-47038 updated cvss 7.0
perl: Write past buffer end via illegal user-defined Unicode property
-
Red Hat Enterprise Linux 8 perl, perl-IO, perl-libs, perl-open, perl-Test, perl-Errno, +19 moreaffected: workaround, no fix planned “Will not fix”
-
Red Hat Enterprise Linux AppStream (v. 8) perl 5.32.1-473.module+el8.10.0+21354+3ad137bb, perl-B 1.80-473.module+el8.10.0+21354+3ad137bb, perl-URI 1.76-5.module+el8.10.0+21354+3ad137bb, perl-CPAN 2.28-5.module+el8.10.0+21354+3ad137bb, perl-IO 1.43-473.module+el8.10.0+21354+3ad137bb, perl-Tie 4.6-473.module+el8.10.0+21354+3ad137bb, +213 morefixed: vendor fix RHSA-2024:3128
-
Red Hat Enterprise Linux AppStream (v. 9) perl 5.32.1-481.el9, perl-B 1.80-481.el9, perl-IO 1.43-481.el9, perl-Tie 4.6-481.el9, perl-lib 0.65-481.el9, perl-mro 1.23-481.el9, +92 morefixed: vendor fix RHSA-2024:2228
-
Red Hat Enterprise Linux 6 perl, perl-CGI, perl-core, perl-CPAN, perl-libs, perl-parent, +39 more Red Hat Enterprise Linux 7 perl, perl-core, perl-CPAN, perl-libs, perl-tests, perl-macros, +11 more Red Hat Enterprise Linux 8 perl, perl-IO, perl-libs, perl-open, perl-Test, perl-Errno, +19 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-24-319-08 updated cvss 7.0
Siemens SINEC INS
-
Siemens SINEC INS <V1.0_SP2_Update_3affected: fixed in V1.0 support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 23 mo ago
Exploit prediction
0.81% chance of exploitation in the next 30 days, higher than 57% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Red Hat Red Hat Enterprise Linux 8
- Red Hat Red Hat Enterprise Linux 9
- Red Hat Red Hat Enterprise Linux 6
- Red Hat Red Hat Enterprise Linux 7
Classification
References
- github.com /Perl/perl5/commit/ff1f9f59360afeebd6f75ca1502f5c3ebf077da3
- github.com /Perl/perl5/commit/7047915eef37fccd93e7cd985c29fe6be54650b6
- github.com /Perl/perl5/commit/12c313ce49b36160a7ca2e9b07ad5bd92ee4a010
-
bugs.debian.org
/cgi-bin/bugreport.cgi?bug=1056746
mailing-list, patch
-
access.redhat.com
/errata/RHSA-2024:2228
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2024:3128
vendor-advisory, third-party-advisory
-
perldoc.perl.org
/perl5382delta#CVE-2023-47038-Write-past-buffer-end-via-illegal-user-defined-Unicode-property
vendor-advisory
-
access.redhat.com
/security/cve/CVE-2023-47038
vdb-entry, broken-link, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=2249523
issue-tracking, third-party-advisory
- github.com /aquasecurity/trivy/discussions/8400
- suse.com /security/cve/CVE-2023-47100.html
- ubuntu.com /security/CVE-2023-47100
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/GNEEWAACXQCEEAKSG7XX2D5YDRWLCIZJ/
third-party-advisory
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/UMDZZ4SCEW6FRWZDMXGAKZ35THTAWFG6/
Sources
- CVE List CVE-2023-47038
- NVD CVE-2023-47038
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Correct version ranges to account for backported fixes.