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

Published Nov 13, 2023
·
Updated

A crafted regular expression when compiled by perl 5.30.0 through 5.38.0 can cause a one attacker controlled byte buffer overflow in a heap allocated buffer.

Other sources

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

A vulnerability was found in perl. 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.

Ubuntu

Perl is vulnerable to a heap-based buffer overflow, caused by improper bounds checking by the user-defined Unicode property. By persuading a victim to use specially crafted regular expression to compile, a remote attacker could overflow a buffer and execute arbitrary code on the system.

IBM

Affected Software

17 affected componentsFixes available
ubuntu/perl<5.30.0-9ubuntu0.5
5.30.0-9ubuntu0.5
ubuntu/perl<5.34.0-3ubuntu1.3
5.34.0-3ubuntu1.3
ubuntu/perl<5.36.0-7ubuntu0.23.04.2
5.36.0-7ubuntu0.23.04.2
ubuntu/perl<5.36.0-9ubuntu1.1
5.36.0-9ubuntu1.1
redhat/perl<5.32.1
5.32.1
IBM AIX<=7.3
IBM VIOS<=4.1
All of the following
Perl Perl=5.34.0
Any of the following
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
Perl Perl>=5.30.0<=5.38.0
Fedoraproject Fedora=39
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
redhat Enterprise Linux Aus=9.4
redhat Enterprise Linux Eus=9.4
debian/perl
5.32.1-4+deb11u35.32.1-4+deb11u45.36.0-7+deb12u35.36.0-7+deb12u25.40.1-65.40.1-7

Event History

Nov 25, 2023
CVE Published
via Ubuntu·12:00 AM
Data Sourced
via Debian·08:21 PM
SeverityAffected Software
Dec 18, 2023
CVE Published
via MITRE·01:43 PM
Data Sourced
via MITRE·01:43 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Feb 17, 2024
Data Sourced
via Launchpad·12:49 AM
Description
Nov 18, 2025
Data Sourced
via Debian·06:51 PM
Description

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2023-47038?

CVE-2023-47038 is a vulnerability that allows an attacker to cause a buffer overflow in a heap-allocated buffer by using a crafted regular expression in Perl versions 5.30.0 through 5.38.0.

2

What software is affected by CVE-2023-47038?

Perl versions 5.30.0 through 5.38.0 are affected by CVE-2023-47038.

3

What is the severity of CVE-2023-47038?

The severity of CVE-2023-47038 is not specified in the provided information.

4

How can I fix CVE-2023-47038?

To fix CVE-2023-47038, you should update your Perl installation to a version that includes the necessary security patches.

5

Where can I find more information about CVE-2023-47038?

You can find more information about CVE-2023-47038 on the MITRE CVE website, Ubuntu Security Notices, and NIST National Vulnerability Database.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203