{"answers":{"affected":"It affects 13 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-2961 exists.","fix":"Apply the vendor's patch.","what":"CVE-2024-2961 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 17 Apr 2024. 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-2024-2961 and fix it if it is affected.\n\nWhat it is: CVE-2024-2961 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 17 Apr 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-2961 exists.\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-2024-2961/ (Markdown: https://insights.sbomify.com/CVE-2024-2961/index.md)","id":"CVE-2024-2961","markdown":"https://insights.sbomify.com/CVE-2024-2961/index.md","name":"CVE-2024-2961","record":{"aliases":["ALSA-2024:2722","ALSA-2024:3269","BELL-CVE-2024-2961","CLSA-2024-1717691587","CLSA-2024-1718024371","CLSA-2024-1718790660","DEBIAN-CVE-2024-2961","DLA-3807-1","DSA-5673-1","GHSA-22q4-f5r6-3xqw","MGASA-2024-0147","MINI-3v8j-2v55-pr7r","MINI-xm63-x92f-g2m6","OESA-2024-1843","OESA-2024-1844","OESA-2024-1845","RHSA-2024:2722","RHSA-2024:3269","RLSA-2024:2722","RLSA-2024:3269","SUSE-SU-2024:1375-1","SUSE-SU-2024:1728-1","SUSE-SU-2024:1805-1","UBUNTU-CVE-2024-2961","USN-6737-1","USN-6737-2","openSUSE-SU-2024:13877-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"GNU C Library","requires_auth":"none","summary":"A buffer overflow in glibc's iconv function allows attackers to crash applications or potentially execute code via crafted ISO-2022-CN-EXT strings.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"glibc","cpe":[{"product":"debian_linux","vendor":"debian"},{"product":"glibc","vendor":"gnu"},{"product":"active_iq_unified_manager","vendor":"netapp"},{"product":"hci_compute_node","vendor":"netapp"},{"product":"hci_h300s_firmware","vendor":"netapp"},{"product":"hci_h410c_firmware","vendor":"netapp"},{"product":"hci_h410s_firmware","vendor":"netapp"},{"product":"hci_h500s_firmware","vendor":"netapp"},{"product":"hci_h610c_firmware","vendor":"netapp"},{"product":"hci_h610s_firmware","vendor":"netapp"},{"product":"hci_h615c_firmware","vendor":"netapp"},{"product":"hci_h700s_firmware","vendor":"netapp"},{"product":"ontap_select_deploy_administration_utility","vendor":"netapp"}],"cvss":{"score":7.3,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"description":"The iconv() function in the GNU C Library versions 2.39 and older may overflow the output buffer passed to it by up to 4 bytes when converting strings to the ISO-2022-CN-EXT character set, which may be used to crash an application or overwrite a neighbouring variable.","ecosystems":["AlmaLinux:8","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:8::crb","Rocky Linux:8","SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise Live Patching 15 SP4","SUSE:Linux Enterprise Live Patching 15 SP5","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 Micro 5.5","SUSE:Linux Enterprise Module for Basesystem 15 SP5","SUSE:Linux Enterprise Module for Development Tools 15 SP5","SUSE:Linux Enterprise Server 11 SP4 LTSS EXTREME CORE","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","SUSE:Manager Proxy 4.3","SUSE:Manager Server 4.3","openSUSE:Leap 15.5","openSUSE:Leap Micro 5.3","openSUSE:Leap Micro 5.4","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":"2024-04-24","github_poc":17,"max_poc_stars":504,"metasploit":1,"nuclei":0,"refs":[{"date":"2024-05-27T08:30:06Z","kind":"github_poc","ref":"https://github.com/ambionics/cnext-exploits","stars":504,"title":"Exploits for CNEXT (CVE-2024-2961), a buffer overflow in the glibc's iconv()"},{"date":"2024-05-20T06:53:23Z","kind":"github_poc","ref":"https://github.com/rvzsec/CVE-2024-2961","stars":5,"title":"CVE-2024–2961 Security Issue Mitigation Script"},{"date":"2025-01-27T03:06:37Z","kind":"github_poc","ref":"https://github.com/kyotozx/CVE-2024-2961-Remote-File-Read","stars":5,"title":"This script demonstrates a proof-of-concept (PoC) for exploiting a file read vulnerability in the iconv library, as detailed in Ambionics Security's blog https://www.ambionics.io/blog/iconv-cve-2024-2961-p1."},{"date":"2025-02-04T13:34:33Z","kind":"github_poc","ref":"https://github.com/suce0155/CVE-2024-2961","stars":4,"title":"CVE-2024-2961 Cnext RCE Exploit with Buddyforms 2.7.7"},{"date":"2024-04-24T07:32:08Z","kind":"github_poc","ref":"https://github.com/mattaperkins/FIX-CVE-2024-2961","stars":2,"title":"Quick mitigation script "},{"date":"2024-06-04T09:57:46Z","kind":"github_poc","ref":"https://github.com/kjdfklha/CVE-2024-2961_poc","stars":2,"title":null},{"date":"2025-02-02T01:35:43Z","kind":"github_poc","ref":"https://github.com/omarelshopky/exploit_cve-2023-26326_using_cve-2024-2961","stars":1,"title":"Exploit for CVE-2023-26326 in the WordPress BuddyForms plugin, leveraging CVE-2024-2961 for remote code execution. This exploit bypasses PHP 8+ deserialization limitations by chaining vulnerabilities with php://filter."},{"date":"2024-05-30T13:45:43Z","kind":"github_poc","ref":"https://github.com/absolutedesignltd/iconvfix","stars":0,"title":"Bash script to patch for CVE-2024-2961"}],"tier":"weaponised"},"has_fix":true,"headline":"Memory corruption in glibc","id":"CVE-2024-2961","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"debian:debian_linux","products":["debian:debian_linux","gnu:glibc","netapp:active_iq_unified_manager","netapp:hci_compute_node","netapp:ontap_select_deploy_administration_utility"],"type":"memory_corruption","year":"2024"},"n_packages":948,"n_references":16,"next":{"headline":"Networker - Tech News WordPress Theme with Dark Mode \u003c= 1.1.9 - Missing Authorization","id":"CVE-2024-2962"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["2.28-236.el8_9.13"],"introduced":["0"],"last_affected":[],"package":"compat-libpthread-nonshared","purl":"pkg:rpm/almalinux/compat-libpthread-nonshared","source":"ALSA-2024:2722"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"compat-libpthread-nonshared","purl":"pkg:rpm/almalinux/compat-libpthread-nonshared","source":"ALSA-2024:3269"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-236.el8_9.13"],"introduced":["0"],"last_affected":[],"package":"glibc","purl":"pkg:rpm/almalinux/glibc","source":"ALSA-2024:2722"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"glibc","purl":"pkg:rpm/almalinux/glibc","source":"ALSA-2024:3269"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-236.el8_9.13"],"introduced":["0"],"last_affected":[],"package":"glibc-all-langpacks","purl":"pkg:rpm/almalinux/glibc-all-langpacks","source":"ALSA-2024:2722"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"glibc-all-langpacks","purl":"pkg:rpm/almalinux/glibc-all-langpacks","source":"ALSA-2024:3269"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-236.el8_9.13"],"introduced":["0"],"last_affected":[],"package":"glibc-benchtests","purl":"pkg:rpm/almalinux/glibc-benchtests","source":"ALSA-2024:2722"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"glibc-benchtests","purl":"pkg:rpm/almalinux/glibc-benchtests","source":"ALSA-2024:3269"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-236.el8_9.13"],"introduced":["0"],"last_affected":[],"package":"glibc-common","purl":"pkg:rpm/almalinux/glibc-common","source":"ALSA-2024:2722"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"glibc-common","purl":"pkg:rpm/almalinux/glibc-common","source":"ALSA-2024:3269"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-236.el8_9.13"],"introduced":["0"],"last_affected":[],"package":"glibc-devel","purl":"pkg:rpm/almalinux/glibc-devel","source":"ALSA-2024:2722"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"glibc-devel","purl":"pkg:rpm/almalinux/glibc-devel","source":"ALSA-2024:3269"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-236.el8_9.13"],"introduced":["0"],"last_affected":[],"package":"glibc-doc","purl":"pkg:rpm/almalinux/glibc-doc","source":"ALSA-2024:2722"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"glibc-doc","purl":"pkg:rpm/almalinux/glibc-doc","source":"ALSA-2024:3269"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-236.el8_9.13"],"introduced":["0"],"last_affected":[],"package":"glibc-gconv-extra","purl":"pkg:rpm/almalinux/glibc-gconv-extra","source":"ALSA-2024:2722"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"glibc-gconv-extra","purl":"pkg:rpm/almalinux/glibc-gconv-extra","source":"ALSA-2024:3269"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-236.el8_9.13"],"introduced":["0"],"last_affected":[],"package":"glibc-headers","purl":"pkg:rpm/almalinux/glibc-headers","source":"ALSA-2024:2722"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"glibc-headers","purl":"pkg:rpm/almalinux/glibc-headers","source":"ALSA-2024:3269"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-236.el8_9.13"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-aa","purl":"pkg:rpm/almalinux/glibc-langpack-aa","source":"ALSA-2024:2722"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-aa","purl":"pkg:rpm/almalinux/glibc-langpack-aa","source":"ALSA-2024:3269"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-236.el8_9.13"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-af","purl":"pkg:rpm/almalinux/glibc-langpack-af","source":"ALSA-2024:2722"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-af","purl":"pkg:rpm/almalinux/glibc-langpack-af","source":"ALSA-2024:3269"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-236.el8_9.13"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-agr","purl":"pkg:rpm/almalinux/glibc-langpack-agr","source":"ALSA-2024:2722"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-agr","purl":"pkg:rpm/almalinux/glibc-langpack-agr","source":"ALSA-2024:3269"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-236.el8_9.13"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ak","purl":"pkg:rpm/almalinux/glibc-langpack-ak","source":"ALSA-2024:2722"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ak","purl":"pkg:rpm/almalinux/glibc-langpack-ak","source":"ALSA-2024:3269"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-236.el8_9.13"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-am","purl":"pkg:rpm/almalinux/glibc-langpack-am","source":"ALSA-2024:2722"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-am","purl":"pkg:rpm/almalinux/glibc-langpack-am","source":"ALSA-2024:3269"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-236.el8_9.13"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-an","purl":"pkg:rpm/almalinux/glibc-langpack-an","source":"ALSA-2024:2722"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-an","purl":"pkg:rpm/almalinux/glibc-langpack-an","source":"ALSA-2024:3269"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-236.el8_9.13"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-anp","purl":"pkg:rpm/almalinux/glibc-langpack-anp","source":"ALSA-2024:2722"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-anp","purl":"pkg:rpm/almalinux/glibc-langpack-anp","source":"ALSA-2024:3269"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-236.el8_9.13"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ar","purl":"pkg:rpm/almalinux/glibc-langpack-ar","source":"ALSA-2024:2722"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ar","purl":"pkg:rpm/almalinux/glibc-langpack-ar","source":"ALSA-2024:3269"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-236.el8_9.13"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-as","purl":"pkg:rpm/almalinux/glibc-langpack-as","source":"ALSA-2024:2722"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-as","purl":"pkg:rpm/almalinux/glibc-langpack-as","source":"ALSA-2024:3269"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-236.el8_9.13"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ast","purl":"pkg:rpm/almalinux/glibc-langpack-ast","source":"ALSA-2024:2722"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ast","purl":"pkg:rpm/almalinux/glibc-langpack-ast","source":"ALSA-2024:3269"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-236.el8_9.13"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ayc","purl":"pkg:rpm/almalinux/glibc-langpack-ayc","source":"ALSA-2024:2722"},{"ecosystem":"AlmaLinux:8","fixed":["2.28-251.el8_10.1"],"introduced":["0"],"last_affected":[],"package":"glibc-langpack-ayc","purl":"pkg:rpm/almalinux/glibc-langpack-ayc","source":"ALSA-2024:3269"}],"prev":{"headline":"SVS Pricing Tables \u003c= 1.0.4 - Cross-Site Request Forgery to Pricing Table Deletion","id":"CVE-2024-2960"},"products":["glibc"],"published":"2024-04-17","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":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-15","vendors":["The GNU C Library"]},"summary":"A buffer overflow in glibc's iconv function allows attackers to crash applications or potentially execute code via crafted ISO-2022-CN-EXT strings.","url":"https://insights.sbomify.com/CVE-2024-2961/"}