{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2016-8622 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2016-8622 is a low-severity vulnerability in Haxx Libcurl, published on 31 Jul 2018. 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-8622 and fix it if it is affected.\n\nWhat it is: CVE-2016-8622 is a low-severity vulnerability in Haxx Libcurl, published on 31 Jul 2018. 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-8622 in the wild and no public exploit code.\n\nAffected product: Haxx Libcurl. 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-8622/ (Markdown: https://insights.sbomify.com/CVE-2016-8622/index.md)","id":"CVE-2016-8622","markdown":"https://insights.sbomify.com/CVE-2016-8622/index.md","name":"CVE-2016-8622","record":{"aliases":["ALPINE-CVE-2016-8622","CLEANSTART-2026-XZ19364","CURL-CVE-2016-8622","DEBIAN-CVE-2016-8622","GHSA-xfmx-53v5-938g","UBUNTU-CVE-2016-8622"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"curl library","requires_auth":"none","summary":"An integer overflow in libcurl's URL decoding can lead to heap buffer overflows, potentially allowing remote code execution or denial of service.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"libcurl","vendor":"haxx"}],"cvss":{"score":3.7,"severity":"low","source":"cna","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.0"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-190","name":"Integer Overflow or Wraparound"},{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"description":"The URL percent-encoding decode function in libcurl before 7.51.0 is called `curl_easy_unescape`. Internally, even if this function would be made to allocate a unscape destination buffer larger than 2GB, it would return that new length in a signed 32 bit integer variable, thus the length would get either just truncated or both truncated and turned negative. That could then lead to libcurl writing outside of its heap based buffer.","ecosystems":[],"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":"Integer overflow in curl","id":"CVE-2016-8622","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"haxx:libcurl","products":["haxx:libcurl"],"type":"integer_overflow","year":"2016"},"n_packages":0,"n_references":9,"next":{"headline":"Use after free in curl","id":"CVE-2016-8623"},"packages":[],"prev":{"headline":"Memory corruption in curl","id":"CVE-2016-8621"},"products":["curl"],"published":"2018-07-31","related":[{"cvss_score":7.5,"headline":"freeing stack buffer in utf8asn1str","id":"CVE-2024-6197","kev_date_added":null,"published":"2024-07-24"},{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2017-1000254","kev_date_added":null,"published":"2017-10-06"},{"cvss_score":7.5,"headline":"Auth bypass in n/a","id":"CVE-2016-7141","kev_date_added":null,"published":"2016-10-03"},{"cvss_score":6.5,"headline":"Information disclosure in n/a","id":"CVE-2017-1000099","kev_date_added":null,"published":"2017-10-04"},{"cvss_score":6.5,"headline":"Information disclosure in n/a","id":"CVE-2017-1000100","kev_date_added":null,"published":"2017-10-04"},{"cvss_score":6.3,"headline":"ASN.1 date parser overread","id":"CVE-2024-7264","kev_date_added":null,"published":"2024-07-31"},{"cvss_score":4.8,"headline":"Security feature bypass in curl","id":"CVE-2017-7468","kev_date_added":null,"published":"2018-07-16"}],"sources":[{"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)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-15","vendors":["The Curl Project"]},"summary":"An integer overflow in libcurl's URL decoding can lead to heap buffer overflows, potentially allowing remote code execution or denial of service.","url":"https://insights.sbomify.com/CVE-2016-8622/"}