Vulnerabilities / CVE-2018-18314

critical

CVE-2018-18314

perl: Heap-based buffer overflow in S_regatom()

Published Modified CWE 119
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat7.0CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, Photon OS. Rated lower by Red Hat (medium), Ubuntu (medium).

Description

Perl before 5.26.3 has a buffer overflow via a crafted regular expression that triggers invalid write operations.

Affected packages and fixed versions

SourcePackageFixed in
Photon OS 1.0perl5.24.1-4.ph1
Photon OS 2.0perl5.24.1-8.ph2
alpine 3.10perl5.26.3-r0
alpine 3.11perl5.26.3-r0
alpine 3.12perl5.26.3-r0
alpine 3.13perl5.26.3-r0
alpine 3.14perl5.26.3-r0
alpine 3.15perl5.26.3-r0
alpine 3.16perl5.26.3-r0
alpine 3.17perl5.26.3-r0
alpine 3.18perl5.26.3-r0
alpine 3.19perl5.26.3-r0
Show all 35 entries from 35 sources
SourcePackageFixed in
Photon OS 1.0perl5.24.1-4.ph1
Photon OS 2.0perl5.24.1-8.ph2
alpine 3.10perl5.26.3-r0
alpine 3.11perl5.26.3-r0
alpine 3.12perl5.26.3-r0
alpine 3.13perl5.26.3-r0
alpine 3.14perl5.26.3-r0
alpine 3.15perl5.26.3-r0
alpine 3.16perl5.26.3-r0
alpine 3.17perl5.26.3-r0
alpine 3.18perl5.26.3-r0
alpine 3.19perl5.26.3-r0
alpine 3.20perl5.26.3-r0
alpine 3.21perl5.26.3-r0
alpine 3.22perl5.26.3-r0
alpine 3.23perl5.26.3-r0
alpine 3.24perl5.26.3-r0
alpine 3.6perl5.24.4-r2
alpine 3.7perl5.26.3-r0
alpine 3.8perl5.26.3-r0
alpine 3.9perl5.26.3-r0
alpine edgeperl5.26.3-r0
debian 11perl5.28.0-3
debian 12perl5.28.0-3
debian 13perl5.28.0-3
debian 14perl5.28.0-3
debian 9perl5.24.1-3+deb9u5
echoperl5.28.0-3
root.io debian 11rootio-perl5.28.0-3
root.io debian 12rootio-perl5.28.0-3
ubuntu 16.04perl5.22.1-9ubuntu0.6
ubuntu 16.04-ESMperl5.22.1-9ubuntu0.6
ubuntu 18.04perl5.26.1-6ubuntu0.3
ubuntu 18.04-ESMperl5.26.1-6ubuntu0.3
ubuntu 18.10perl5.26.2-7ubuntu0.1

References

All 18 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.