cve.bz

CVE-2023-47038 Out-of-bounds Write

7.8 highEPSS 0.8%Fix available

High (7.8). EPSS 0.8% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.8% (unchanged from 0.8% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 58th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2024-11-27. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-787 Out-of-bounds Write
CWE-122 Heap-based Buffer Overflow
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-47038 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-47038?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-47038?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-47038 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 88100020240314121426.9fe1d287
Red Hat Enterprise Linux 94:5.32.1-481.el9

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12perl5.36.0-7+deb12u1DEBIAN-CVE-2023-47038
Debian13, 14perl5.36.0-10DEBIAN-CVE-2023-47038
Ubuntu18.04:LTS, 20.04:LTSperl6no fix listedUBUNTU-CVE-2023-47038
Ubuntu20.04:LTSperl5.30.0-9ubuntu0.5UBUNTU-CVE-2023-47038 USN-6517-1
Ubuntu22.04:LTSperl5.34.0-3ubuntu1.3UBUNTU-CVE-2023-47038 USN-6517-1
Ubuntu24.04:LTSperl5.36.0-10ubuntu1UBUNTU-CVE-2023-47038
Ubuntu24.04:LTS, 25.10, 26.04:LTS and 1 morerakuno fix listedUBUNTU-CVE-2023-47038
Red Hatenterprise_linux:8::appstreamperl, perl-libs, perl-devel and 7 more4:5.32.1-473.module+el8.10.0+21354+3ad137bbRHSA-2024:3128
Red Hatenterprise_linux:8::appstreamperl-Algorithm-Diff0:1.1903-10.module+el8.10.0+21354+3ad137bbRHSA-2024:3128
Red Hatenterprise_linux:8::appstreamperl-Archive-Tar0:2.38-3.module+el8.10.0+21354+3ad137bbRHSA-2024:3128
Red Hatenterprise_linux:8::appstreamperl-Archive-Zip0:1.68-3.module+el8.10.0+21354+3ad137bbRHSA-2024:3128
Red Hatenterprise_linux:8::appstreamperl-Attribute-Handlers0:1.01-473.module+el8.10.0+21354+3ad137bbRHSA-2024:3128
Red Hatenterprise_linux:8::appstreamperl-AutoSplit, perl-AutoLoader0:5.74-473.module+el8.10.0+21354+3ad137bbRHSA-2024:3128
Red Hatenterprise_linux:8::appstreamperl-B, perl-B-debuginfo0:1.80-473.module+el8.10.0+21354+3ad137bbRHSA-2024:3128
Red Hatenterprise_linux:8::appstreamperl-CPAN0:2.28-5.module+el8.10.0+21354+3ad137bbRHSA-2024:3128
Red Hatenterprise_linux:8::appstreamperl-CPAN-DistnameInfo0:0.12-13.module+el8.10.0+21354+3ad137bbRHSA-2024:3128
Red Hatenterprise_linux:8::appstreamperl-CPAN-Meta0:2.150010-397.module+el8.10.0+21354+3ad137bbRHSA-2024:3128
Red Hatenterprise_linux:8::appstreamperl-CPAN-Meta-Requirements0:2.140-397.module+el8.10.0+21354+3ad137bbRHSA-2024:3128
Red Hatenterprise_linux:8::appstreamperl-CPAN-Meta-YAML0:0.018-1001.module+el8.10.0+21354+3ad137bbRHSA-2024:3128
235 more for Red Hat in the JSON and on Red Hat's page.
openSUSETumbleweedperl5.38.2-1.1openSUSE-SU-2024:13479-1
AlmaLinux8perl, perl-libs, perl-devel and 3 more4:5.32.1-473.module_el8.10.0+3779+d5938d28ALSA-2024:3128
AlmaLinux8perl-Algorithm-Diff1.1903-10.module_el8.6.0+2766+8bf0b7ceALSA-2024:3128
AlmaLinux8perl-Archive-Tar2.38-3.module_el8.6.0+2766+8bf0b7ceALSA-2024:3128
AlmaLinux8perl-Archive-Zip1.68-3.module_el8.6.0+2766+8bf0b7ceALSA-2024:3128
AlmaLinux8perl-Attribute-Handlers1.01-473.module_el8.10.0+3779+d5938d28ALSA-2024:3128
AlmaLinux8perl-B1.80-473.module_el8.10.0+3779+d5938d28ALSA-2024:3128
AlmaLinux8perl-CPAN2.28-5.module_el8.6.0+2766+8bf0b7ceALSA-2024:3128
AlmaLinux8perl-CPAN-DistnameInfo0.12-13.module_el8.6.0+2766+8bf0b7ceALSA-2024:3128
AlmaLinux8perl-CPAN-Meta2.150010-397.module_el8.6.0+2766+8bf0b7ceALSA-2024:3128
AlmaLinux8perl-CPAN-Meta-Requirements2.140-397.module_el8.6.0+2766+8bf0b7ceALSA-2024:3128
AlmaLinux8perl-CPAN-Meta-YAML0.018-1001.module_el8.6.0+2766+8bf0b7ceALSA-2024:3128
AlmaLinux8perl-Carp1.50-439.module_el8.6.0+2766+8bf0b7ceALSA-2024:3128
33 more for AlmaLinux in the JSON.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

For this vulnerability in Perl, a successful exploitation may involve navigating through intricate aspects of the code related to user-defined Unicode properties and executing an attack that writes past the buffer end. So the higher attack complexity implies that it would be more challenging for an attacker to exploit this vulnerability successfully, requiring a greater level of sophistication and effort. Due to this elevated level of difficulty, the vulnerability has been marked with a moderate severity rating.

Red Hat's mitigation

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.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8perl:5.32-8100020240314121426.9fe1d287Fixed 2024-05-22RHSA-2024:3128
Red Hat Enterprise Linux 9perl-4:5.32.1-481.el9Fixed 2024-04-30RHSA-2024:2228
Red Hat Enterprise Linux 6perlNot affected
Red Hat Enterprise Linux 7perlNot affected
Red Hat Enterprise Linux 8perlNot affected
Red Hat Enterprise Linux 8perl:5.30/perlWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-47038.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-319-08Siemens SINEC INS2024-11-12MultipleSINEC INSnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON