{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-29491 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2023-29491 is a high-severity memory corruption vulnerability in n/a, published on 14 Apr 2023. 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-2023-29491 and fix it if it is affected.\n\nWhat it is: CVE-2023-29491 is a high-severity memory corruption vulnerability in n/a, published on 14 Apr 2023. 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-2023-29491 in the wild and no public exploit code.\n\nAffected product: n/a. 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-2023-29491/ (Markdown: https://insights.sbomify.com/CVE-2023-29491/index.md)","id":"CVE-2023-29491","markdown":"https://insights.sbomify.com/CVE-2023-29491/index.md","name":"CVE-2023-29491","record":{"aliases":["ALPINE-CVE-2023-29491","ALSA-2023:5249","ALSA-2023:6698","AZL-26241","CLEANSTART-2026-JO18362","CLSA-2025-1739387560","DEBIAN-CVE-2023-29491","GHSA-vh2x-5rx6-qqhv","JLSEC-2026-453","MGASA-2024-0065","OESA-2023-1426","RHSA-2023:5249","RHSA-2023:6698","RHSA-2023:7361","RHSA-2024:0416","SUSE-SU-2023:2111-1","SUSE-SU-2023:2112-1","UBUNTU-CVE-2023-29491"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"ncurses library","requires_auth":"low_privilege","summary":"Local attackers can trigger memory corruption in setuid applications using ncurses via malformed terminfo data, potentially leading to privilege escalation.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"ncurses","vendor":"invisible-island"}],"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":"ncurses before 6.4 20230408, when used by a setuid application, allows local users to trigger security-relevant memory corruption via malformed data in a terminfo database file that is found in $HOME/.terminfo or reached via the TERMINFO or TERM environment variable.","ecosystems":["AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::baseos","Red Hat:rhel_eus:8.6::baseos","Red Hat:rhel_eus:9.2::appstream","Red Hat:rhel_eus:9.2::baseos","SUSE:Linux Enterprise Micro 5.1","SUSE:Linux Enterprise Micro 5.2","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Micro 5.4","SUSE:Linux Enterprise Module for Basesystem 15 SP4","SUSE:Linux Enterprise Module for Development Tools 15 SP4","SUSE:Linux Enterprise Module for Legacy 15 SP4","SUSE:Linux Enterprise Real Time 15 SP3","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Software Development Kit 12 SP5","openSUSE:Leap 15.4","openSUSE:Leap Micro 5.3"],"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-2023-29491","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2023"},"n_packages":82,"n_references":11,"next":{"headline":"Novi Survey Insecure Deserialization","id":"CVE-2023-29492"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["6.1-9.20180224.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"ncurses","purl":"pkg:rpm/almalinux/ncurses","source":"ALSA-2023:5249"},{"ecosystem":"AlmaLinux:8","fixed":["6.1-9.20180224.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"ncurses-base","purl":"pkg:rpm/almalinux/ncurses-base","source":"ALSA-2023:5249"},{"ecosystem":"AlmaLinux:8","fixed":["6.1-9.20180224.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"ncurses-c++-libs","purl":"pkg:rpm/almalinux/ncurses-c%2B%2B-libs","source":"ALSA-2023:5249"},{"ecosystem":"AlmaLinux:8","fixed":["6.1-9.20180224.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"ncurses-compat-libs","purl":"pkg:rpm/almalinux/ncurses-compat-libs","source":"ALSA-2023:5249"},{"ecosystem":"AlmaLinux:8","fixed":["6.1-9.20180224.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"ncurses-devel","purl":"pkg:rpm/almalinux/ncurses-devel","source":"ALSA-2023:5249"},{"ecosystem":"AlmaLinux:8","fixed":["6.1-9.20180224.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"ncurses-libs","purl":"pkg:rpm/almalinux/ncurses-libs","source":"ALSA-2023:5249"},{"ecosystem":"AlmaLinux:8","fixed":["6.1-9.20180224.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"ncurses-term","purl":"pkg:rpm/almalinux/ncurses-term","source":"ALSA-2023:5249"},{"ecosystem":"AlmaLinux:9","fixed":["6.2-10.20210508.el9"],"introduced":["0"],"last_affected":[],"package":"ncurses","purl":"pkg:rpm/almalinux/ncurses","source":"ALSA-2023:6698"},{"ecosystem":"AlmaLinux:9","fixed":["6.2-10.20210508.el9"],"introduced":["0"],"last_affected":[],"package":"ncurses-base","purl":"pkg:rpm/almalinux/ncurses-base","source":"ALSA-2023:6698"},{"ecosystem":"AlmaLinux:9","fixed":["6.2-10.20210508.el9"],"introduced":["0"],"last_affected":[],"package":"ncurses-c++-libs","purl":"pkg:rpm/almalinux/ncurses-c%2B%2B-libs","source":"ALSA-2023:6698"},{"ecosystem":"AlmaLinux:9","fixed":["6.2-10.20210508.el9"],"introduced":["0"],"last_affected":[],"package":"ncurses-devel","purl":"pkg:rpm/almalinux/ncurses-devel","source":"ALSA-2023:6698"},{"ecosystem":"AlmaLinux:9","fixed":["6.2-10.20210508.el9"],"introduced":["0"],"last_affected":[],"package":"ncurses-libs","purl":"pkg:rpm/almalinux/ncurses-libs","source":"ALSA-2023:6698"},{"ecosystem":"AlmaLinux:9","fixed":["6.2-10.20210508.el9"],"introduced":["0"],"last_affected":[],"package":"ncurses-term","purl":"pkg:rpm/almalinux/ncurses-term","source":"ALSA-2023:6698"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:6.1-9.20180224.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"ncurses","purl":"pkg:rpm/redhat/ncurses","source":"RHSA-2023:5249"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:6.1-9.20180224.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"ncurses-base","purl":"pkg:rpm/redhat/ncurses-base","source":"RHSA-2023:5249"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:6.1-9.20180224.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"ncurses-c++-libs","purl":"pkg:rpm/redhat/ncurses-c%2B%2B-libs","source":"RHSA-2023:5249"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:6.1-9.20180224.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"ncurses-c++-libs-debuginfo","purl":"pkg:rpm/redhat/ncurses-c%2B%2B-libs-debuginfo","source":"RHSA-2023:5249"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:6.1-9.20180224.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"ncurses-compat-libs","purl":"pkg:rpm/redhat/ncurses-compat-libs","source":"RHSA-2023:5249"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:6.1-9.20180224.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"ncurses-compat-libs-debuginfo","purl":"pkg:rpm/redhat/ncurses-compat-libs-debuginfo","source":"RHSA-2023:5249"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:6.1-9.20180224.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"ncurses-debuginfo","purl":"pkg:rpm/redhat/ncurses-debuginfo","source":"RHSA-2023:5249"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:6.1-9.20180224.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"ncurses-debugsource","purl":"pkg:rpm/redhat/ncurses-debugsource","source":"RHSA-2023:5249"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:6.1-9.20180224.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"ncurses-devel","purl":"pkg:rpm/redhat/ncurses-devel","source":"RHSA-2023:5249"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:6.1-9.20180224.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"ncurses-libs","purl":"pkg:rpm/redhat/ncurses-libs","source":"RHSA-2023:5249"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:6.1-9.20180224.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"ncurses-libs-debuginfo","purl":"pkg:rpm/redhat/ncurses-libs-debuginfo","source":"RHSA-2023:5249"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:6.1-9.20180224.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"ncurses-term","purl":"pkg:rpm/redhat/ncurses-term","source":"RHSA-2023:5249"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:6.2-10.20210508.el9"],"introduced":["0"],"last_affected":[],"package":"ncurses-c++-libs","purl":"pkg:rpm/redhat/ncurses-c%2B%2B-libs","source":"RHSA-2023:6698"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:6.2-10.20210508.el9"],"introduced":["0"],"last_affected":[],"package":"ncurses-c++-libs-debuginfo","purl":"pkg:rpm/redhat/ncurses-c%2B%2B-libs-debuginfo","source":"RHSA-2023:6698"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:6.2-10.20210508.el9"],"introduced":["0"],"last_affected":[],"package":"ncurses-compat-libs-debuginfo","purl":"pkg:rpm/redhat/ncurses-compat-libs-debuginfo","source":"RHSA-2023:6698"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:6.2-10.20210508.el9"],"introduced":["0"],"last_affected":[],"package":"ncurses-debuginfo","purl":"pkg:rpm/redhat/ncurses-debuginfo","source":"RHSA-2023:6698"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:6.2-10.20210508.el9"],"introduced":["0"],"last_affected":[],"package":"ncurses-debugsource","purl":"pkg:rpm/redhat/ncurses-debugsource","source":"RHSA-2023:6698"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:6.2-10.20210508.el9"],"introduced":["0"],"last_affected":[],"package":"ncurses-devel","purl":"pkg:rpm/redhat/ncurses-devel","source":"RHSA-2023:6698"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:6.2-10.20210508.el9"],"introduced":["0"],"last_affected":[],"package":"ncurses-libs-debuginfo","purl":"pkg:rpm/redhat/ncurses-libs-debuginfo","source":"RHSA-2023:6698"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:6.2-10.20210508.el9"],"introduced":["0"],"last_affected":[],"package":"ncurses-term","purl":"pkg:rpm/redhat/ncurses-term","source":"RHSA-2023:6698"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:6.2-10.20210508.el9"],"introduced":["0"],"last_affected":[],"package":"ncurses","purl":"pkg:rpm/redhat/ncurses","source":"RHSA-2023:6698"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:6.2-10.20210508.el9"],"introduced":["0"],"last_affected":[],"package":"ncurses-base","purl":"pkg:rpm/redhat/ncurses-base","source":"RHSA-2023:6698"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:6.2-10.20210508.el9"],"introduced":["0"],"last_affected":[],"package":"ncurses-c++-libs-debuginfo","purl":"pkg:rpm/redhat/ncurses-c%2B%2B-libs-debuginfo","source":"RHSA-2023:6698"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:6.2-10.20210508.el9"],"introduced":["0"],"last_affected":[],"package":"ncurses-compat-libs-debuginfo","purl":"pkg:rpm/redhat/ncurses-compat-libs-debuginfo","source":"RHSA-2023:6698"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:6.2-10.20210508.el9"],"introduced":["0"],"last_affected":[],"package":"ncurses-debuginfo","purl":"pkg:rpm/redhat/ncurses-debuginfo","source":"RHSA-2023:6698"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:6.2-10.20210508.el9"],"introduced":["0"],"last_affected":[],"package":"ncurses-debugsource","purl":"pkg:rpm/redhat/ncurses-debugsource","source":"RHSA-2023:6698"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:6.2-10.20210508.el9"],"introduced":["0"],"last_affected":[],"package":"ncurses-libs","purl":"pkg:rpm/redhat/ncurses-libs","source":"RHSA-2023:6698"}],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2023-29489"},"products":["n/a"],"published":"2023-04-14","related":[{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2017-10684","kev_date_added":null,"published":"2017-06-29"},{"cvss_score":9.8,"headline":"Code injection in n/a","id":"CVE-2017-10685","kev_date_added":null,"published":"2017-06-29"},{"cvss_score":7.8,"headline":"Memory corruption in n/a","id":"CVE-2017-16879","kev_date_added":null,"published":"2017-11-22"},{"cvss_score":7.5,"headline":"Denial of service in n/a","id":"CVE-2017-13728","kev_date_added":null,"published":"2017-08-29"},{"cvss_score":7.5,"headline":"Denial of service in n/a","id":"CVE-2017-11112","kev_date_added":null,"published":"2017-07-08"},{"cvss_score":7.5,"headline":"Null dereference in n/a","id":"CVE-2017-11113","kev_date_added":null,"published":"2017-07-08"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"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":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-14","vendors":["n/a"]},"summary":"Local attackers can trigger memory corruption in setuid applications using ncurses via malformed terminfo data, potentially leading to privilege escalation.","url":"https://insights.sbomify.com/CVE-2023-29491/"}