{"schemaVersion":3,"id":"CVE-2026-8376","aliases":["MGASA-2026-0220","UBUNTU-CVE-2026-8376","DEBIAN-CVE-2026-8376","CGA-4frc-68xf-qvmc","CGA-89pg-5hw7-gwxr","CGA-93wh-9fj7-2xr6","CGA-9qhx-q387-m656","CGA-c632-6845-mvmr","CGA-g66f-rrq9-4f43","CGA-h776-6rhp-6rh7","CGA-vf9w-xqv3-h9g9","CGA-vhg9-9gmj-gqmw","CGA-w5xf-c7gx-7j2g"],"status":"published","duplicateOf":null,"title":null,"description":"Perl versions before 5.40.5-RC1, from 5.41.0 before 5.42.3-RC1, from 5.43.0 before 5.43.11 have a heap buffer overflow when compiling regular expressions with a repeated fixed string on 32-bit builds.\n\nPerl_study_chunk in regcomp_study.c checked the size of the joined substring buffer in characters rather than bytes. For a quantified fixed substring with a large minimum count, the byte length mincount * l could overflow SSize_t, producing an undersized SvGROW allocation; the subsequent copy writes past the end of the buffer.\n\nA caller that compiles an attacker-controlled regular expression on a 32-bit perl build triggers a heap buffer overflow at compile time.","dates":{"published":"2026-05-25T23:53:27.812Z","modified":"2026-09-08T21:33:36.127Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","exploitability":10,"impact":5.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","exploitability":10,"impact":5.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","exploitability":10,"impact":5.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00481,"percentile":0.40439,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.03800000000000001,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00443},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00481,"percentile":0.40439}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00443,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00481,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00481,"percentile":0.40439}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-680","name":"Integer Overflow to Buffer Overflow","description":"The product performs a calculation to determine how much memory to allocate, but an integer overflow can occur that causes less memory to be allocated than expected, leading to a buffer overflow.","type":"weakness","status":"Draft","abstraction":"Compound","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/680.html"}],"affected":[{"vendor":"chainguard","product":"miniperl","name":"miniperl","label":"miniperl","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/miniperl","purlType":"apk","versions":[{"text":"< 5.42.2-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.42.2-r3","eol":null,"hubHref":null},{"vendor":"chainguard","product":"perl","name":"perl","label":"perl","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/perl","purlType":"apk","versions":[{"text":"< 5.42.2-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.42.2-r3","eol":null,"hubHref":null},{"vendor":"chainguard","product":"perl-dev","name":"perl-dev","label":"perl-dev","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/perl-dev","purlType":"apk","versions":[{"text":"< 5.42.2-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.42.2-r3","eol":null,"hubHref":null},{"vendor":"chainguard","product":"perl-doc","name":"perl-doc","label":"perl-doc","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/perl-doc","purlType":"apk","versions":[{"text":"< 5.42.2-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.42.2-r3","eol":null,"hubHref":null},{"vendor":"chainguard","product":"perl-utils","name":"perl-utils","label":"perl-utils","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/perl-utils","purlType":"apk","versions":[{"text":"< 5.42.2-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.42.2-r3","eol":null,"hubHref":null},{"vendor":"wolfi","product":"miniperl","name":"miniperl","label":"miniperl","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/miniperl","purlType":"apk","versions":[{"text":"< 5.42.2-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.42.2-r3","eol":null,"hubHref":null},{"vendor":"wolfi","product":"perl","name":"perl","label":"perl","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/perl","purlType":"apk","versions":[{"text":"< 5.42.2-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.42.2-r3","eol":null,"hubHref":null},{"vendor":"wolfi","product":"perl-dev","name":"perl-dev","label":"perl-dev","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/perl-dev","purlType":"apk","versions":[{"text":"< 5.42.2-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.42.2-r3","eol":null,"hubHref":null},{"vendor":"wolfi","product":"perl-doc","name":"perl-doc","label":"perl-doc","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/perl-doc","purlType":"apk","versions":[{"text":"< 5.42.2-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.42.2-r3","eol":null,"hubHref":null},{"vendor":"wolfi","product":"perl-utils","name":"perl-utils","label":"perl-utils","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/perl-utils","purlType":"apk","versions":[{"text":"< 5.42.2-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.42.2-r3","eol":null,"hubHref":null},{"vendor":"debian","product":"perl","name":"perl","label":"perl","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/perl","purlType":"deb","versions":[{"text":"< 5.36.0-7+deb12u4","noFixRecorded":false,"fixedIn":null},{"text":"< 5.40.1-6+deb13u1","noFixRecorded":false,"fixedIn":null},{"text":"< 5.40.1-8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.36.0-7+deb12u4 | < 5.40.1-6+deb13u1 | < 5.40.1-8","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"perl","name":"perl","label":"perl","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/perl","purlType":"deb","versions":[{"text":"< 5.18.2-2ubuntu1.7+esm7","noFixRecorded":false,"fixedIn":null},{"text":"< 5.26.1-6ubuntu0.7+esm2","noFixRecorded":false,"fixedIn":null},{"text":"< 5.30.0-9ubuntu0.5+esm2","noFixRecorded":false,"fixedIn":null},{"text":"< 5.34.0-3ubuntu1.7","noFixRecorded":false,"fixedIn":null},{"text":"< 5.38.2-3.2ubuntu0.3","noFixRecorded":false,"fixedIn":null},{"text":"< 5.40.1-6ubuntu0.1","noFixRecorded":false,"fixedIn":null},{"text":"< 5.40.1-7ubuntu0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.18.2-2ubuntu1.7+esm7 | < 5.26.1-6ubuntu0.7+esm2 | < 5.30.0-9ubuntu0.5+esm2 | < 5.34.0-3ubuntu1.7 | < 5.38.2-3.2ubuntu0.3 | < 5.40.1-6ubuntu0.1 | < 5.40.1-7ubuntu0.1","eol":null,"hubHref":null},{"vendor":"mageia","product":"perl","name":"perl","label":"perl","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/perl","purlType":"rpm","versions":[{"text":"< 5.36.0-1.3.mga9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.36.0-1.3.mga9","eol":null,"hubHref":null},{"vendor":"perl","product":"perl","name":"perl","label":"perl","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 5.43.10","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 5.43.10","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"perl","label":"Perl","category":"lang"}},"hubHref":"/vendor/perl/perl"}],"affectedCount":14,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/Perl/perl5/commit/5e7f119eb2bb1181be908701f22bf7068e722f1c.patch","label":"github.com/Perl/perl5/commit/5e7f119eb2bb1181be908701f22bf7068e722f1c.patch","hostname":"github.com","tags":["Patch","FIX"]},{"url":"http://www.openwall.com/lists/oss-security/2026/05/26/1","label":"www.openwall.com/lists/oss-security/2026/05/26/1","hostname":"www.openwall.com","tags":["WEB","Mailing List","Third Party Advisory"]},{"url":"https://advisories.mageia.org/MGASA-2026-0220.html","label":"advisories.mageia.org/MGASA-2026-0220.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=35586","label":"bugs.mageia.org/show_bug.cgi?id=35586","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://www.openwall.com/lists/oss-security/2026/05/26/1","label":"www.openwall.com/lists/oss-security/2026/05/26/1","hostname":"www.openwall.com","tags":["WEB"]},{"url":"https://lists.security.metacpan.org/cve-announce/msg/40396161/","label":"lists.security.metacpan.org/cve-announce/msg/40396161/","hostname":"lists.security.metacpan.org","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2026-8376","label":"ubuntu.com/security/CVE-2026-8376","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-8376","label":"www.cve.org/CVERecord?id=CVE-2026-8376","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://github.com/Perl/perl5/pull/24433","label":"github.com/Perl/perl5/pull/24433","hostname":"github.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8467-1","label":"ubuntu.com/security/notices/USN-8467-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-8376","label":"security-tracker.debian.org/tracker/CVE-2026-8376","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://cpan.org/modules","label":"cpan.org/modules","hostname":"cpan.org","tags":["WEB"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/8xxx/CVE-2026-8376.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/8xxx/CVE-2026-8376.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-8376","label":"nvd.nist.gov/vuln/detail/CVE-2026-8376","hostname":"nvd.nist.gov","tags":["Advisory","Oval"]},{"url":"https://github.com/Perl/perl5","label":"github.com/Perl/perl5","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:21411-1","SUSE-SU-2026:22847-1","SUSE-SU-2026:22929-1","SUSE-SU-2026:23008-1","SUSE-SU-2026:23075-1","SUSE-SU-2026:3540-1","SUSE-SU-2026:3558-1","USN-8467-1","USN-8467-2"],"duplicates":[],"related":["CGA-VQ99-JPVF-FRX6","OPENSUSE-SU-2026:21411-1","SUSE-SU-2026:22847-1","SUSE-SU-2026:22929-1","SUSE-SU-2026:23008-1","SUSE-SU-2026:23075-1","SUSE-SU-2026:3540-1","SUSE-SU-2026:3558-1","USN-8467-1"]},"timeline":[{"kind":"published","date":"2026-05-25T23:53:27.812Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-09-08T21:33:36.127Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T09:58:19.279Z","stale":false,"partial":false}}