{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2012-3480 exists.","fix":"Apply the vendor's patch.","what":"CVE-2012-3480 is a medium-severity vulnerability in Gnu Glibc, published on 25 Aug 2012. 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-2012-3480 and fix it if it is affected.\n\nWhat it is: CVE-2012-3480 is a medium-severity vulnerability in Gnu Glibc, published on 25 Aug 2012. 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-2012-3480 exists.\n\nAffected product: Gnu Glibc. 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-2012-3480/ (Markdown: https://insights.sbomify.com/CVE-2012-3480/index.md)","id":"CVE-2012-3480","markdown":"https://insights.sbomify.com/CVE-2012-3480/index.md","name":"CVE-2012-3480","record":{"aliases":["DEBIAN-CVE-2012-3480","GHSA-mch7-w8fj-4pc4","RHSA-2012:1207","RHSA-2012:1208"],"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":"Integer overflows in glibc string conversion functions allow local attackers to cause denial of service or execute arbitrary code via long strings.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"glibc","vendor":"gnu"}],"cvss":{"score":4.6,"severity":"medium","source":"nvd","vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[{"id":"CWE-189","name":null}],"description":"Multiple integer overflows in the (1) strtod, (2) strtof, (3) strtold, (4) strtod_l, and other unspecified \"related functions\" in stdlib in GNU C Library (aka glibc or libc6) 2.16 allow local users to cause a denial of service (application crash) and possibly execute arbitrary code via a long string, which triggers a stack-based buffer overflow.","ecosystems":["Red Hat:enterprise_linux:5::client","Red Hat:enterprise_linux:5::server","Red Hat:enterprise_linux:6::client","Red Hat:enterprise_linux:6::computenode","Red Hat:enterprise_linux:6::server","Red Hat:enterprise_linux:6::workstation"],"exploits":{"exploitdb":1,"first_seen":"2012-08-13","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2012-08-13","kind":"exploitdb","ref":"37631","stars":null,"title":"GNU glibc - Multiple Local Stack Buffer Overflow Vulnerabilities"}],"tier":"weaponised"},"has_fix":true,"headline":"Integer overflow in n/a","id":"CVE-2012-3480","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"gnu:glibc","products":["gnu:glibc"],"type":"integer_overflow","year":"2012"},"n_packages":52,"n_references":16,"next":{"headline":"Integer overflow in n/a","id":"CVE-2012-3481"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:2.5-81.el5_8.7"],"introduced":["0"],"last_affected":[],"package":"glibc","purl":"pkg:rpm/redhat/glibc","source":"RHSA-2012:1207"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:2.5-81.el5_8.7"],"introduced":["0"],"last_affected":[],"package":"glibc-common","purl":"pkg:rpm/redhat/glibc-common","source":"RHSA-2012:1207"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:2.5-81.el5_8.7"],"introduced":["0"],"last_affected":[],"package":"glibc-debuginfo","purl":"pkg:rpm/redhat/glibc-debuginfo","source":"RHSA-2012:1207"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:2.5-81.el5_8.7"],"introduced":["0"],"last_affected":[],"package":"glibc-debuginfo-common","purl":"pkg:rpm/redhat/glibc-debuginfo-common","source":"RHSA-2012:1207"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:2.5-81.el5_8.7"],"introduced":["0"],"last_affected":[],"package":"glibc-devel","purl":"pkg:rpm/redhat/glibc-devel","source":"RHSA-2012:1207"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:2.5-81.el5_8.7"],"introduced":["0"],"last_affected":[],"package":"glibc-headers","purl":"pkg:rpm/redhat/glibc-headers","source":"RHSA-2012:1207"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:2.5-81.el5_8.7"],"introduced":["0"],"last_affected":[],"package":"glibc-utils","purl":"pkg:rpm/redhat/glibc-utils","source":"RHSA-2012:1207"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["0:2.5-81.el5_8.7"],"introduced":["0"],"last_affected":[],"package":"nscd","purl":"pkg:rpm/redhat/nscd","source":"RHSA-2012:1207"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:2.5-81.el5_8.7"],"introduced":["0"],"last_affected":[],"package":"glibc","purl":"pkg:rpm/redhat/glibc","source":"RHSA-2012:1207"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:2.5-81.el5_8.7"],"introduced":["0"],"last_affected":[],"package":"glibc-common","purl":"pkg:rpm/redhat/glibc-common","source":"RHSA-2012:1207"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:2.5-81.el5_8.7"],"introduced":["0"],"last_affected":[],"package":"glibc-debuginfo","purl":"pkg:rpm/redhat/glibc-debuginfo","source":"RHSA-2012:1207"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:2.5-81.el5_8.7"],"introduced":["0"],"last_affected":[],"package":"glibc-debuginfo-common","purl":"pkg:rpm/redhat/glibc-debuginfo-common","source":"RHSA-2012:1207"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:2.5-81.el5_8.7"],"introduced":["0"],"last_affected":[],"package":"glibc-devel","purl":"pkg:rpm/redhat/glibc-devel","source":"RHSA-2012:1207"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:2.5-81.el5_8.7"],"introduced":["0"],"last_affected":[],"package":"glibc-headers","purl":"pkg:rpm/redhat/glibc-headers","source":"RHSA-2012:1207"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:2.5-81.el5_8.7"],"introduced":["0"],"last_affected":[],"package":"glibc-utils","purl":"pkg:rpm/redhat/glibc-utils","source":"RHSA-2012:1207"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["0:2.5-81.el5_8.7"],"introduced":["0"],"last_affected":[],"package":"nscd","purl":"pkg:rpm/redhat/nscd","source":"RHSA-2012:1207"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.12-1.80.el6_3.5"],"introduced":["0"],"last_affected":[],"package":"glibc","purl":"pkg:rpm/redhat/glibc","source":"RHSA-2012:1208"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.12-1.80.el6_3.5"],"introduced":["0"],"last_affected":[],"package":"glibc-common","purl":"pkg:rpm/redhat/glibc-common","source":"RHSA-2012:1208"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.12-1.80.el6_3.5"],"introduced":["0"],"last_affected":[],"package":"glibc-debuginfo","purl":"pkg:rpm/redhat/glibc-debuginfo","source":"RHSA-2012:1208"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.12-1.80.el6_3.5"],"introduced":["0"],"last_affected":[],"package":"glibc-debuginfo-common","purl":"pkg:rpm/redhat/glibc-debuginfo-common","source":"RHSA-2012:1208"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.12-1.80.el6_3.5"],"introduced":["0"],"last_affected":[],"package":"glibc-devel","purl":"pkg:rpm/redhat/glibc-devel","source":"RHSA-2012:1208"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.12-1.80.el6_3.5"],"introduced":["0"],"last_affected":[],"package":"glibc-headers","purl":"pkg:rpm/redhat/glibc-headers","source":"RHSA-2012:1208"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.12-1.80.el6_3.5"],"introduced":["0"],"last_affected":[],"package":"glibc-static","purl":"pkg:rpm/redhat/glibc-static","source":"RHSA-2012:1208"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.12-1.80.el6_3.5"],"introduced":["0"],"last_affected":[],"package":"glibc-utils","purl":"pkg:rpm/redhat/glibc-utils","source":"RHSA-2012:1208"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:2.12-1.80.el6_3.5"],"introduced":["0"],"last_affected":[],"package":"nscd","purl":"pkg:rpm/redhat/nscd","source":"RHSA-2012:1208"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.12-1.80.el6_3.5"],"introduced":["0"],"last_affected":[],"package":"glibc","purl":"pkg:rpm/redhat/glibc","source":"RHSA-2012:1208"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.12-1.80.el6_3.5"],"introduced":["0"],"last_affected":[],"package":"glibc-common","purl":"pkg:rpm/redhat/glibc-common","source":"RHSA-2012:1208"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.12-1.80.el6_3.5"],"introduced":["0"],"last_affected":[],"package":"glibc-debuginfo","purl":"pkg:rpm/redhat/glibc-debuginfo","source":"RHSA-2012:1208"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.12-1.80.el6_3.5"],"introduced":["0"],"last_affected":[],"package":"glibc-debuginfo-common","purl":"pkg:rpm/redhat/glibc-debuginfo-common","source":"RHSA-2012:1208"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.12-1.80.el6_3.5"],"introduced":["0"],"last_affected":[],"package":"glibc-devel","purl":"pkg:rpm/redhat/glibc-devel","source":"RHSA-2012:1208"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.12-1.80.el6_3.5"],"introduced":["0"],"last_affected":[],"package":"glibc-headers","purl":"pkg:rpm/redhat/glibc-headers","source":"RHSA-2012:1208"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.12-1.80.el6_3.5"],"introduced":["0"],"last_affected":[],"package":"glibc-static","purl":"pkg:rpm/redhat/glibc-static","source":"RHSA-2012:1208"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.12-1.80.el6_3.5"],"introduced":["0"],"last_affected":[],"package":"glibc-utils","purl":"pkg:rpm/redhat/glibc-utils","source":"RHSA-2012:1208"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:2.12-1.80.el6_3.5"],"introduced":["0"],"last_affected":[],"package":"nscd","purl":"pkg:rpm/redhat/nscd","source":"RHSA-2012:1208"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:2.12-1.80.el6_3.5"],"introduced":["0"],"last_affected":[],"package":"glibc","purl":"pkg:rpm/redhat/glibc","source":"RHSA-2012:1208"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:2.12-1.80.el6_3.5"],"introduced":["0"],"last_affected":[],"package":"glibc-common","purl":"pkg:rpm/redhat/glibc-common","source":"RHSA-2012:1208"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:2.12-1.80.el6_3.5"],"introduced":["0"],"last_affected":[],"package":"glibc-debuginfo","purl":"pkg:rpm/redhat/glibc-debuginfo","source":"RHSA-2012:1208"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:2.12-1.80.el6_3.5"],"introduced":["0"],"last_affected":[],"package":"glibc-debuginfo-common","purl":"pkg:rpm/redhat/glibc-debuginfo-common","source":"RHSA-2012:1208"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:2.12-1.80.el6_3.5"],"introduced":["0"],"last_affected":[],"package":"glibc-devel","purl":"pkg:rpm/redhat/glibc-devel","source":"RHSA-2012:1208"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:2.12-1.80.el6_3.5"],"introduced":["0"],"last_affected":[],"package":"glibc-headers","purl":"pkg:rpm/redhat/glibc-headers","source":"RHSA-2012:1208"}],"prev":{"headline":"Code injection in n/a","id":"CVE-2012-3479"},"products":["n/a"],"published":"2012-08-25","related":[{"cvss_score":9.8,"headline":"scanf %mc off-by-one heap buffer overflow","id":"CVE-2026-5450","kev_date_added":null,"published":"2026-04-20"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2023-25139","kev_date_added":null,"published":"2023-02-03"},{"cvss_score":9.8,"headline":"Other in n/a","id":"CVE-1999-0199","kev_date_added":null,"published":"2020-10-06"},{"cvss_score":9.8,"headline":"Security feature bypass in glibc","id":"CVE-2019-1010022","kev_date_added":null,"published":"2019-07-15"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2005-3590","kev_date_added":null,"published":"2019-04-10"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2017-18269","kev_date_added":null,"published":"2018-05-18"},{"cvss_score":9.8,"headline":"Integer overflow in n/a","id":"CVE-2018-11236","kev_date_added":null,"published":"2018-05-18"}],"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)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Integer overflows in glibc string conversion functions allow local attackers to cause denial of service or execute arbitrary code via long strings.","url":"https://insights.sbomify.com/CVE-2012-3480/"}