CVE-2022-48522
In Perl 5.34.0, function S_find_uninit_var in sv.c has a stack-based crash that can lead to...
CVE-2022-48522 is a critical vulnerability (CVSS 9.8) in Perl, published August 22, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.46%, the 89th percentile. Fixed in perl 5.36.0-4.
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
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.
- Record
CVE-2022-48522- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2022-48522- Updated
- 2026-11-02
EUVDEUVD-2022-51218 No score
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.
- Record
EUVD-2022-51218- Updated
- 2026-11-02
GitHub AdvisoriesGHSA-96cv-gp7m-9r39
9.8
In Perl 5.34.0, function S_find_uninit_var in sv.c has a stack-based crash that can lead to...
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.
- Record
GHSA-96cv-gp7m-9r39- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2022-48522
9.8
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.
- Record
DEBIAN-CVE-2022-48522- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
OSVOESA-2023-1563
8.1
perl security update
Perl 5 is a highly capable, feature-rich programming language with over 30 years of development.Perl 5 runs on over 100 platforms from portables to mainframes and is suitable for both rapid prototyping and large scale development projects.
Security Fix(es):
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.(CVE-2022-48522)
- Record
OESA-2023-1563- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 6 moreShow less
OSVOESA-2023-1564
8.1
perl security update
Perl 5 is a highly capable, feature-rich programming language with over 30 years of development.Perl 5 runs on over 100 platforms from portables to mainframes and is suitable for both rapid prototyping and large scale development projects.
Security Fix(es):
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.(CVE-2022-48522)
- Record
OESA-2023-1564- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVOESA-2023-1565
8.1
perl security update
Perl 5 is a highly capable, feature-rich programming language with over 30 years of development.Perl 5 runs on over 100 platforms from portables to mainframes and is suitable for both rapid prototyping and large scale development projects.
Security Fix(es):
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.(CVE-2022-48522)
- Record
OESA-2023-1565- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2026:6206
8.2
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
- Record
RHSA-2026:6206- CVSS 3.1
- 8.2 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2022-48522
9.8
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.
- Record
UBUNTU-CVE-2022-48522- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2022-48522- Updated
- 2026-11-02
OSVUSN-6517-1 No score
perl vulnerabilities
It was discovered that Perl incorrectly handled printing certain warning messages. An attacker could possibly use this issue to cause Perl to consume resources, leading to a denial of service. This issue only affected Ubuntu 22.04 LTS. (CVE-2022-48522)
Nathan Mills discovered that Perl incorrectly handled certain regular expressions. An attacker could use this issue to cause Perl to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2023-47038)
- Record
USN-6517-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
perlDebian:12 |
before 5.36.0-4 | 5.36.0-4 |
perlDebian:13 |
before 5.36.0-4 | 5.36.0-4 |
perlDebian:14 |
before 5.36.0-4 | 5.36.0-4 |
perlopenEuler:22.03-LTS |
before 5.34.0-9.oe2203 | 5.34.0-9.oe2203 |
perlopenEuler:22.03-LTS-SP1 |
before 5.34.0-9.oe2203sp1 | 5.34.0-9.oe2203sp1 |
perlopenEuler:22.03-LTS-SP2 |
before 5.34.0-9.oe2203sp2 | 5.34.0-9.oe2203sp2 |
perlRed Hat:hummingbird:1 |
before 0:5.42.2-524.hum1 | 0:5.42.2-524.hum1 |
perl-Attribute-HandlersRed Hat:hummingbird:1 |
before 0:1.03-524.hum1 | 0:1.03-524.hum1 |
perl-AutoLoaderRed Hat:hummingbird:1 |
before 0:5.74-524.hum1 | 0:5.74-524.hum1 |
perl-AutoSplitRed Hat:hummingbird:1 |
before 0:5.74-524.hum1 | 0:5.74-524.hum1 |
Show 99 moreShow less
| Package | Affected | Fixed |
|---|---|---|
perl-BRed Hat:hummingbird:1 |
before 0:1.89-524.hum1 | 0:1.89-524.hum1 |
perl-BenchmarkRed Hat:hummingbird:1 |
before 0:1.27-524.hum1 | 0:1.27-524.hum1 |
perl-Class-StructRed Hat:hummingbird:1 |
before 0:0.68-524.hum1 | 0:0.68-524.hum1 |
perl-Config-ExtensionsRed Hat:hummingbird:1 |
before 0:0.03-524.hum1 | 0:0.03-524.hum1 |
perl-DBM_FilterRed Hat:hummingbird:1 |
before 0:0.07-524.hum1 | 0:0.07-524.hum1 |
perl-Devel-PeekRed Hat:hummingbird:1 |
before 0:1.36-524.hum1 | 0:1.36-524.hum1 |
perl-Devel-SelfStubberRed Hat:hummingbird:1 |
before 0:1.06-524.hum1 | 0:1.06-524.hum1 |
perl-DirHandleRed Hat:hummingbird:1 |
before 0:1.05-524.hum1 | 0:1.05-524.hum1 |
perl-DumpvalueRed Hat:hummingbird:1 |
before 0:2.27-524.hum1 | 0:2.27-524.hum1 |
perl-DynaLoaderRed Hat:hummingbird:1 |
before 0:1.57-524.hum1 | 0:1.57-524.hum1 |
perl-EnglishRed Hat:hummingbird:1 |
before 0:1.11-524.hum1 | 0:1.11-524.hum1 |
perl-ErrnoRed Hat:hummingbird:1 |
before 0:1.38-524.hum1 | 0:1.38-524.hum1 |
perl-ExtUtils-ConstantRed Hat:hummingbird:1 |
before 0:0.25-524.hum1 | 0:0.25-524.hum1 |
perl-ExtUtils-EmbedRed Hat:hummingbird:1 |
before 0:1.35-524.hum1 | 0:1.35-524.hum1 |
perl-ExtUtils-MiniperlRed Hat:hummingbird:1 |
before 0:1.14-524.hum1 | 0:1.14-524.hum1 |
perl-FcntlRed Hat:hummingbird:1 |
before 0:1.20-524.hum1 | 0:1.20-524.hum1 |
perl-File-BasenameRed Hat:hummingbird:1 |
before 0:2.86-524.hum1 | 0:2.86-524.hum1 |
perl-File-CompareRed Hat:hummingbird:1 |
before 0:1.100.800-524.hum1 | 0:1.100.800-524.hum1 |
perl-File-CopyRed Hat:hummingbird:1 |
before 0:2.41-524.hum1 | 0:2.41-524.hum1 |
perl-File-DosGlobRed Hat:hummingbird:1 |
before 0:1.12-524.hum1 | 0:1.12-524.hum1 |
perl-File-FindRed Hat:hummingbird:1 |
before 0:1.44-524.hum1 | 0:1.44-524.hum1 |
perl-File-statRed Hat:hummingbird:1 |
before 0:1.14-524.hum1 | 0:1.14-524.hum1 |
perl-FileCacheRed Hat:hummingbird:1 |
before 0:1.10-524.hum1 | 0:1.10-524.hum1 |
perl-FileHandleRed Hat:hummingbird:1 |
before 0:2.05-524.hum1 | 0:2.05-524.hum1 |
perl-FindBinRed Hat:hummingbird:1 |
before 0:1.54-524.hum1 | 0:1.54-524.hum1 |
perl-GDBM_FileRed Hat:hummingbird:1 |
before 0:1.24-524.hum1 | 0:1.24-524.hum1 |
perl-Getopt-StdRed Hat:hummingbird:1 |
before 0:1.14-524.hum1 | 0:1.14-524.hum1 |
perl-Hash-UtilRed Hat:hummingbird:1 |
before 0:0.32-524.hum1 | 0:0.32-524.hum1 |
perl-Hash-Util-FieldHashRed Hat:hummingbird:1 |
before 0:1.27-524.hum1 | 0:1.27-524.hum1 |
perl-I18N-CollateRed Hat:hummingbird:1 |
before 0:1.02-524.hum1 | 0:1.02-524.hum1 |
perl-I18N-LangTagsRed Hat:hummingbird:1 |
before 0:0.45-524.hum1 | 0:0.45-524.hum1 |
perl-I18N-LanginfoRed Hat:hummingbird:1 |
before 0:0.24-524.hum1 | 0:0.24-524.hum1 |
perl-IORed Hat:hummingbird:1 |
before 0:1.55-524.hum1 | 0:1.55-524.hum1 |
perl-IPC-Open3Red Hat:hummingbird:1 |
before 0:1.24-524.hum1 | 0:1.24-524.hum1 |
perl-Locale-Maketext-SimpleRed Hat:hummingbird:1 |
before 0:0.21-524.hum1 | 0:0.21-524.hum1 |
perl-Math-ComplexRed Hat:hummingbird:1 |
before 0:1.63-524.hum1 | 0:1.63-524.hum1 |
perl-MemoizeRed Hat:hummingbird:1 |
before 0:1.17-524.hum1 | 0:1.17-524.hum1 |
perl-Module-LoadedRed Hat:hummingbird:1 |
before 0:0.08-524.hum1 | 0:0.08-524.hum1 |
perl-NDBM_FileRed Hat:hummingbird:1 |
before 0:1.18-524.hum1 | 0:1.18-524.hum1 |
perl-NEXTRed Hat:hummingbird:1 |
before 0:0.69-524.hum1 | 0:0.69-524.hum1 |
perl-NetRed Hat:hummingbird:1 |
before 0:1.04-524.hum1 | 0:1.04-524.hum1 |
perl-ODBM_FileRed Hat:hummingbird:1 |
before 0:1.20-524.hum1 | 0:1.20-524.hum1 |
perl-OpcodeRed Hat:hummingbird:1 |
before 0:1.69-524.hum1 | 0:1.69-524.hum1 |
perl-POSIXRed Hat:hummingbird:1 |
before 0:2.23-524.hum1 | 0:2.23-524.hum1 |
perl-Pod-FunctionsRed Hat:hummingbird:1 |
before 0:1.14-524.hum1 | 0:1.14-524.hum1 |
perl-Pod-HtmlRed Hat:hummingbird:1 |
before 0:1.35-524.hum1 | 0:1.35-524.hum1 |
perl-SafeRed Hat:hummingbird:1 |
before 0:2.47-524.hum1 | 0:2.47-524.hum1 |
perl-Search-DictRed Hat:hummingbird:1 |
before 0:1.08-524.hum1 | 0:1.08-524.hum1 |
perl-SelectSaverRed Hat:hummingbird:1 |
before 0:1.02-524.hum1 | 0:1.02-524.hum1 |
perl-SelfLoaderRed Hat:hummingbird:1 |
before 0:1.28-524.hum1 | 0:1.28-524.hum1 |
perl-SymbolRed Hat:hummingbird:1 |
before 0:1.09-524.hum1 | 0:1.09-524.hum1 |
perl-Sys-HostnameRed Hat:hummingbird:1 |
before 0:1.25-524.hum1 | 0:1.25-524.hum1 |
perl-Term-CompleteRed Hat:hummingbird:1 |
before 0:1.403-524.hum1 | 0:1.403-524.hum1 |
perl-Term-ReadLineRed Hat:hummingbird:1 |
before 0:1.17-524.hum1 | 0:1.17-524.hum1 |
perl-TestRed Hat:hummingbird:1 |
before 0:1.31-524.hum1 | 0:1.31-524.hum1 |
perl-Text-AbbrevRed Hat:hummingbird:1 |
before 0:1.02-524.hum1 | 0:1.02-524.hum1 |
perl-ThreadRed Hat:hummingbird:1 |
before 0:3.06-524.hum1 | 0:3.06-524.hum1 |
perl-Thread-SemaphoreRed Hat:hummingbird:1 |
before 0:2.13-524.hum1 | 0:2.13-524.hum1 |
perl-TieRed Hat:hummingbird:1 |
before 0:4.6-524.hum1 | 0:4.6-524.hum1 |
perl-Tie-FileRed Hat:hummingbird:1 |
before 0:1.10-524.hum1 | 0:1.10-524.hum1 |
perl-Tie-MemoizeRed Hat:hummingbird:1 |
before 0:1.1-524.hum1 | 0:1.1-524.hum1 |
perl-TimeRed Hat:hummingbird:1 |
before 0:1.04-524.hum1 | 0:1.04-524.hum1 |
perl-Time-PieceRed Hat:hummingbird:1 |
before 0:1.3600-524.hum1 | 0:1.3600-524.hum1 |
perl-Unicode-UCDRed Hat:hummingbird:1 |
before 0:0.81-524.hum1 | 0:0.81-524.hum1 |
perl-User-pwentRed Hat:hummingbird:1 |
before 0:1.05-524.hum1 | 0:1.05-524.hum1 |
perl-autouseRed Hat:hummingbird:1 |
before 0:1.11-524.hum1 | 0:1.11-524.hum1 |
perl-baseRed Hat:hummingbird:1 |
before 0:2.27-524.hum1 | 0:2.27-524.hum1 |
perl-blibRed Hat:hummingbird:1 |
before 0:1.07-524.hum1 | 0:1.07-524.hum1 |
perl-debuggerRed Hat:hummingbird:1 |
before 0:1.60-524.hum1 | 0:1.60-524.hum1 |
perl-deprecateRed Hat:hummingbird:1 |
before 0:0.04-524.hum1 | 0:0.04-524.hum1 |
perl-develRed Hat:hummingbird:1 |
before 0:5.42.2-524.hum1 | 0:5.42.2-524.hum1 |
perl-diagnosticsRed Hat:hummingbird:1 |
before 0:1.40-524.hum1 | 0:1.40-524.hum1 |
perl-docRed Hat:hummingbird:1 |
before 0:5.42.2-524.hum1 | 0:5.42.2-524.hum1 |
perl-encoding-warningsRed Hat:hummingbird:1 |
before 0:0.14-524.hum1 | 0:0.14-524.hum1 |
perl-fieldsRed Hat:hummingbird:1 |
before 0:2.27-524.hum1 | 0:2.27-524.hum1 |
perl-filetestRed Hat:hummingbird:1 |
before 0:1.03-524.hum1 | 0:1.03-524.hum1 |
perl-ifRed Hat:hummingbird:1 |
before 0:0.61.000-524.hum1 | 0:0.61.000-524.hum1 |
perl-interpreterRed Hat:hummingbird:1 |
before 0:5.42.2-524.hum1 | 0:5.42.2-524.hum1 |
perl-lessRed Hat:hummingbird:1 |
before 0:0.03-524.hum1 | 0:0.03-524.hum1 |
perl-libRed Hat:hummingbird:1 |
before 0:0.65-524.hum1 | 0:0.65-524.hum1 |
perl-libnetcfgRed Hat:hummingbird:1 |
before 0:5.42.2-524.hum1 | 0:5.42.2-524.hum1 |
perl-libsRed Hat:hummingbird:1 |
before 0:5.42.2-524.hum1 | 0:5.42.2-524.hum1 |
perl-localeRed Hat:hummingbird:1 |
before 0:1.13-524.hum1 | 0:1.13-524.hum1 |
perl-macrosRed Hat:hummingbird:1 |
before 0:5.42.2-524.hum1 | 0:5.42.2-524.hum1 |
perl-meta-notationRed Hat:hummingbird:1 |
before 0:5.42.2-524.hum1 | 0:5.42.2-524.hum1 |
perl-mroRed Hat:hummingbird:1 |
before 0:1.29-524.hum1 | 0:1.29-524.hum1 |
perl-openRed Hat:hummingbird:1 |
before 0:1.13-524.hum1 | 0:1.13-524.hum1 |
perl-overloadRed Hat:hummingbird:1 |
before 0:1.40-524.hum1 | 0:1.40-524.hum1 |
perl-overloadingRed Hat:hummingbird:1 |
before 0:0.02-524.hum1 | 0:0.02-524.hum1 |
perl-phRed Hat:hummingbird:1 |
before 0:5.42.2-524.hum1 | 0:5.42.2-524.hum1 |
perl-sigtrapRed Hat:hummingbird:1 |
before 0:1.10-524.hum1 | 0:1.10-524.hum1 |
perl-sortRed Hat:hummingbird:1 |
before 0:2.06-524.hum1 | 0:2.06-524.hum1 |
perl-subsRed Hat:hummingbird:1 |
before 0:1.04-524.hum1 | 0:1.04-524.hum1 |
perl-testsRed Hat:hummingbird:1 |
before 0:5.42.2-524.hum1 | 0:5.42.2-524.hum1 |
perl-utilsRed Hat:hummingbird:1 |
before 0:5.42.2-524.hum1 | 0:5.42.2-524.hum1 |
perl-varsRed Hat:hummingbird:1 |
before 0:1.05-524.hum1 | 0:1.05-524.hum1 |
perl-vmsishRed Hat:hummingbird:1 |
before 0:1.04-524.hum1 | 0:1.04-524.hum1 |
perlUbuntu:22.04:LTS |
before 5.34.0-3ubuntu1.3, plus listed versions 5.32.1-3ubuntu35.34.0-3ubuntu15.34.0-3ubuntu1.15.34.0-3ubuntu1.2 |
5.34.0-3ubuntu1.3 |
perlUbuntu:20.04:LTS |
before 5.30.0-9ubuntu0.5, plus listed versions 5.28.1-6build15.30.0-75.30.0-95.30.0-9build15.30.0-9ubuntu0.25.30.0-9ubuntu0.35.30.0-9ubuntu0.4 |
5.30.0-9ubuntu0.5 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-02 | created | CVE List, EUVD, GitHub Advisories, NVD, OSV |
References
github.com/Perl/perl5/blob/79a7b254d85a10b65126ad99bf10e70480569d68/sv.c
security.netapp.com/advisory/ntap-20230915-0008
cert-portal.siemens.com/productcert/html/ssa-398330.html
nvd.nist.gov/vuln/detail/CVE-2022-48522
github.com/advisories/GHSA-96cv-gp7m-9r39
github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48522.json
Show 46 moreShow less
security-tracker.debian.org/tracker/CVE-2022-48522
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1563
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1564
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1565
access.redhat.com/errata/RHSA-2026:6206
images.redhat.com
access.redhat.com/security/cve/CVE-2022-48522
access.redhat.com/security/updates/classification
access.redhat.com/security/cve/CVE-2020-10543
access.redhat.com/security/cve/CVE-2018-6913
access.redhat.com/security/cve/CVE-2017-12883
access.redhat.com/security/cve/CVE-2017-12837
access.redhat.com/security/cve/CVE-2016-2381
access.redhat.com/security/cve/CVE-2015-8853
access.redhat.com/security/cve/CVE-2012-6329
security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_6206.json
bugzilla.redhat.com/show_bug.cgi?id=884354
cve.org/CVERecord?id=CVE-2012-6329
nvd.nist.gov/vuln/detail/CVE-2012-6329
bugzilla.redhat.com/show_bug.cgi?id=1329106
cve.org/CVERecord?id=CVE-2015-8853
nvd.nist.gov/vuln/detail/CVE-2015-8853
rt.perl.org/Public/Bug/Display.html?id=123562
bugzilla.redhat.com/show_bug.cgi?id=1309214
cve.org/CVERecord?id=CVE-2016-2381
nvd.nist.gov/vuln/detail/CVE-2016-2381
bugzilla.redhat.com/show_bug.cgi?id=1492091
cve.org/CVERecord?id=CVE-2017-12837
nvd.nist.gov/vuln/detail/CVE-2017-12837
bugzilla.redhat.com/show_bug.cgi?id=1492093
cve.org/CVERecord?id=CVE-2017-12883
nvd.nist.gov/vuln/detail/CVE-2017-12883
bugzilla.redhat.com/show_bug.cgi?id=1547772
cve.org/CVERecord?id=CVE-2018-6913
nvd.nist.gov/vuln/detail/CVE-2018-6913
rt.perl.org/Public/Bug/Display.html?id=131844
bugzilla.redhat.com/show_bug.cgi?id=1837975
cve.org/CVERecord?id=CVE-2020-10543
nvd.nist.gov/vuln/detail/CVE-2020-10543
bugzilla.redhat.com/show_bug.cgi?id=2234416
cve.org/CVERecord?id=CVE-2022-48522
github.com/Perl/perl5/commit/23cca2d1f4544cb47f1124d98c308ce1f31f09a6
github.com/Perl/perl5/issues/19147
ubuntu.com/security/CVE-2022-48522
ubuntu.com/security/notices/USN-6517-1
ubuntu.com/security/CVE-2023-47038