{"answers":{"affected":"It affects 18 products.","exploited":"There is no known exploitation of CVE-2018-18311 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2018-18311 is a critical memory corruption vulnerability in Apple Mac Os X, published on 7 Dec 2018. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-18311 and fix it if it is affected.\n\nWhat it is: CVE-2018-18311 is a critical memory corruption vulnerability in Apple Mac Os X, published on 7 Dec 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2018-18311 in the wild and no public exploit code.\n\nAffected product: Apple Mac Os X. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2018-18311/ (Markdown: https://insights.sbomify.com/CVE-2018-18311/index.md)","id":"CVE-2018-18311","markdown":"https://insights.sbomify.com/CVE-2018-18311/index.md","name":"CVE-2018-18311","record":{"aliases":["ALPINE-CVE-2018-18311","CLEANSTART-2026-ZE65059","CLSA-2025-1753207552","CLSA-2025-1753209595","DEBIAN-CVE-2018-18311","DLA-1601-1","GHSA-qr73-9894-ffxf","RHSA-2019:0109","RHSA-2019:1790","RHSA-2019:1942","RHSA-2019:2400","SUSE-SU-2019:2264-1","UBUNTU-CVE-2018-18311"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Perl programming language","requires_auth":"none","summary":"A buffer overflow in Perl's regular expression engine allows attackers to execute arbitrary code or cause denial of service via crafted input.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"mac_os_x","vendor":"apple"},{"product":"ubuntu_linux","vendor":"canonical"},{"product":"debian_linux","vendor":"debian"},{"product":"fedora","vendor":"fedoraproject"},{"product":"web_gateway","vendor":"mcafee"},{"product":"e-series_santricity_os_controller","vendor":"netapp"},{"product":"snap_creator_framework","vendor":"netapp"},{"product":"snapcenter","vendor":"netapp"},{"product":"snapdriver","vendor":"netapp"},{"product":"perl","vendor":"perl"},{"product":"enterprise_linux","vendor":"redhat"},{"product":"enterprise_linux_desktop","vendor":"redhat"},{"product":"enterprise_linux_eus","vendor":"redhat"},{"product":"enterprise_linux_server","vendor":"redhat"},{"product":"enterprise_linux_server_aus","vendor":"redhat"},{"product":"enterprise_linux_server_tus","vendor":"redhat"},{"product":"enterprise_linux_workstation","vendor":"redhat"},{"product":"openshift_container_platform","vendor":"redhat"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"description":"Perl before 5.26.3 and 5.28.x before 5.28.1 has a buffer overflow via a crafted regular expression that triggers invalid write operations.","ecosystems":["Red Hat:enterprise_linux:7::client","Red Hat:enterprise_linux:7::computenode","Red Hat:enterprise_linux:7::server","Red Hat:enterprise_linux:7::workstation","Red Hat:rhel_aus:7.3::server","Red Hat:rhel_e4s:7.3::server","Red Hat:rhel_eus:7.4::computenode","Red Hat:rhel_eus:7.4::server","Red Hat:rhel_eus:7.5::computenode","Red Hat:rhel_eus:7.5::server","Red Hat:rhel_tus:7.3::server","SUSE:Enterprise Storage 4","SUSE:Enterprise Storage 5","SUSE:HPE Helion OpenStack 8","SUSE:Linux Enterprise Desktop 12 SP4","SUSE:Linux Enterprise Server 12 SP1-LTSS","SUSE:Linux Enterprise Server 12 SP2-BCL","SUSE:Linux Enterprise Server 12 SP2-LTSS","SUSE:Linux Enterprise Server 12 SP3-BCL","SUSE:Linux Enterprise Server 12 SP3-LTSS","SUSE:Linux Enterprise Server 12 SP4","SUSE:Linux Enterprise Server for SAP Applications 12 SP1","SUSE:Linux Enterprise Server for SAP Applications 12 SP2","SUSE:Linux Enterprise Server for SAP Applications 12 SP3","SUSE:Linux Enterprise Server for SAP Applications 12 SP4","SUSE:OpenStack Cloud 7","SUSE:OpenStack Cloud 8","SUSE:OpenStack Cloud Crowbar 8"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Memory corruption in n/a","id":"CVE-2018-18311","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"apple:mac_os_x","products":["apple:mac_os_x","canonical:ubuntu_linux","debian:debian_linux","fedoraproject:fedora","netapp:e-series_santricity_os_controller","netapp:snapcenter","redhat:enterprise_linux","redhat:enterprise_linux_desktop","redhat:enterprise_linux_eus","redhat:enterprise_linux_server","redhat:enterprise_linux_server_aus","redhat:enterprise_linux_server_tus","redhat:enterprise_linux_workstation","redhat:openshift_container_platform"],"type":"memory_corruption","year":"2018"},"n_packages":229,"n_references":28,"next":{"headline":"Memory corruption in n/a","id":"CVE-2018-18312"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["4:5.16.3-294.el7_6"],"introduced":["0"],"last_affected":[],"package":"perl","purl":"pkg:rpm/redhat/perl","source":"RHSA-2019:0109"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.9800-294.el7_6"],"introduced":["0"],"last_affected":[],"package":"perl-CPAN","purl":"pkg:rpm/redhat/perl-CPAN","source":"RHSA-2019:0109"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["1:0.28.2.6-294.el7_6"],"introduced":["0"],"last_affected":[],"package":"perl-ExtUtils-CBuilder","purl":"pkg:rpm/redhat/perl-ExtUtils-CBuilder","source":"RHSA-2019:0109"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.30-294.el7_6"],"introduced":["0"],"last_affected":[],"package":"perl-ExtUtils-Embed","purl":"pkg:rpm/redhat/perl-ExtUtils-Embed","source":"RHSA-2019:0109"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.58-294.el7_6"],"introduced":["0"],"last_affected":[],"package":"perl-ExtUtils-Install","purl":"pkg:rpm/redhat/perl-ExtUtils-Install","source":"RHSA-2019:0109"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["1:1.10-294.el7_6"],"introduced":["0"],"last_affected":[],"package":"perl-IO-Zlib","purl":"pkg:rpm/redhat/perl-IO-Zlib","source":"RHSA-2019:0109"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["1:0.21-294.el7_6"],"introduced":["0"],"last_affected":[],"package":"perl-Locale-Maketext-Simple","purl":"pkg:rpm/redhat/perl-Locale-Maketext-Simple","source":"RHSA-2019:0109"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["1:2.76.02-294.el7_6"],"introduced":["0"],"last_affected":[],"package":"perl-Module-CoreList","purl":"pkg:rpm/redhat/perl-Module-CoreList","source":"RHSA-2019:0109"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["1:0.08-294.el7_6"],"introduced":["0"],"last_affected":[],"package":"perl-Module-Loaded","purl":"pkg:rpm/redhat/perl-Module-Loaded","source":"RHSA-2019:0109"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["1:0.42-294.el7_6"],"introduced":["0"],"last_affected":[],"package":"perl-Object-Accessor","purl":"pkg:rpm/redhat/perl-Object-Accessor","source":"RHSA-2019:0109"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["1:0.02-294.el7_6"],"introduced":["0"],"last_affected":[],"package":"perl-Package-Constants","purl":"pkg:rpm/redhat/perl-Package-Constants","source":"RHSA-2019:0109"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["1:1.04-294.el7_6"],"introduced":["0"],"last_affected":[],"package":"perl-Pod-Escapes","purl":"pkg:rpm/redhat/perl-Pod-Escapes","source":"RHSA-2019:0109"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.20.1-294.el7_6"],"introduced":["0"],"last_affected":[],"package":"perl-Time-Piece","purl":"pkg:rpm/redhat/perl-Time-Piece","source":"RHSA-2019:0109"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:5.16.3-294.el7_6"],"introduced":["0"],"last_affected":[],"package":"perl-core","purl":"pkg:rpm/redhat/perl-core","source":"RHSA-2019:0109"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["4:5.16.3-294.el7_6"],"introduced":["0"],"last_affected":[],"package":"perl-debuginfo","purl":"pkg:rpm/redhat/perl-debuginfo","source":"RHSA-2019:0109"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["4:5.16.3-294.el7_6"],"introduced":["0"],"last_affected":[],"package":"perl-devel","purl":"pkg:rpm/redhat/perl-devel","source":"RHSA-2019:0109"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["4:5.16.3-294.el7_6"],"introduced":["0"],"last_affected":[],"package":"perl-libs","purl":"pkg:rpm/redhat/perl-libs","source":"RHSA-2019:0109"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["4:5.16.3-294.el7_6"],"introduced":["0"],"last_affected":[],"package":"perl-macros","purl":"pkg:rpm/redhat/perl-macros","source":"RHSA-2019:0109"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["4:5.16.3-294.el7_6"],"introduced":["0"],"last_affected":[],"package":"perl-tests","purl":"pkg:rpm/redhat/perl-tests","source":"RHSA-2019:0109"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["4:5.16.3-294.el7_6"],"introduced":["0"],"last_affected":[],"package":"perl","purl":"pkg:rpm/redhat/perl","source":"RHSA-2019:0109"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.9800-294.el7_6"],"introduced":["0"],"last_affected":[],"package":"perl-CPAN","purl":"pkg:rpm/redhat/perl-CPAN","source":"RHSA-2019:0109"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["1:0.28.2.6-294.el7_6"],"introduced":["0"],"last_affected":[],"package":"perl-ExtUtils-CBuilder","purl":"pkg:rpm/redhat/perl-ExtUtils-CBuilder","source":"RHSA-2019:0109"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.30-294.el7_6"],"introduced":["0"],"last_affected":[],"package":"perl-ExtUtils-Embed","purl":"pkg:rpm/redhat/perl-ExtUtils-Embed","source":"RHSA-2019:0109"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.58-294.el7_6"],"introduced":["0"],"last_affected":[],"package":"perl-ExtUtils-Install","purl":"pkg:rpm/redhat/perl-ExtUtils-Install","source":"RHSA-2019:0109"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["1:1.10-294.el7_6"],"introduced":["0"],"last_affected":[],"package":"perl-IO-Zlib","purl":"pkg:rpm/redhat/perl-IO-Zlib","source":"RHSA-2019:0109"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["1:0.21-294.el7_6"],"introduced":["0"],"last_affected":[],"package":"perl-Locale-Maketext-Simple","purl":"pkg:rpm/redhat/perl-Locale-Maketext-Simple","source":"RHSA-2019:0109"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["1:2.76.02-294.el7_6"],"introduced":["0"],"last_affected":[],"package":"perl-Module-CoreList","purl":"pkg:rpm/redhat/perl-Module-CoreList","source":"RHSA-2019:0109"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["1:0.08-294.el7_6"],"introduced":["0"],"last_affected":[],"package":"perl-Module-Loaded","purl":"pkg:rpm/redhat/perl-Module-Loaded","source":"RHSA-2019:0109"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["1:0.42-294.el7_6"],"introduced":["0"],"last_affected":[],"package":"perl-Object-Accessor","purl":"pkg:rpm/redhat/perl-Object-Accessor","source":"RHSA-2019:0109"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["1:0.02-294.el7_6"],"introduced":["0"],"last_affected":[],"package":"perl-Package-Constants","purl":"pkg:rpm/redhat/perl-Package-Constants","source":"RHSA-2019:0109"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["1:1.04-294.el7_6"],"introduced":["0"],"last_affected":[],"package":"perl-Pod-Escapes","purl":"pkg:rpm/redhat/perl-Pod-Escapes","source":"RHSA-2019:0109"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.20.1-294.el7_6"],"introduced":["0"],"last_affected":[],"package":"perl-Time-Piece","purl":"pkg:rpm/redhat/perl-Time-Piece","source":"RHSA-2019:0109"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:5.16.3-294.el7_6"],"introduced":["0"],"last_affected":[],"package":"perl-core","purl":"pkg:rpm/redhat/perl-core","source":"RHSA-2019:0109"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["4:5.16.3-294.el7_6"],"introduced":["0"],"last_affected":[],"package":"perl-debuginfo","purl":"pkg:rpm/redhat/perl-debuginfo","source":"RHSA-2019:0109"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["4:5.16.3-294.el7_6"],"introduced":["0"],"last_affected":[],"package":"perl-devel","purl":"pkg:rpm/redhat/perl-devel","source":"RHSA-2019:0109"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["4:5.16.3-294.el7_6"],"introduced":["0"],"last_affected":[],"package":"perl-libs","purl":"pkg:rpm/redhat/perl-libs","source":"RHSA-2019:0109"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["4:5.16.3-294.el7_6"],"introduced":["0"],"last_affected":[],"package":"perl-macros","purl":"pkg:rpm/redhat/perl-macros","source":"RHSA-2019:0109"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["4:5.16.3-294.el7_6"],"introduced":["0"],"last_affected":[],"package":"perl-tests","purl":"pkg:rpm/redhat/perl-tests","source":"RHSA-2019:0109"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["4:5.16.3-294.el7_6"],"introduced":["0"],"last_affected":[],"package":"perl","purl":"pkg:rpm/redhat/perl","source":"RHSA-2019:0109"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.9800-294.el7_6"],"introduced":["0"],"last_affected":[],"package":"perl-CPAN","purl":"pkg:rpm/redhat/perl-CPAN","source":"RHSA-2019:0109"}],"prev":{"headline":"Null dereference in n/a","id":"CVE-2018-18310"},"products":["n/a"],"published":"2018-12-07","related":[{"cvss_score":9.8,"headline":"GNU Bourne-Again Shell (Bash) Arbitrary Code Execution","id":"CVE-2014-7169","kev_date_added":"2022-01-28","published":"2014-09-25"},{"cvss_score":9.8,"headline":"GNU Bourne-Again Shell (Bash) Arbitrary Code Execution","id":"CVE-2014-6271","kev_date_added":"2022-01-28","published":"2014-09-24"},{"cvss_score":9.8,"headline":"PHP-CGI Query String Parameter","id":"CVE-2012-1823","kev_date_added":"2022-03-25","published":"2012-05-11"},{"cvss_score":7.8,"headline":"Apple macOS Unspecified","id":"CVE-2021-30713","kev_date_added":"2021-11-03","published":"2021-09-08"},{"cvss_score":7.8,"headline":"Apple macOS Use-After-Free","id":"CVE-2019-8526","kev_date_added":"2023-04-17","published":"2019-12-18"},{"cvss_score":7.8,"headline":"Apple OS X Authentication Bypass","id":"CVE-2015-1130","kev_date_added":"2022-02-10","published":"2015-04-10"},{"cvss_score":5.5,"headline":"Apple macOS Out-of-Bounds Read","id":"CVE-2022-22674","kev_date_added":"2022-04-04","published":"2022-05-26"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"A buffer overflow in Perl's regular expression engine allows attackers to execute arbitrary code or cause denial of service via crafted input.","url":"https://insights.sbomify.com/CVE-2018-18311/"}