{"answers":{"affected":"It affects 3 products.","exploited":"There is no known exploitation of CVE-2016-6318 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2016-6318 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 7 Sep 2016. 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-2016-6318 and fix it if it is affected.\n\nWhat it is: CVE-2016-6318 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 7 Sep 2016. 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-2016-6318 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-2016-6318/ (Markdown: https://insights.sbomify.com/CVE-2016-6318/index.md)","id":"CVE-2016-6318","markdown":"https://insights.sbomify.com/CVE-2016-6318/index.md","name":"CVE-2016-6318","record":{"aliases":["ALPINE-CVE-2016-6318","DEBIAN-CVE-2016-6318","DLA-2220-1","DLA-599-1","GHSA-f7mv-c94v-v96r","MGASA-2016-0302","SUSE-SU-2016:2107-1","SUSE-SU-2016:2211-1","UBUNTU-CVE-2016-6318","openSUSE-SU-2024:10359-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["privilege_escalation","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"cracklib library","requires_auth":"low_privilege","summary":"Local attackers can exploit a stack-based buffer overflow in cracklib to crash the application or escalate privileges via a long GECOS field.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"cracklib","vendor":"cracklib_project"},{"product":"debian_linux","vendor":"debian"},{"product":"leap","vendor":"opensuse"}],"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":"Stack-based buffer overflow in the FascistGecosUser function in lib/fascist.c in cracklib allows local users to cause a denial of service (application crash) or gain privileges via a long GECOS field, involving longbuffer.","ecosystems":["SUSE:Linux Enterprise Desktop 12 SP1","SUSE:Linux Enterprise Server 11 SP4","SUSE:Linux Enterprise Server 12 SP1","SUSE:Linux Enterprise Server for SAP Applications 11 SP4","SUSE:Linux Enterprise Server for SAP Applications 12 SP1","SUSE:Linux Enterprise Software Development Kit 11 SP4","SUSE:Linux Enterprise Software Development Kit 12 SP1","SUSE:Studio Onsite 1.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-2016-6318","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"debian:debian_linux","products":["debian:debian_linux","opensuse:leap"],"type":"memory_corruption","year":"2016"},"n_packages":8,"n_references":7,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2016-6319"},"packages":[{"ecosystem":"SUSE:Linux Enterprise Desktop 12 SP1","fixed":["2.9.0-7.1"],"introduced":["0"],"last_affected":[],"package":"cracklib","purl":"pkg:rpm/suse/cracklib\u0026distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP1","source":"SUSE-SU-2016:2107-1"},{"ecosystem":"SUSE:Linux Enterprise Server 11 SP4","fixed":["2.8.12-56.13.1"],"introduced":["0"],"last_affected":[],"package":"cracklib","purl":"pkg:rpm/suse/cracklib\u0026distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4","source":"SUSE-SU-2016:2211-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP1","fixed":["2.9.0-7.1"],"introduced":["0"],"last_affected":[],"package":"cracklib","purl":"pkg:rpm/suse/cracklib\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP1","source":"SUSE-SU-2016:2107-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 11 SP4","fixed":["2.8.12-56.13.1"],"introduced":["0"],"last_affected":[],"package":"cracklib","purl":"pkg:rpm/suse/cracklib\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2011%20SP4","source":"SUSE-SU-2016:2211-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP1","fixed":["2.9.0-7.1"],"introduced":["0"],"last_affected":[],"package":"cracklib","purl":"pkg:rpm/suse/cracklib\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP1","source":"SUSE-SU-2016:2107-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 11 SP4","fixed":["2.8.12-56.13.1"],"introduced":["0"],"last_affected":[],"package":"cracklib","purl":"pkg:rpm/suse/cracklib\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2011%20SP4","source":"SUSE-SU-2016:2211-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP1","fixed":["2.9.0-7.1"],"introduced":["0"],"last_affected":[],"package":"cracklib","purl":"pkg:rpm/suse/cracklib\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP1","source":"SUSE-SU-2016:2107-1"},{"ecosystem":"SUSE:Studio Onsite 1.3","fixed":["2.8.12-56.13.1"],"introduced":["0"],"last_affected":[],"package":"cracklib","purl":"pkg:rpm/suse/cracklib\u0026distro=SUSE%20Studio%20Onsite%201.3","source":"SUSE-SU-2016:2211-1"}],"prev":{"headline":"ActiveRecord in Ruby on Rails allows database-query bypass","id":"CVE-2016-6317"},"products":["n/a"],"published":"2016-09-07","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Local attackers can exploit a stack-based buffer overflow in cracklib to crash the application or escalate privileges via a long GECOS field.","url":"https://insights.sbomify.com/CVE-2016-6318/"}