CVE-2020-12723: regcomp.c in Perl before 5.30.3 allows a buffer overflow via a crafted regular expression because of recursive S_study_chunk calls.
Noroxi assessment
Priority: Monitor (action score 32/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 5.9% (FIRST EPSS); higher than 93.3% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: perl (Alpine:v3.10) 5.28.3-r0; perl (Alpine:v3.11) 5.30.3-r0; perl (Alpine:v3.9) 5.26.3-r1.
- Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to perl (Alpine:v3.10) 5.28.3-r0; perl (Alpine:v3.11) 5.30.3-r0; perl (Alpine:v3.9) 5.26.3-r1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
- Published
- Jun 5, 2020
- Updated
- Oct 14, 2026
- EPSS
- 5.9% · 93th percentile
- CWE
- CWE-120
Report tools
Action score
32
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 2 / 30 · 5.9%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| perl | perl | cpe:2.3:a:perl:perl |
| netapp | oncommand workflow automation | cpe:2.3:a:netapp:oncommand_workflow_automation |
| netapp | snap creator framework | cpe:2.3:a:netapp:snap_creator_framework |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| opensuse | leap | cpe:2.3:o:opensuse:leap |
| oracle | communications billing and revenue management | cpe:2.3:a:oracle:communications_billing_and_revenue_management |
| oracle | communications diameter signaling router | cpe:2.3:a:oracle:communications_diameter_signaling_router |
| oracle | communications eagle application processor | cpe:2.3:a:oracle:communications_eagle_application_processor |
| oracle | communications eagle lnp application processor | cpe:2.3:a:oracle:communications_eagle_lnp_application_processor |
| oracle | communications lsms | cpe:2.3:a:oracle:communications_lsms |
| oracle | communications offline mediation controller | cpe:2.3:a:oracle:communications_offline_mediation_controller |
| oracle | communications performance intelligence center | cpe:2.3:a:oracle:communications_performance_intelligence_center |
and 4 more
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- fedoraproject fedora31
- netapp oncommand workflow automationall versions
- netapp snap creator frameworkall versions
- opensuse leap15.1
- oracle communications billing and revenue management12.0.0.2.0
- oracle communications billing and revenue management12.0.0.3.0
- oracle communications diameter signaling router8.0.0 and later · up to 8.5.0 inclusive
- oracle communications eagle application processor16.1.0 and later · up to 16.4.0 inclusive
+12 more rows
- oracle communications eagle lnp application processor10.1
- oracle communications eagle lnp application processor10.2
- oracle communications lsms13.1 and later · up to 13.4 inclusive
- oracle communications offline mediation controller12.0.0.3.0
- oracle communications performance intelligence center10.4.0.1.0 and later · up to 10.4.0.3.1 inclusive
- oracle communications performance intelligence center10.3.0.0.0 and later · up to 10.3.0.2.1 inclusive
- oracle configuration manager12.1.2.0.8
- oracle enterprise manager base platform13.4.0.0
- oracle sd-wan edge8.2
- oracle sd-wan edge9.0
- oracle sd-wan edge9.1
- oracle tekelec platform distribution7.4.0 and later · up to 7.7.1 inclusive
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.10 | perl | before 5.28.3-r0 | 5.28.3-r0 |
| Alpine:v3.11 | perl | before 5.30.3-r0 | 5.30.3-r0 |
| Alpine:v3.9 | perl | before 5.26.3-r1 | 5.26.3-r1 |
| Debian:12 | perl | before 5.30.3-1 | 5.30.3-1 |
| openSUSE:Leap 15.1 | perl | before 5.26.1-lp151.9.6.1 | 5.26.1-lp151.9.6.1 |
| openSUSE:Tumbleweed | perl | before 5.34.0-1.1 | 5.34.0-1.1 |
| Red Hat:enterprise_linux:7::client | perl | before 4:5.16.3-299.el7_9 | 4:5.16.3-299.el7_9 |
| Red Hat:enterprise_linux:7::client | perl-core | before 0:5.16.3-299.el7_9 | 0:5.16.3-299.el7_9 |
| Red Hat:enterprise_linux:7::client | perl-CPAN | before 0:1.9800-299.el7_9 | 0:1.9800-299.el7_9 |
| Red Hat:enterprise_linux:7::client | perl-debuginfo | before 4:5.16.3-299.el7_9 | 4:5.16.3-299.el7_9 |
| Red Hat:enterprise_linux:7::client | perl-devel | before 4:5.16.3-299.el7_9 | 4:5.16.3-299.el7_9 |
| Red Hat:enterprise_linux:7::client | perl-ExtUtils-CBuilder | before 1:0.28.2.6-299.el7_9 | 1:0.28.2.6-299.el7_9 |
| Red Hat:enterprise_linux:7::client | perl-ExtUtils-Embed | before 0:1.30-299.el7_9 | 0:1.30-299.el7_9 |
| Red Hat:enterprise_linux:7::client | perl-ExtUtils-Install | before 0:1.58-299.el7_9 | 0:1.58-299.el7_9 |
| Red Hat:enterprise_linux:7::client | perl-IO-Zlib | before 1:1.10-299.el7_9 | 1:1.10-299.el7_9 |
| Red Hat:enterprise_linux:7::client | perl-libs | before 4:5.16.3-299.el7_9 | 4:5.16.3-299.el7_9 |
| Red Hat:enterprise_linux:7::client | perl-Locale-Maketext-Simple | before 1:0.21-299.el7_9 | 1:0.21-299.el7_9 |
| Red Hat:enterprise_linux:7::client | perl-macros | before 4:5.16.3-299.el7_9 | 4:5.16.3-299.el7_9 |
| Red Hat:enterprise_linux:7::client | perl-Module-CoreList | before 1:2.76.02-299.el7_9 | 1:2.76.02-299.el7_9 |
| Red Hat:enterprise_linux:7::client | perl-Module-Loaded | before 1:0.08-299.el7_9 | 1:0.08-299.el7_9 |
| Red Hat:enterprise_linux:7::client | perl-Object-Accessor | before 1:0.42-299.el7_9 | 1:0.42-299.el7_9 |
| Red Hat:enterprise_linux:7::client | perl-Package-Constants | before 1:0.02-299.el7_9 | 1:0.02-299.el7_9 |
| Red Hat:enterprise_linux:7::client | perl-Pod-Escapes | before 1:1.04-299.el7_9 | 1:1.04-299.el7_9 |
| Red Hat:enterprise_linux:7::client | perl-tests | before 4:5.16.3-299.el7_9 | 4:5.16.3-299.el7_9 |
+96
Same product
perl: all recordsOther highest-scoring records for the same primary product.
- CVE-2012-6329The _compile function in Maketext.pm in the Locale::Maketext implementation in Perl before 5.17.7 does not properly handle backslashes and…49Plan
- CVE-2018-18311Perl before 5.26.3 and 5.28.x before 5.28.1 has a buffer overflow via a crafted regular expression that triggers invalid write operations.43Plan
- CVE-2018-18312Perl before 5.26.3 and 5.28.0 before 5.28.1 has a buffer overflow via a crafted regular expression that triggers invalid write operations.43Plan
Published before and after this one in the same product
- ← EarlierCVE-2020-10543Jun 5, 2020 · Perl before 5.30.3 on 32-bit platforms allows a heap-based buffer overflow because nested regular expression quantifiers have an integer…35Monitor
- ← EarlierCVE-2020-10878Jun 5, 2020 · Perl before 5.30.3 has an integer overflow related to mishandling of a "PL_regkind[OP(n)] == NOTHING" situation.35Monitor
- Later →CVE-2021-36770Aug 11, 2021 · Encode.pm, as distributed in Perl through 5.34.0, allows local users to gain privileges via a Trojan horse Encode::ConfigLocal library (in…31Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| alpine:perl | 5.28.3-r0 · Alpine:v3.10 | Package registry (OSV) |
| debian:perl | 5.30.3-1 · Debian:12 | Package registry (OSV) |
| opensuse:perl | 5.26.1-lp151.9.6.1 · openSUSE:Leap 15.1 | Package registry (OSV) |
| red hat:perl | 4:5.16.3-299.el7_9 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:perl-CPAN | 0:1.9800-299.el7_9 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:perl-ExtUtils-CBuilder | 1:0.28.2.6-299.el7_9 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:perl-ExtUtils-Embed | 0:1.30-299.el7_9 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:perl-ExtUtils-Install | 0:1.58-299.el7_9 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:perl-IO-Zlib | 1:1.10-299.el7_9 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:perl-Locale-Maketext-Simple | 1:0.21-299.el7_9 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:perl-Module-CoreList | 1:2.76.02-299.el7_9 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:perl-Module-Loaded | 1:0.08-299.el7_9 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:perl-Object-Accessor | 1:0.42-299.el7_9 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:perl-Package-Constants | 1:0.02-299.el7_9 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:perl-Pod-Escapes | 1:1.04-299.el7_9 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| suse:perl | 5.18.2-12.23.1 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-21-0331 · Apr 21, 2021(Oracle Güvenlik Uyarısı Yayınladı)
Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Root cause
When data is copied, the source length is not compared with the size of the destination buffer. Excess data overwrites adjacent memory.
The bug in code
The whole CWE-120 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
char buf[256];
memcpy(buf, pkt->data, pkt->len);Fixed
char buf[256];
if (pkt->len > sizeof(buf)) {
return -EINVAL;
}
memcpy(buf, pkt->data, pkt->len);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Overflow BuffersCAPEC-100likelihood: High · Very High
- Client-side Injection-induced Buffer OverflowCAPEC-14likelihood: Medium · High
- Filter Failure through Buffer OverflowCAPEC-24likelihood: High · High
- MIME ConversionCAPEC-42likelihood: High · High
- Overflow Binary Resource FileCAPEC-44likelihood: High · Very High
- Buffer Overflow via Symbolic LinksCAPEC-45likelihood: High · High
- Overflow Variables and TagsCAPEC-46likelihood: High · High
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (16 more)Show less
- github.com/Perl/perl5/blob/blead/pod/perl5303delta.pod
- github.com/Perl/perl5/compare/v5.30.2...v5.30.3
- github.com/Perl/perl5/issues/16947
- github.com/Perl/perl5/issues/17743
- github.com/perl/perl5/commit/66bbb51b93253a3f87d11c2695cfb7bdb782184a
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IN3TTBO5KSGWE5IRIKDJ5JSQRH7ANNXE/
- security.gentoo.org/glsa/202006-03
- security.netapp.com/advisory/ntap-20200611-0001/
- www.oracle.com//security-alerts/cpujul2021.html
- www.oracle.com/security-alerts/cpuApr2021.html
- www.oracle.com/security-alerts/cpuapr2022.html
- www.oracle.com/security-alerts/cpujan2021.html
- www.oracle.com/security-alerts/cpujan2022.html
- www.oracle.com/security-alerts/cpuoct2020.html
- www.oracle.com/security-alerts/cpuoct2021.html
- cert-portal.siemens.com/productcert/html/ssa-398330.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.