{"id":"CVE-2018-6797","url":"https://www.cyber-defence.io/tools/cve/CVE-2018-6797","generatedAt":"2026-10-28T20:09:30.093Z","title":"A crafted regular expression can cause a heap-based buffer overflow, with control over the bytes written.","description":"An issue was discovered in Perl 5.18 through 5.26. A crafted regular expression can cause a heap-based buffer overflow, with control over the bytes written.","published":"2018-04-17T20:29:01.000Z","lastModified":"2026-06-17T02:02:18.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.0","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"cwe":["CWE-787"],"affected":["debian/debian linux","perl/perl","canonical/ubuntu linux","redhat/enterprise linux server","redhat/enterprise linux workstation"],"epss":{"score":0.06477,"percentile":0.93713,"date":"2026-10-27","history":[{"date":"2026-09-21","score":0.05558,"percentile":0.92554},{"date":"2026-09-22","score":0.06599,"percentile":0.9354}]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (6.48%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"http://www.securitytracker.com/id/1040681","tags":["Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"http://www.securitytracker.com/id/1042004","tags":["Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"https://access.redhat.com/errata/RHSA-2018:1192","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://rt.perl.org/Public/Bug/Display.html?id=132227","tags":["Patch","Vendor Advisory"],"source":"cve@mitre.org"},{"url":"https://security.gentoo.org/glsa/201909-01","source":"cve@mitre.org"},{"url":"https://usn.ubuntu.com/3625-1/","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://www.debian.org/security/2018/dsa-4172","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://www.oracle.com/security-alerts/cpujul2020.html","source":"cve@mitre.org"},{"url":"http://www.securitytracker.com/id/1040681","tags":["Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securitytracker.com/id/1042004","tags":["Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2018:1192","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://rt.perl.org/Public/Bug/Display.html?id=132227","tags":["Patch","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.gentoo.org/glsa/201909-01","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://usn.ubuntu.com/3625-1/","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.debian.org/security/2018/dsa-4172","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.oracle.com/security-alerts/cpujul2020.html","source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-6797","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}