{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2019-18634 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2019-18634 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 29 Jan 2020. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2019-18634 and fix it if it is affected.\n\nWhat it is: CVE-2019-18634 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 29 Jan 2020. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2019-18634 in the wild and no public exploit code.\n\nAffected product: Debian Debian Linux. 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-2019-18634/ (Markdown: https://insights.sbomify.com/CVE-2019-18634/index.md)","id":"CVE-2019-18634","markdown":"https://insights.sbomify.com/CVE-2019-18634/index.md","name":"CVE-2019-18634","record":{"aliases":["ALPINE-CVE-2019-18634","DEBIAN-CVE-2019-18634","DLA-2094-1","DSA-4614-1","GHSA-rjv5-9w4p-4jrw","MGASA-2020-0081","RHSA-2020:0487","RHSA-2020:0509","RHSA-2020:0540","RHSA-2020:0726","SUSE-SU-2020:0390-1","SUSE-SU-2020:0406-1","SUSE-SU-2020:0407-1","SUSE-SU-2020:0408-1","SUSE-SU-2020:0409-1","UBUNTU-CVE-2019-18634","USN-4263-1","USN-4263-2","openSUSE-SU-2020:0244-1"],"analysis":{"component_type":"operating_system","fix_type":"upgrade","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Sudo privilege tool","requires_auth":"low_privilege","summary":"A stack-based buffer overflow in Sudo allows local attackers to escalate privileges if the pwfeedback option is enabled.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"debian_linux","vendor":"debian"},{"product":"sudo","vendor":"sudo_project"}],"cvss":{"score":7.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"description":"In Sudo before 1.8.26, if pwfeedback is enabled in /etc/sudoers, users can trigger a stack-based buffer overflow in the privileged sudo process. (pwfeedback is a default setting in Linux Mint and elementary OS; however, it is NOT the default for upstream and many other packages, and would exist only if enabled by an administrator.) The attacker needs to deliver a long string to the stdin of getln() in tgetpass.c.","ecosystems":["Red Hat:enterprise_linux:6::client","Red Hat:enterprise_linux:6::computenode","Red Hat:enterprise_linux:6::server","Red Hat:enterprise_linux:6::workstation","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:enterprise_linux:8::baseos","Red Hat:rhel_e4s:8.0::baseos","SUSE:Enterprise Storage 5","SUSE:HPE Helion OpenStack 8","SUSE:Linux Enterprise Desktop 12 SP4","SUSE:Linux Enterprise High Performance Computing 15-ESPOS","SUSE:Linux Enterprise High Performance Computing 15-LTSS","SUSE:Linux Enterprise Module for Basesystem 15","SUSE:Linux Enterprise Module for Basesystem 15 SP1","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 12 SP5","SUSE:Linux Enterprise Server 15-LTSS","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:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15","SUSE:Linux Enterprise Software Development Kit 12 SP4","SUSE:Linux Enterprise Software Development Kit 12 SP5","SUSE:OpenStack Cloud 7","SUSE:OpenStack Cloud 8","SUSE:OpenStack Cloud Crowbar 8","openSUSE:Leap 15.1"],"exploits":{"exploitdb":2,"first_seen":"2020-02-04","github_poc":14,"max_poc_stars":239,"metasploit":0,"nuclei":0,"refs":[{"date":"2020-02-07T18:07:03Z","kind":"github_poc","ref":"https://github.com/saleemrashid/sudo-cve-2019-18634","stars":239,"title":"Proof of Concept for CVE-2019-18634"},{"date":"2020-02-07T02:41:44Z","kind":"github_poc","ref":"https://github.com/Plazmaz/CVE-2019-18634","stars":59,"title":"A functional exploit for CVE-2019-18634, a BSS overflow in sudo's pwfeedback feature that allows for for privesc"},{"date":"2021-08-01T10:50:55Z","kind":"github_poc","ref":"https://github.com/aesophor/CVE-2019-18634","stars":5,"title":"My n-day exploit for CVE-2019-18634 (local privilege escalation)"},{"date":"2024-04-14T07:36:54Z","kind":"github_poc","ref":"https://github.com/chanbakjsd/CVE-2019-18634","stars":3,"title":"A reproduction of CVE-2019-18634, sudo privilege escalation with buffer overflow."},{"date":"2020-02-13T11:57:38Z","kind":"github_poc","ref":"https://github.com/N1et/CVE-2019-18634","stars":2,"title":"An Python Exploit for Sudo vulnerability CVE-2019-18634"},{"date":"2020-03-09T03:05:57Z","kind":"github_poc","ref":"https://github.com/dukptkey/CVE-2019-18634","stars":1,"title":"exploit for sudo CVE-2019-18634"},{"date":"2020-02-04","kind":"exploitdb","ref":"47995","stars":null,"title":"Sudo 1.8.25p - 'pwfeedback' Buffer Overflow (PoC)"},{"date":"2020-02-06","kind":"exploitdb","ref":"48052","stars":null,"title":"Sudo 1.8.25p - 'pwfeedback' Buffer Overflow"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Memory corruption in n/a","id":"CVE-2019-18634","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"debian:debian_linux","products":["debian:debian_linux"],"type":"memory_corruption","year":"2019"},"n_packages":57,"n_references":26,"next":{"headline":"Null dereference in n/a","id":"CVE-2019-18635"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.8.6p3-29.el6_10.3"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2020:0726"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.8.6p3-29.el6_10.3"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2020:0726"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.8.6p3-29.el6_10.3"],"introduced":["0"],"last_affected":[],"package":"sudo-devel","purl":"pkg:rpm/redhat/sudo-devel","source":"RHSA-2020:0726"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.8.6p3-29.el6_10.3"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2020:0726"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.8.6p3-29.el6_10.3"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2020:0726"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.8.6p3-29.el6_10.3"],"introduced":["0"],"last_affected":[],"package":"sudo-devel","purl":"pkg:rpm/redhat/sudo-devel","source":"RHSA-2020:0726"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.8.6p3-29.el6_10.3"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2020:0726"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.8.6p3-29.el6_10.3"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2020:0726"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.8.6p3-29.el6_10.3"],"introduced":["0"],"last_affected":[],"package":"sudo-devel","purl":"pkg:rpm/redhat/sudo-devel","source":"RHSA-2020:0726"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:1.8.6p3-29.el6_10.3"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2020:0726"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:1.8.6p3-29.el6_10.3"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2020:0726"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:1.8.6p3-29.el6_10.3"],"introduced":["0"],"last_affected":[],"package":"sudo-devel","purl":"pkg:rpm/redhat/sudo-devel","source":"RHSA-2020:0726"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.8.23-4.el7_7.2"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2020:0540"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.8.23-4.el7_7.2"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2020:0540"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.8.23-4.el7_7.2"],"introduced":["0"],"last_affected":[],"package":"sudo-devel","purl":"pkg:rpm/redhat/sudo-devel","source":"RHSA-2020:0540"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.8.23-4.el7_7.2"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2020:0540"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.8.23-4.el7_7.2"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2020:0540"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.8.23-4.el7_7.2"],"introduced":["0"],"last_affected":[],"package":"sudo-devel","purl":"pkg:rpm/redhat/sudo-devel","source":"RHSA-2020:0540"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.8.23-4.el7_7.2"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2020:0540"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.8.23-4.el7_7.2"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2020:0540"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.8.23-4.el7_7.2"],"introduced":["0"],"last_affected":[],"package":"sudo-devel","purl":"pkg:rpm/redhat/sudo-devel","source":"RHSA-2020:0540"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:1.8.23-4.el7_7.2"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2020:0540"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:1.8.23-4.el7_7.2"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2020:0540"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:1.8.23-4.el7_7.2"],"introduced":["0"],"last_affected":[],"package":"sudo-devel","purl":"pkg:rpm/redhat/sudo-devel","source":"RHSA-2020:0540"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.8.25p1-8.el8_1.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2020:0487"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.8.25p1-8.el8_1.1"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2020:0487"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.8.25p1-8.el8_1.1"],"introduced":["0"],"last_affected":[],"package":"sudo-debugsource","purl":"pkg:rpm/redhat/sudo-debugsource","source":"RHSA-2020:0487"},{"ecosystem":"Red Hat:rhel_e4s:8.0::baseos","fixed":["0:1.8.25p1-4.el8_0.3"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2020:0509"},{"ecosystem":"Red Hat:rhel_e4s:8.0::baseos","fixed":["0:1.8.25p1-4.el8_0.3"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2020:0509"},{"ecosystem":"Red Hat:rhel_e4s:8.0::baseos","fixed":["0:1.8.25p1-4.el8_0.3"],"introduced":["0"],"last_affected":[],"package":"sudo-debugsource","purl":"pkg:rpm/redhat/sudo-debugsource","source":"RHSA-2020:0509"},{"ecosystem":"SUSE:Enterprise Storage 5","fixed":["1.8.20p2-3.17.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Enterprise%20Storage%205","source":"SUSE-SU-2020:0406-1"},{"ecosystem":"SUSE:HPE Helion OpenStack 8","fixed":["1.8.20p2-3.17.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=HPE%20Helion%20OpenStack%208","source":"SUSE-SU-2020:0406-1"},{"ecosystem":"SUSE:Linux Enterprise Desktop 12 SP4","fixed":["1.8.20p2-3.17.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP4","source":"SUSE-SU-2020:0406-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-ESPOS","fixed":["1.8.22-4.9.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-ESPOS","source":"SUSE-SU-2020:0408-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-LTSS","fixed":["1.8.22-4.9.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-LTSS","source":"SUSE-SU-2020:0408-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15","fixed":["1.8.22-4.9.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015","source":"SUSE-SU-2020:0408-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP1","fixed":["1.8.22-4.9.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP1","source":"SUSE-SU-2020:0408-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP1-LTSS","fixed":["1.8.10p3-2.32.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP1-LTSS","source":"SUSE-SU-2020:0390-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP2-BCL","fixed":["1.8.10p3-10.26.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCL","source":"SUSE-SU-2020:0407-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP2-LTSS","fixed":["1.8.10p3-10.26.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-LTSS","source":"SUSE-SU-2020:0407-1"}],"prev":{"headline":"Security feature bypass in n/a","id":"CVE-2019-18633"},"products":["n/a"],"published":"2020-01-29","related":[{"cvss_score":10,"headline":"ProFTPD Improper Access Control","id":"CVE-2015-3306","kev_date_added":"2026-10-08","published":"2015-05-18"},{"cvss_score":9.9,"headline":"RoundCube Webmail Deserialization of Untrusted Data","id":"CVE-2025-49113","kev_date_added":"2026-02-20","published":"2025-06-02"},{"cvss_score":9.8,"headline":"GNU InetUtils Argument Injection","id":"CVE-2026-24061","kev_date_added":"2026-01-26","published":"2026-01-21"},{"cvss_score":9.8,"headline":"Linux Kernel Improper Check for Unusual or Exceptional Conditions","id":"CVE-2025-39682","kev_date_added":"2026-09-18","published":"2025-09-05"},{"cvss_score":9.8,"headline":"Mozilla Firefox Use-After-Free","id":"CVE-2024-9680","kev_date_added":"2024-10-15","published":"2024-10-09"},{"cvss_score":9.8,"headline":"RARLAB UnRAR Directory Traversal","id":"CVE-2022-30333","kev_date_added":"2022-08-09","published":"2022-05-09"},{"cvss_score":9.8,"headline":"Roundcube Webmail SQL Injection","id":"CVE-2021-44026","kev_date_added":"2023-06-22","published":"2021-11-19"}],"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":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"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)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"A stack-based buffer overflow in Sudo allows local attackers to escalate privileges if the pwfeedback option is enabled.","url":"https://insights.sbomify.com/CVE-2019-18634/"}