CVE-2023-47038
JSON

7.0high

Perl: write past buffer end via illegal user-defined unicode property

Severity
7.0high CVSS:3.1 by redhat
Exploit likelihood
0.81% (higher than 58% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

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.

Affected

Product or packageVersionsReported by
perlfrom 5.30.0 before 5.34.3, from 5.36.0 before 5.36.3, from 5.38.0 before 5.38.2
Not affected: from 4:5.32.1-481.el9 before *
CVE List
perl:5.32Not specified
Not affected: from 8100020240314121426.9fe1d287 before *
CVE List
perl:5.30/perlNot specifiedCVE List
perl perlfrom 5.30.0 up to 5.38.0NVD
fedoraproject fedora39NVD
redhat enterprise_linux8.0, 9.0NVD
redhat enterprise_linux_aus9.4NVD
redhat enterprise_linux_eus9.4NVD

All scores

redhat7.0high CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-122CWE-787

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Se encontró una vulnerabilidad en Perl. Este problema ocurre cuando Perl compila una expresión regular manipulada, lo que puede permitir que un atacante controle el desbordamiento de búfer de bytes en un búfer asignado en el almacenamiento dinámico.

References

https://access.redhat.com/errata/RHSA-2024:2228third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2024:3128third-party-advisory, vendor-advisory
https://access.redhat.com/security/cve/CVE-2023-47038broken-link, third-party-advisory, vdb-entry
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056746mailing-list, patch
https://bugzilla.redhat.com/show_bug.cgi?id=2249523issue-tracking, third-party-advisory
https://github.com/aquasecurity/trivy/discussions/8400
https://www.suse.com/security/cve/CVE-2023-47100.html
https://ubuntu.com/security/CVE-2023-47100
https://github.com/Perl/perl5/commit/ff1f9f59360afeebd6f75ca1502f5c3ebf077da3
https://github.com/Perl/perl5/commit/7047915eef37fccd93e7cd985c29fe6be54650b6
https://github.com/Perl/perl5/commit/12c313ce49b36160a7ca2e9b07ad5bd92ee4a010
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GNEEWAACXQCEEAKSG7XX2D5YDRWLCIZJ/third-party-advisory

Sources

SourceRecordLicence
CVE ListCVE-2023-47038 changed 2026-11-26CVE Terms of Use
NVDCVE-2023-47038 changed 2026-11-26Public domain