{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-56123 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2026-56123 is a critical memory corruption vulnerability in socat, published on 25 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-56123 and fix it if it is affected.\n\nWhat it is: CVE-2026-56123 is a critical memory corruption vulnerability in socat, published on 25 Jun 2026. 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-2026-56123 in the wild and no public exploit code.\n\nAffected product: socat. 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-2026-56123/ (Markdown: https://insights.sbomify.com/CVE-2026-56123/index.md)","id":"CVE-2026-56123","markdown":"https://insights.sbomify.com/CVE-2026-56123/index.md","name":"CVE-2026-56123","record":{"aliases":["ALPINE-CVE-2026-56123","BELL-CVE-2026-56123","DEBIAN-CVE-2026-56123","ECHO-0d27-ed35-8289","GHSA-6r8c-w5mj-43hv","MGASA-2026-0290","OESA-2026-2942","OESA-2026-2943","UBUNTU-CVE-2026-56123","openSUSE-SU-2026:11151-1"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Network relay utility","requires_auth":"none","summary":"A malicious SOCKS5 proxy server can trigger a heap buffer overflow in socat, potentially allowing remote code execution.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[{"product":"socat","vendor":"dest-unreach"}],"cvss":{"score":9.2,"severity":"critical","source":"cna","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"description":"socat versions 1.8.0.0 through 1.8.1.1 contain a heap-based buffer overflow vulnerability that allows a malicious SOCKS5 proxy server to overwrite adjacent heap memory by exploiting a sign-extension flaw in the DOMAINNAME reply parser. During connection setup, the domain name length byte is read through a signed char field causing a negative bytes_to_read value that is implicitly converted to size_t, resulting in an unbounded heap write into the 262-byte reply buffer with attacker-controlled size and content.","ecosystems":["openSUSE:Tumbleweed"],"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":"socat 1.8.0.0 - 1.8.1.1 Heap Buffer Overflow via SOCKS5 Reply Parser","id":"CVE-2026-56123","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2026"},"n_packages":1,"n_references":2,"next":{"headline":"phpUploader \u003c 2.0.2 Unauthenticated Database Exposure via index model","id":"CVE-2026-56124"},"packages":[{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.8.1.3-1.1"],"introduced":["0"],"last_affected":[],"package":"socat","purl":"pkg:rpm/opensuse/socat\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:11151-1"}],"prev":{"headline":"Winstone Servlet Engine 0.9.10 Path Traversal via HTTP Request Paths","id":"CVE-2026-56122"},"products":["socat"],"published":"2026-06-25","related":[{"cvss_score":7.5,"headline":"Denial of service in n/a","id":"CVE-2015-1379","kev_date_added":null,"published":"2017-06-08"},{"cvss_score":6.8,"headline":"Memory corruption in n/a","id":"CVE-2010-2799","kev_date_added":null,"published":"2010-09-14"},{"cvss_score":6.2,"headline":"Memory corruption in n/a","id":"CVE-2012-0219","kev_date_added":null,"published":"2012-06-21"},{"cvss_score":5.3,"headline":"Weak cryptography in n/a","id":"CVE-2016-2217","kev_date_added":null,"published":"2017-01-30"},{"cvss_score":2.6,"headline":"Denial of service in n/a","id":"CVE-2013-3571","kev_date_added":null,"published":"2014-05-08"},{"cvss_score":1.9,"headline":"Memory corruption in n/a","id":"CVE-2014-0019","kev_date_added":null,"published":"2014-02-04"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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":"total"},"state":"PUBLISHED","updated":"2026-07-14","vendors":["socat"]},"summary":"A malicious SOCKS5 proxy server can trigger a heap buffer overflow in socat, potentially allowing remote code execution.","url":"https://insights.sbomify.com/CVE-2026-56123/"}