CVE-2020-10878 json
Perl before 5.30.3 has an integer overflow related to mishandling of a "PL_regkind[OP(n)] == NOTHING" situation.
published 2020-06-05 6 y ago modified 2026-10-14 26 d ago also EUVD-2020-3284
- cvss
- 8.6
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.9%
- EPSS 4.9% chance of exploitation in 30 days, percentile 92%
- public exploits
- 0
- none known
Summary
Perl before 5.30.3 has an integer overflow related to mishandling of a "PL_regkind[OP(n)] == NOTHING" situation. A crafted regular expression could lead to malformed bytecode with a possibility of instruction injection.
Patch / fix
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.5
- Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
- perl Debian 14, Debian 13, Debian 12 5.30.3-1
debian advisories DEBIAN-CVE-2020-10878
- perl Ubuntu 16.04 LTS 5.22.1-9ubuntu0.9
- perl Ubuntu 18.04 LTS 5.26.1-6ubuntu0.5
- perl Ubuntu 20.04 LTS 5.30.0-9ubuntu0.2
- perl Ubuntu Pro 14.04 LTS 5.18.2-2ubuntu1.7+esm3
ubuntu advisories UBUNTU-CVE-2020-10878
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- perl hummingbird 1 5.42.2-524.1.hum1
- perl-B hummingbird 1 1.89-524.1.hum1
- perl-if hummingbird 1 0.61.000-524.1.hum1
- perl-IO hummingbird 1 1.55-524.1.hum1
- perl-ph hummingbird 1 5.42.2-524.1.hum1
- perl-lib hummingbird 1 0.65-524.1.hum1
- perl-mro hummingbird 1 1.29-524.1.hum1
- perl-Net hummingbird 1 1.04-524.1.hum1
red hat advisories RHSA-2026:7604RHSA-2021:1266RHSA-2021:1032RHSA-2021:0883RHSA-2021:0343RHSA-2021:2792
- perl SLE Module for Package Hub 15 SP2, SLE Module for Package Hub 15 SP1, SLE Module for Development Tools 15 SP2 +7 more 5.26.1-7.12.1
- perl SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES for SAP 12 SP3 +12 more 5.18.2-12.23.1
suse advisories SUSE-SU-2020:1682-2SUSE-SU-2020:1682-1SUSE-SU-2020:1662-1
- perl openSUSE Tumbleweed 5.34.0-1.1
- perl openSUSE Leap 15.1 5.26.1-lp151.9.6.1
opensuse advisories openSUSE-SU-2024:11158-1openSUSE-SU-2020:0850-1
- perl Rocky Linux 8 4:5.26.3-419.el8
rocky linux advisories RLSA-2021:1678
- perl Alpine 3.10 5.28.3-r0
- perl Alpine 3.24, Alpine 3.23, Alpine 3.22 +11 more 5.30.3-r0
- perl Alpine 3.9 5.26.3-r1
alpine advisories ALPINE-CVE-2020-10878
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/perl/perl5@0a320d7 commit
- github.com/perl/perl5@3295b48 commit
- oracle.com/security-alerts/cpuoct2020.html advisory
- github.com/Perl/perl5/compare/v5.30.2...v5.30.3 advisory
- oracle.com/security-alerts/cpujan2021.html advisory
- oracle.com/security-alerts/cpuApr2021.html advisory
- oracle.com//security-alerts/cpujul2021.html advisory
- oracle.com/security-alerts/cpuoct2021.html advisory
- oracle.com/security-alerts/cpujan2022.html advisory
- oracle.com/security-alerts/cpuapr2022.html advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-10878 updated cvss 8.6
perl: corruption of intermediate language state of compiled regular expression due to integer overflow leads to DoS
-
Red Hat Enterprise Linux 5 perl Red Hat Enterprise Linux 6 perl, perl-CGI, perl-core, perl-CPAN, perl-libs, perl-parent, +39 more Red Hat Enterprise Linux 8 perl, perl-IO, perl-libs, perl-open, perl-Test, perl-Errno, +19 moreaffected: workaround, no fix planned “To mitigate this flaw, developers should not allow untrusted regular expressions to be compiled by the Perl regular expression compiler.”
-
Red Hat Enterprise Linux AppStream (v. 8) perl 5.26.3-419.el8, perl-open 1.11-419.el8, perl-Test 1.30-419.el8, perl-Memoize 1.03-419.el8, perl-tests 5.26.3-419.el8, perl-utils 5.26.3-419.el8, +12 morefixed: vendor fix “To mitigate this flaw, developers should not allow untrusted regular expressions to be compiled by the Perl regular expression compiler.” RHSA-2021:1678
-
Red Hat Enterprise Linux AppStream EUS (v. 8.2) perl 5.26.3-418.el8_2.1, perl-open 1.11-418.el8_2.1, perl-Test 1.30-418.el8_2.1, perl-Memoize 1.03-418.el8_2.1, perl-tests 5.26.3-418.el8_2.1, perl-utils 5.26.3-418.el8_2.1, +12 morefixed: vendor fix “To mitigate this flaw, developers should not allow untrusted regular expressions to be compiled by the Perl regular expression compiler.” RHSA-2021:2792
-
Red Hat Enterprise Linux BaseOS (v. 8) perl 5.26.3-419.el8, perl-IO 1.38-419.el8, perl-Errno 1.28-419.el8, perl-libs 5.26.3-419.el8, perl-IO-Zlib 1.10-419.el8, perl-macros 5.26.3-419.el8, +2 morefixed: vendor fix “To mitigate this flaw, developers should not allow untrusted regular expressions to be compiled by the Perl regular expression compiler.” RHSA-2021:1678
-
Red Hat Enterprise Linux BaseOS EUS (v. 8.2) perl 5.26.3-418.el8_2.1, perl-IO 1.38-418.el8_2.1, perl-Errno 1.28-418.el8_2.1, perl-libs 5.26.3-418.el8_2.1, perl-IO-Zlib 1.10-418.el8_2.1, perl-macros 5.26.3-418.el8_2.1, +2 morefixed: vendor fix “To mitigate this flaw, developers should not allow untrusted regular expressions to be compiled by the Perl regular expression compiler.” RHSA-2021:2792
-
Red Hat Enterprise Linux Client (v. 7) perl 5.16.3-299.el7_9, perl-core 5.16.3-299.el7_9, perl-CPAN 1.9800-299.el7_9, perl-libs 5.16.3-299.el7_9, perl-IO-Zlib 1.10-299.el7_9, perl-macros 5.16.3-299.el7_9, +10 more Red Hat Enterprise Linux Client Optional (v. 7) perl-tests 5.16.3-299.el7_9fixed: vendor fix “To mitigate this flaw, developers should not allow untrusted regular expressions to be compiled by the Perl regular expression compiler.” RHSA-2021:0343
-
Red Hat Enterprise Linux ComputeNode EUS (v. 7.6) perl 5.16.3-294.el7_6.1, perl-core 5.16.3-294.el7_6.1, perl-CPAN 1.9800-294.el7_6.1, perl-libs 5.16.3-294.el7_6.1, perl-IO-Zlib 1.10-294.el7_6.1, perl-macros 5.16.3-294.el7_6.1, +10 morefixed: vendor fix “To mitigate this flaw, developers should not allow untrusted regular expressions to be compiled by the Perl regular expression compiler.” RHSA-2021:0883
-
Red Hat Enterprise Linux ComputeNode EUS (v. 7.7) perl 5.16.3-294.el7_7.1, perl-core 5.16.3-294.el7_7.1, perl-CPAN 1.9800-294.el7_7.1, perl-libs 5.16.3-294.el7_7.1, perl-IO-Zlib 1.10-294.el7_7.1, perl-macros 5.16.3-294.el7_7.1, +10 morefixed: vendor fix “To mitigate this flaw, developers should not allow untrusted regular expressions to be compiled by the Perl regular expression compiler.” RHSA-2021:1032
show 15 moreshow fewer
-
Red Hat Enterprise Linux ComputeNode Optional (v. 7) perl-tests 5.16.3-299.el7_9fixed: vendor fix “To mitigate this flaw, developers should not allow untrusted regular expressions to be compiled by the Perl regular expression compiler.” RHSA-2021:0343
-
Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.6) perl-tests 5.16.3-294.el7_6.1fixed: vendor fix “To mitigate this flaw, developers should not allow untrusted regular expressions to be compiled by the Perl regular expression compiler.” RHSA-2021:0883
-
Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.7) perl-tests 5.16.3-294.el7_7.1fixed: vendor fix “To mitigate this flaw, developers should not allow untrusted regular expressions to be compiled by the Perl regular expression compiler.” RHSA-2021:1032
-
Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) perl 5.16.3-294.el7_6.1, perl-core 5.16.3-294.el7_6.1, perl-CPAN 1.9800-294.el7_6.1, perl-libs 5.16.3-294.el7_6.1, perl-IO-Zlib 1.10-294.el7_6.1, perl-macros 5.16.3-294.el7_6.1, +10 more Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) perl-tests 5.16.3-294.el7_6.1fixed: vendor fix “To mitigate this flaw, developers should not allow untrusted regular expressions to be compiled by the Perl regular expression compiler.” RHSA-2021:0883
-
Red Hat Enterprise Linux Server (v. 7) perl 5.16.3-299.el7_9, perl-core 5.16.3-299.el7_9, perl-CPAN 1.9800-299.el7_9, perl-libs 5.16.3-299.el7_9, perl-IO-Zlib 1.10-299.el7_9, perl-macros 5.16.3-299.el7_9, +10 morefixed: vendor fix “To mitigate this flaw, developers should not allow untrusted regular expressions to be compiled by the Perl regular expression compiler.” RHSA-2021:0343
-
Red Hat Enterprise Linux Server AUS (v. 7.4) perl 5.16.3-292.el7_4.2, perl-core 5.16.3-292.el7_4.2, perl-CPAN 1.9800-292.el7_4.2, perl-libs 5.16.3-292.el7_4.2, perl-IO-Zlib 1.10-292.el7_4.2, perl-macros 5.16.3-292.el7_4.2, +10 more Red Hat Enterprise Linux Server E4S (v. 7.4) perl 5.16.3-292.el7_4.2, perl-core 5.16.3-292.el7_4.2, perl-CPAN 1.9800-292.el7_4.2, perl-libs 5.16.3-292.el7_4.2, perl-IO-Zlib 1.10-292.el7_4.2, perl-macros 5.16.3-292.el7_4.2, +10 morefixed: vendor fix “To mitigate this flaw, developers should not allow untrusted regular expressions to be compiled by the Perl regular expression compiler.” RHSA-2021:1266
-
Red Hat Enterprise Linux Server EUS (v. 7.6) perl 5.16.3-294.el7_6.1, perl-core 5.16.3-294.el7_6.1, perl-CPAN 1.9800-294.el7_6.1, perl-libs 5.16.3-294.el7_6.1, perl-IO-Zlib 1.10-294.el7_6.1, perl-macros 5.16.3-294.el7_6.1, +10 morefixed: vendor fix “To mitigate this flaw, developers should not allow untrusted regular expressions to be compiled by the Perl regular expression compiler.” RHSA-2021:0883
-
Red Hat Enterprise Linux Server EUS (v. 7.7) perl 5.16.3-294.el7_7.1, perl-core 5.16.3-294.el7_7.1, perl-CPAN 1.9800-294.el7_7.1, perl-libs 5.16.3-294.el7_7.1, perl-IO-Zlib 1.10-294.el7_7.1, perl-macros 5.16.3-294.el7_7.1, +10 morefixed: vendor fix “To mitigate this flaw, developers should not allow untrusted regular expressions to be compiled by the Perl regular expression compiler.” RHSA-2021:1032
-
Red Hat Enterprise Linux Server Optional (v. 7) perl-tests 5.16.3-299.el7_9fixed: vendor fix “To mitigate this flaw, developers should not allow untrusted regular expressions to be compiled by the Perl regular expression compiler.” RHSA-2021:0343
-
Red Hat Enterprise Linux Server Optional AUS (v. 7.4) perl-tests 5.16.3-292.el7_4.2 Red Hat Enterprise Linux Server Optional E4S (v. 7.4) perl-tests 5.16.3-292.el7_4.2fixed: vendor fix “To mitigate this flaw, developers should not allow untrusted regular expressions to be compiled by the Perl regular expression compiler.” RHSA-2021:1266
-
Red Hat Enterprise Linux Server Optional EUS (v. 7.6) perl-tests 5.16.3-294.el7_6.1fixed: vendor fix “To mitigate this flaw, developers should not allow untrusted regular expressions to be compiled by the Perl regular expression compiler.” RHSA-2021:0883
-
Red Hat Enterprise Linux Server Optional EUS (v. 7.7) perl-tests 5.16.3-294.el7_7.1fixed: vendor fix “To mitigate this flaw, developers should not allow untrusted regular expressions to be compiled by the Perl regular expression compiler.” RHSA-2021:1032
-
Red Hat Enterprise Linux Server Optional TUS (v. 7.4) perl-tests 5.16.3-292.el7_4.2 Red Hat Enterprise Linux Server TUS (v. 7.4) perl 5.16.3-292.el7_4.2, perl-core 5.16.3-292.el7_4.2, perl-CPAN 1.9800-292.el7_4.2, perl-libs 5.16.3-292.el7_4.2, perl-IO-Zlib 1.10-292.el7_4.2, perl-macros 5.16.3-292.el7_4.2, +10 morefixed: vendor fix “To mitigate this flaw, developers should not allow untrusted regular expressions to be compiled by the Perl regular expression compiler.” RHSA-2021:1266
-
Red Hat Enterprise Linux Workstation (v. 7) perl 5.16.3-299.el7_9, perl-core 5.16.3-299.el7_9, perl-CPAN 1.9800-299.el7_9, perl-libs 5.16.3-299.el7_9, perl-IO-Zlib 1.10-299.el7_9, perl-macros 5.16.3-299.el7_9, +10 more Red Hat Enterprise Linux Workstation Optional (v. 7) perl-tests 5.16.3-299.el7_9fixed: vendor fix “To mitigate this flaw, developers should not allow untrusted regular expressions to be compiled by the Perl regular expression compiler.” RHSA-2021:0343
-
Red Hat Hardened Images perl 5.42.2-524.1.hum1, perl-B 1.89-524.1.hum1, perl-IO 1.55-524.1.hum1, perl-Tie 4.6-524.1.hum1, perl-lib 0.65-524.1.hum1, perl-mro 1.29-524.1.hum1, +93 morefixed: vendor fix “To mitigate this flaw, developers should not allow untrusted regular expressions to be compiled by the Perl regular expression compiler.” RHSA-2026:7604
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-23-348-10 updated cvss 8.6
Siemens SIMATIC S7-1500
-
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) >= 3.1.0, < 3.1.5affected: fixed in V3.1.5, mitigation support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
Exploit prediction
4.88% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected products
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
- Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
Classification
- Weakness
-
- CWE-190 Integer Overflow or Wraparound
References
-
github.com
/perl/perl5/commit/0a320d753fe7fca03df259a4dfd8e641e51edaa8
patch, third-party-advisory
-
github.com
/perl/perl5/commit/3295b48defa0f8570114877b063fe546dd348b3c
patch, third-party-advisory
-
oracle.com
/security-alerts/cpuoct2020.html
patch, third-party-advisory
-
github.com
/Perl/perl5/compare/v5.30.2...v5.30.3
patch, third-party-advisory
-
oracle.com
/security-alerts/cpujan2021.html
patch, third-party-advisory
-
oracle.com
/security-alerts/cpuApr2021.html
patch, third-party-advisory
-
oracle.com
//security-alerts/cpujul2021.html
patch, third-party-advisory
-
oracle.com
/security-alerts/cpuoct2021.html
patch, third-party-advisory
-
oracle.com
/security-alerts/cpujan2022.html
patch, third-party-advisory
-
oracle.com
/security-alerts/cpuapr2022.html
patch, third-party-advisory
-
security.gentoo.org
/glsa/202006-03
vendor-advisory, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/IN3TTBO5KSGWE5IRIKDJ5JSQRH7ANNXE/
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2020-06/msg00044.html
vendor-advisory, mailing-list, third-party-advisory
-
github.com
/Perl/perl5/blob/blead/pod/perl5303delta.pod
third-party-advisory
-
security.netapp.com
/advisory/ntap-20200611-0001/
third-party-advisory
- cert-portal.siemens.com /productcert/html/ssa-398330.html
Sources
- CVE List CVE-2020-10878
- NVD CVE-2020-10878
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.