{"answers":{"affected":"It affects 4 products.","exploited":"There is no known exploitation of CVE-2016-2851 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2016-2851 is a critical vulnerability in Debian Debian Linux, published on 7 Apr 2016. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2016-2851 and fix it if it is affected.\n\nWhat it is: CVE-2016-2851 is a critical vulnerability in Debian Debian Linux, published on 7 Apr 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2016-2851 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-2851/ (Markdown: https://insights.sbomify.com/CVE-2016-2851/index.md)","id":"CVE-2016-2851","markdown":"https://insights.sbomify.com/CVE-2016-2851/index.md","name":"CVE-2016-2851","record":{"aliases":["DEBIAN-CVE-2016-2851","DSA-3512-1","GHSA-p3jg-fm9x-hc9c","MGASA-2016-0117","SUSE-SU-2016:0706-1","SUSE-SU-2016:0707-1","UBUNTU-CVE-2016-2851","openSUSE-SU-2024:10546-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"libotr library","requires_auth":"none","summary":"Remote attackers can execute arbitrary code or cause denial of service via integer overflow leading to heap buffer overflow in libotr.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"libotr","vendor":"cypherpunks"},{"product":"debian_linux","vendor":"debian"},{"product":"leap","vendor":"opensuse"},{"product":"opensuse","vendor":"opensuse"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"description":"Integer overflow in proto.c in libotr before 4.1.1 on 64-bit platforms allows remote attackers to cause a denial of service (memory corruption and application crash) or execute arbitrary code via a series of large OTR messages, which triggers a heap-based buffer overflow.","ecosystems":["SUSE:Linux Enterprise Desktop 11 SP4","SUSE:Linux Enterprise Desktop 12","SUSE:Linux Enterprise Desktop 12 SP1","SUSE:Linux Enterprise Server 11 SP4","SUSE:Linux Enterprise Server 12","SUSE:Linux Enterprise Server 12 SP1","SUSE:Linux Enterprise Server for SAP Applications 11 SP4","SUSE:Linux Enterprise Server for SAP Applications 12","SUSE:Linux Enterprise Server for SAP Applications 12 SP1","SUSE:Linux Enterprise Software Development Kit 11 SP4","SUSE:Linux Enterprise Software Development Kit 12","SUSE:Linux Enterprise Software Development Kit 12 SP1"],"exploits":{"exploitdb":1,"first_seen":"2016-03-10","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2016-03-10","kind":"exploitdb","ref":"39550","stars":null,"title":"libotr 4.1.0 - Memory Corruption"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Integer overflow in n/a","id":"CVE-2016-2851","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"debian:debian_linux","products":["debian:debian_linux","opensuse:leap","opensuse:opensuse"],"type":"integer_overflow","year":"2016"},"n_packages":12,"n_references":11,"next":{"headline":"Privilege escalation in n/a","id":"CVE-2016-2853"},"packages":[{"ecosystem":"SUSE:Linux Enterprise Desktop 11 SP4","fixed":["3.2.0-10.5.1"],"introduced":["0"],"last_affected":[],"package":"libotr","purl":"pkg:rpm/suse/libotr\u0026distro=SUSE%20Linux%20Enterprise%20Desktop%2011%20SP4","source":"SUSE-SU-2016:0706-1"},{"ecosystem":"SUSE:Linux Enterprise Desktop 12","fixed":["4.0.0-9.1"],"introduced":["0"],"last_affected":[],"package":"libotr","purl":"pkg:rpm/suse/libotr\u0026distro=SUSE%20Linux%20Enterprise%20Desktop%2012","source":"SUSE-SU-2016:0707-1"},{"ecosystem":"SUSE:Linux Enterprise Desktop 12 SP1","fixed":["4.0.0-9.1"],"introduced":["0"],"last_affected":[],"package":"libotr","purl":"pkg:rpm/suse/libotr\u0026distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP1","source":"SUSE-SU-2016:0707-1"},{"ecosystem":"SUSE:Linux Enterprise Server 11 SP4","fixed":["3.2.0-10.5.1"],"introduced":["0"],"last_affected":[],"package":"libotr","purl":"pkg:rpm/suse/libotr\u0026distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4","source":"SUSE-SU-2016:0706-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12","fixed":["4.0.0-9.1"],"introduced":["0"],"last_affected":[],"package":"libotr","purl":"pkg:rpm/suse/libotr\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012","source":"SUSE-SU-2016:0707-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP1","fixed":["4.0.0-9.1"],"introduced":["0"],"last_affected":[],"package":"libotr","purl":"pkg:rpm/suse/libotr\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP1","source":"SUSE-SU-2016:0707-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 11 SP4","fixed":["3.2.0-10.5.1"],"introduced":["0"],"last_affected":[],"package":"libotr","purl":"pkg:rpm/suse/libotr\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2011%20SP4","source":"SUSE-SU-2016:0706-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12","fixed":["4.0.0-9.1"],"introduced":["0"],"last_affected":[],"package":"libotr","purl":"pkg:rpm/suse/libotr\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012","source":"SUSE-SU-2016:0707-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP1","fixed":["4.0.0-9.1"],"introduced":["0"],"last_affected":[],"package":"libotr","purl":"pkg:rpm/suse/libotr\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP1","source":"SUSE-SU-2016:0707-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 11 SP4","fixed":["3.2.0-10.5.1"],"introduced":["0"],"last_affected":[],"package":"libotr","purl":"pkg:rpm/suse/libotr\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2011%20SP4","source":"SUSE-SU-2016:0706-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12","fixed":["4.0.0-9.1"],"introduced":["0"],"last_affected":[],"package":"libotr","purl":"pkg:rpm/suse/libotr\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012","source":"SUSE-SU-2016:0707-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP1","fixed":["4.0.0-9.1"],"introduced":["0"],"last_affected":[],"package":"libotr","purl":"pkg:rpm/suse/libotr\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP1","source":"SUSE-SU-2016:0707-1"}],"prev":{"headline":"Security feature bypass in n/a","id":"CVE-2016-2850"},"products":["n/a"],"published":"2016-04-07","related":[{"cvss_score":4.3,"headline":"Memory corruption in n/a","id":"CVE-2012-3461","kev_date_added":null,"published":"2012-08-20"}],"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)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary code or cause denial of service via integer overflow leading to heap buffer overflow in libotr.","url":"https://insights.sbomify.com/CVE-2016-2851/"}