perl: stack-based crash in S_find_uninit_var()
Published Aug 22, 2023
9.8
CRITICALCVSS 3.1
EPSS 2.61%
Description
In Perl 5.34.0, function S_find_uninit_var in sv.c has a stack-based crash that can lead to remote code execution or local privilege escalation.
Affected products
No data.
No data.
Red Hat Hardened Images
perl-main-1.03-524.hum1
Fixed · RHSA-2026:6206
Red Hat Enterprise Linux 6
perl
Not affected
Red Hat Enterprise Linux 7
perl
Not affected
Red Hat Enterprise Linux 8
perl
Not affected
Red Hat Enterprise Linux 8
perl:5.30/perl
Not affected
Red Hat Enterprise Linux 8
perl:5.32/perl
Not affected
Red Hat Enterprise Linux 9
perl
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Hardened Images | perl-main-1.03-524.hum1 | Fixed | RHSA-2026:6206 |
| Red Hat Enterprise Linux 6 | perl | Not affected | n/a |
| Red Hat Enterprise Linux 7 | perl | Not affected | n/a |
| Red Hat Enterprise Linux 8 | perl | Not affected | n/a |
| Red Hat Enterprise Linux 8 | perl:5.30/perl | Not affected | n/a |
| Red Hat Enterprise Linux 8 | perl:5.32/perl | Not affected | n/a |
| Red Hat Enterprise Linux 9 | perl | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
The vulnerable code was introduced in Perl v5.33.1. Red Hat Enterprise Linux ships Perl v5.32.1 and lower. Our code-base does not contain the vulnerable code, therefore, RHEL is not affected. When attempting to access a hash entry with an undefined variable as the key, an infinite recursion occurs, depleting the stack space and leading to a stack overflow. This behavior is specific to cases where '-w' ("use warnings;") are enabled.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
PoCAutomatable
YesTechnical Impact
TotalDecision
n/aAssessed Oct 3, 2024 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2023–2026- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (20 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.61% (0.02606) | 84.84th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.05% (0.02046) | 78.61th | v5 (v2026.06.15) |
| Mar 4, 2026 | 17.32% (0.17318) | 94.91th | v4 (v2025.03.14) |
| Mar 1, 2026 | 13.30% (0.13298) | 94.05th | v4 (v2025.03.14) |
| Feb 4, 2026 | 17.32% (0.17318) | 94.85th | v4 (v2025.03.14) |
| Feb 1, 2026 | 13.30% (0.13298) | 94.01th | v4 (v2025.03.14) |
| Jan 31, 2026 | 17.32% (0.17318) | 94.85th | v4 (v2025.03.14) |
| Nov 21, 2025 | 13.30% (0.13298) | 93.88th | v4 (v2025.03.14) |
| Nov 18, 2025 | 4.96% (0.04959) | 88.61th | v4 (v2025.03.14) |
| Sep 9, 2025 | 12.87% (0.12874) | 93.79th | v4 (v2025.03.14) |
| May 24, 2025 | 9.92% (0.09922) | 92.59th | v4 (v2025.03.14) |
| May 20, 2025 | 17.33% (0.17326) | 94.67th | v4 (v2025.03.14) |
| Mar 30, 2025 | 16.09% (0.16093) | 94.23th | v4 (v2025.03.14) |
| Mar 29, 2025 | 17.41% (0.17410) | 91.83th | v4 (v2025.03.14) |
| Mar 17, 2025 | 16.09% (0.16093) | 94.30th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.57% (0.00566) | 78.53th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.29% (0.00285) | 67.84th | v3 (v2023.03.01) |
| Sep 16, 2023 | 0.29% (0.00285) | 64.89th | v3 (v2023.03.01) |
| Aug 29, 2023 | 0.24% (0.00243) | 61.50th | v3 (v2023.03.01) |
| Aug 23, 2023 | 0.04% (0.00045) | 12.44th | v3 (v2023.03.01) |
References (8)
- https://access.redhat.com/security/cve/CVE-2022-48522 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2234416 Issue Tracking
- https://github.com/Perl/perl5/blob/79a7b254d85a10b65126ad99bf10e70480569d68/sv.c#L16336-L16345 Exploit
- https://github.com/Perl/perl5/commit/23cca2d1f4544cb47f1124d98c308ce1f31f09a6
- https://github.com/Perl/perl5/issues/19147
- https://nvd.nist.gov/vuln/detail/CVE-2022-48522
- https://security.netapp.com/advisory/ntap-20230915-0008/
- https://www.cve.org/CVERecord?id=CVE-2022-48522
Change history (0)
No recorded changes yet.