cve.bz

CVE-2018-6798 Out-of-bounds Read

7.5 highEPSS 3.9%

High (7.5). EPSS 3.9% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

7.5 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
3.9% (unchanged from 3.9% a week ago; 3.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 91st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-6798 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-6798?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-6798?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-6798 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
debian:debian_linux7.0
debian:debian_linux8.0
debian:debian_linux9.0
perl:perlfrom 5.22 through 5.26
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux17.10
redhat:enterprise_linux_server6.0
redhat:enterprise_linux_server7.0
redhat:enterprise_linux_server7.3
redhat:enterprise_linux_server7.4
redhat:enterprise_linux_server7.5
redhat:enterprise_linux_workstation6.0
redhat:enterprise_linux_workstation7.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14perl5.26.1-6DEBIAN-CVE-2018-6798
Ubuntu14.04:LTSperl5.18.2-2ubuntu1.4USN-3625-1
Ubuntu16.04:LTSperl5.22.1-9ubuntu0.3UBUNTU-CVE-2018-6798 USN-3625-1
Red Hatrhel_software_collections:3::el6rh-perl524-perl, rh-perl524-perl-libs, rh-perl524-perl-devel and 4 more4:5.24.0-380.el6RHSA-2018:1192
Red Hatrhel_software_collections:3::el6rh-perl524-perl-Attribute-Handlers0:0.99-380.el6RHSA-2018:1192
Red Hatrhel_software_collections:3::el6rh-perl524-perl-Devel-Peek, rh-perl524-perl-SelfLoader0:1.23-380.el6RHSA-2018:1192
Red Hatrhel_software_collections:3::el6rh-perl524-perl-Devel-SelfStubber, rh-perl524-perl-ExtUtils-Miniperl0:1.05-380.el6RHSA-2018:1192
Red Hatrhel_software_collections:3::el6rh-perl524-perl-Errno0:1.25-380.el6RHSA-2018:1192
Red Hatrhel_software_collections:3::el6rh-perl524-perl-ExtUtils-Embed0:1.33-380.el6RHSA-2018:1192
Red Hatrhel_software_collections:3::el6rh-perl524-perl-IO0:1.36-380.el6RHSA-2018:1192
Red Hatrhel_software_collections:3::el6rh-perl524-perl-IO-Zlib1:1.10-380.el6RHSA-2018:1192
Red Hatrhel_software_collections:3::el6rh-perl524-perl-Locale-Maketext-Simple1:0.21-380.el6RHSA-2018:1192
Red Hatrhel_software_collections:3::el6rh-perl524-perl-Math-BigInt-FastCalc0:0.40-380.el6RHSA-2018:1192
Red Hatrhel_software_collections:3::el6rh-perl524-perl-Math-BigRat0:0.2608.02-380.el6RHSA-2018:1192
Red Hatrhel_software_collections:3::el6rh-perl524-perl-Math-Complex0:1.59-380.el6RHSA-2018:1192
30 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 4, Linux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP1-LTSS and 7 moreperl5.18.2-12.14.1SUSE-SU-2018:1972-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 18 moreperl5.26.1-150300.17.17.1SUSE-SU-2024:1762-1
SUSELinux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP3, Linux Enterprise Server for SAP Applications 12 SP3perl5.18.2-12.11.1SUSE-SU-2018:1074-1
SUSELinux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS, Linux Enterprise Server for SAP Applications 15 SP2perl5.26.1-150000.7.18.1SUSE-SU-2024:1630-1
SUSELinux Enterprise Micro 5.5perl5.26.1-150300.17.17.1SUSE-SU-2024:1762-2
SUSELinux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4, Linux Enterprise Software Development Kit 11 SP4perl5.10.0-64.81.10.1SUSE-SU-2018:0976-1
SUSELinux Enterprise Server 12 SP2-BCLperl5.18.2-12.14.1SUSE-SU-2018:1972-2
openSUSELeap 15.5, Leap 15.6, Leap Micro 5.3 and 1 moreperl5.26.1-150300.17.17.1SUSE-SU-2024:1762-1
Alpinev3.5, v3.6perl5.24.4-r0ALPINE-CVE-2018-6798
Alpinev3.7, v3.8, v3.9 and 15 moreperl5.26.2-r0ALPINE-CVE-2018-6798

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Versions of the perl interpreter older than 5.22 are not vulnerable. As a result, the versions of perl as shipped in Red Hat Enterprise Linux version 7, 6 and 5, as well as the versions of rh-perl520-perl as shipped with Red Hat Software Collections are not affected by this vulnerability.

ProductPackageStateAdvisory
Red Hat Software Collections for Red Hat Enterprise Linux 6rh-perl524-perl-4:5.24.0-380.el6Fixed 2018-04-23RHSA-2018:1192
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUSrh-perl524-perl-4:5.24.0-380.el6Fixed 2018-04-23RHSA-2018:1192
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-perl524-perl-4:5.24.0-380.el7Fixed 2018-04-23RHSA-2018:1192
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUSrh-perl524-perl-4:5.24.0-380.el7Fixed 2018-04-23RHSA-2018:1192
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUSrh-perl524-perl-4:5.24.0-380.el7Fixed 2018-04-23RHSA-2018:1192
Red Hat Enterprise Linux 5perlNot affected
Red Hat Enterprise Linux 6perlNot affected
Red Hat Enterprise Linux 7perlNot affected
Red Hat Enterprise Linux 8perlNot affected
Red Hat Software Collectionsrh-perl520-perlNot affected
Red Hat Software Collectionsrh-perl526-perlNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-6798.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON