Skip to content
Fencer Vulns
high 7.5

CVE-2018-6798 json

An issue was discovered in Perl 5.22 through 5.26.

published 2018-04-17 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-18545

cvss
7.5
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.9%
EPSS 3.9% chance of exploitation in 30 days, percentile 90%
public exploits
0
none known

Summary

An issue was discovered in Perl 5.22 through 5.26. Matching a crafted locale dependent regular expression can cause a heap-based buffer over-read and potentially information disclosure.

Patch / fix

  • perl Debian 14, Debian 13, Debian 12 5.26.1-6

debian advisories DEBIAN-CVE-2018-6798

  • perl Ubuntu 16.04 LTS 5.22.1-9ubuntu0.3

ubuntu advisories UBUNTU-CVE-2018-6798

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

  • rh-perl524-perl RHEL 3 SOFTWARE_COLLECTIONS 4:5.24.0-380.el6
  • rh-perl524-perl RHEL 3 SOFTWARE_COLLECTIONS 4:5.24.0-380.el7
  • rh-perl524-perl-IO RHEL 3 SOFTWARE_COLLECTIONS 1.36-380.el6
  • rh-perl524-perl-IO RHEL 3 SOFTWARE_COLLECTIONS 1.36-380.el7
  • rh-perl524-perl-core RHEL 3 SOFTWARE_COLLECTIONS 5.24.0-380.el6
  • rh-perl524-perl-core RHEL 3 SOFTWARE_COLLECTIONS 5.24.0-380.el7
  • rh-perl524-perl-libs RHEL 3 SOFTWARE_COLLECTIONS 4:5.24.0-380.el6
  • rh-perl524-perl-libs RHEL 3 SOFTWARE_COLLECTIONS 4:5.24.0-380.el7

red hat advisories RHSA-2018:1192

  • perl SLE Module for Package Hub 15 SP6, SLE Module for Package Hub 15 SP5, SLE Module for Development Tools 15 SP6 +22 more 5.26.1-150300.17.17.1
  • perl SLES 12 SP3, SLES 12 SP2-BCL, SLED 12 SP3 +8 more 5.18.2-12.14.1
  • perl SLES for SAP 12 SP3, SLES 12 SP3, SLED 12 SP3 5.18.2-12.11.1
  • perl SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 5.10.0-64.81.10.1
  • perl SLES for SAP 15 SP2, SLES 15 SP2-LTSS, SLE High Performance Computing 15 SP2-LTSS 5.26.1-150000.7.18.1

suse advisories SUSE-SU-2024:1762-1SUSE-SU-2024:1762-2SUSE-SU-2024:1630-1SUSE-SU-2018:1972-2SUSE-SU-2018:1972-1SUSE-SU-2018:1074-1

  • perl Alpine 3.24, Alpine 3.23, Alpine 3.22 +15 more 5.26.2-r0
  • perl Alpine 3.6, Alpine 3.5 5.24.4-r0

alpine advisories ALPINE-CVE-2018-6798

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

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-2018-6798 updated cvss 7.5

perl: heap read overflow in regexec.c

  • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-perl524-perl 5.24.0-380.el6, rh-perl524-perl-IO 1.36-380.el6, rh-perl524-perl-open 1.10-380.el6, rh-perl524-perl-Test 1.28-380.el6, rh-perl524-perl-Errno 1.25-380.el6, rh-perl524-perl-bignum 0.42-380.el6, +22 more Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-perl524-perl 5.24.0-380.el7, rh-perl524-perl-IO 1.36-380.el7, rh-perl524-perl-open 1.10-380.el7, rh-perl524-perl-Test 1.28-380.el7, rh-perl524-perl-Errno 1.25-380.el7, rh-perl524-perl-bignum 0.42-380.el7, +22 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) rh-perl524-perl 5.24.0-380.el6, rh-perl524-perl-IO 1.36-380.el6, rh-perl524-perl-open 1.10-380.el6, rh-perl524-perl-Test 1.28-380.el6, rh-perl524-perl-Errno 1.25-380.el6, rh-perl524-perl-bignum 0.42-380.el6, +22 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3) rh-perl524-perl 5.24.0-380.el7, rh-perl524-perl-IO 1.36-380.el7, rh-perl524-perl-open 1.10-380.el7, rh-perl524-perl-Test 1.28-380.el7, rh-perl524-perl-Errno 1.25-380.el7, rh-perl524-perl-bignum 0.42-380.el7, +22 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-perl524-perl 5.24.0-380.el7, rh-perl524-perl-IO 1.36-380.el7, rh-perl524-perl-open 1.10-380.el7, rh-perl524-perl-Test 1.28-380.el7, rh-perl524-perl-Errno 1.25-380.el7, rh-perl524-perl-bignum 0.42-380.el7, +22 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-perl524-perl 5.24.0-380.el6, rh-perl524-perl-IO 1.36-380.el6, rh-perl524-perl-open 1.10-380.el6, rh-perl524-perl-Test 1.28-380.el6, rh-perl524-perl-Errno 1.25-380.el6, rh-perl524-perl-bignum 0.42-380.el6, +22 more
    +1 more products
    Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-perl524-perl 5.24.0-380.el7, rh-perl524-perl-IO 1.36-380.el7, rh-perl524-perl-open 1.10-380.el7, rh-perl524-perl-Test 1.28-380.el7, rh-perl524-perl-Errno 1.25-380.el7, rh-perl524-perl-bignum 0.42-380.el7, +22 more
    fixed: vendor fix RHSA-2018:1192
  • 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 7 perl, perl-core, perl-CPAN, perl-libs, perl-tests, perl-macros, +11 more Red Hat Enterprise Linux 8 perl, perl-IO, perl-libs, perl-open, perl-Test, perl-Errno, +19 more Red Hat Software Collections rh-perl520-perl, rh-perl526-perl, rh-perl526-perl-IO, rh-perl520-perl-core, rh-perl520-perl-libs, rh-perl526-perl-libs, +31 more
    not affected: vulnerable code not present

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

Exploit prediction

3.93% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.0 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:P/I:N/A:N

Classification

Weakness

References

Sources

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.