Buffer overflow in Perl

CVE-2018-6797

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.

Vulnerability class: Buffer Overflow

EPSS: 0.066 (93.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

  • cve@mitre.org (VDB Entry, Third Party Advisory, vdb-entry, x_refsource_SECTRACK)
  • cve@mitre.org (x_refsource_REDHAT, vendor-advisory, Third Party Advisory)
  • cve@mitre.org (VDB Entry, Third Party Advisory, vdb-entry, x_refsource_SECTRACK)
  • cve@mitre.org (x_refsource_UBUNTU, vendor-advisory, Third Party Advisory)
  • cve@mitre.org (vendor-advisory, Third Party Advisory, x_refsource_DEBIAN)
  • cve@mitre.org (vendor-advisory, x_refsource_GENTOO)
  • cve@mitre.org (x_refsource_MISC)
  • cve@mitre.org (x_refsource_CONFIRM, Patch, Vendor Advisory)

Frequently asked questions

What is CVE-2018-6797?
CVE-2018-6797 is a critical-severity vulnerability in Perl, classified under Out-of-bounds Write. CVSS score: 9.8/10. Published 2018-04-17.
How severe is CVE-2018-6797?
Critical severity. CVSS v3 base score is 9.8 out of 10.
Is CVE-2018-6797 known to be exploited?
5 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.