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

Affected Software

18 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
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
IBM Maximo Application Suite - IoT Component<=9.2.0
IBM Maximo Application Suite - IoT Component<=9.1.0
IBM Maximo Application Suite - IoT Component<=9.0.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/perl to a version that resolves this vulnerability.

    Fixed in 5.30.0-9ubuntu0.5
  2. Upgrade

    Upgrade ubuntu/perl to a version that resolves this vulnerability.

    Fixed in 5.34.0-3ubuntu1.3
  3. Upgrade

    Upgrade ubuntu/perl to a version that resolves this vulnerability.

    Fixed in 5.36.0-7ubuntu0.23.04.2
  4. Upgrade

    Upgrade ubuntu/perl to a version that resolves this vulnerability.

    Fixed in 5.36.0-9ubuntu1.1
  5. Upgrade

    Upgrade redhat/perl to a version that resolves this vulnerability.

    Fixed in 5.32.1
  6. Upgrade

    Upgrade debian/perl to a version that resolves this vulnerability.

    Fixed in 5.32.1-4+deb11u3Fixed in 5.32.1-4+deb11u4Fixed in 5.36.0-7+deb12u3Fixed in 5.36.0-7+deb12u2Fixed in 5.40.1-6Fixed in 5.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
Sep 30, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

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