{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-56392 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2026-56392 is a low-severity vulnerability in GNU coreutils, published on 24 Jul 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-56392 and fix it if it is affected.\n\nWhat it is: CVE-2026-56392 is a low-severity vulnerability in GNU coreutils, published on 24 Jul 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-56392 in the wild and no public exploit code.\n\nAffected product: GNU coreutils. 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-56392/ (Markdown: https://insights.sbomify.com/CVE-2026-56392/index.md)","id":"CVE-2026-56392","markdown":"https://insights.sbomify.com/CVE-2026-56392/index.md","name":"CVE-2026-56392","record":{"aliases":["ALSA-2026:66403","CLSA-2026-1788177078","CLSA-2026-1788268556","DEBIAN-CVE-2026-56392","GHSA-g24f-m2hx-pfgx","JLSEC-2026-1196","OESA-2026-3388","OESA-2026-3389","OESA-2026-3390","OESA-2026-3391","OESA-2026-3416","RHBA-2026:47115","RHSA-2026:40724","RHSA-2026:66403","RLSA-2026:66403"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"GNU coreutils","requires_auth":"none","summary":"Attacker can trigger heap overflow via crafted tab stop arguments in unexpand, potentially leading to code execution or crash.","user_interaction":"required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"CERT-PL","cpe":[{"product":"coreutils","vendor":"gnu"}],"cvss":{"score":1.8,"severity":"low","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"description":"GNU coreutils unexpand is vulnerable to a heap-based buffer overflow due to an integer overflow during buffer allocation when processing large tab stop (-t) values. The multiplication used to calculate the allocation size can wrap around, resulting in an undersized buffer.\nWhen processing crafted input, subsequent writes exceed the allocated memory, leading to an out‑of‑bounds heap write.\n\nWhen running GNU coreutils unexpand with attacker-provided large tab stop (-t) arguments, this behavior leads to a crash and potentially achieve a heap write primitive depending on memory layout.\n\nThis issue has been fixed in the commit b60a159fdc5bfcf9988d3a4cb6f53abe8ad5d35d","ecosystems":["AlmaLinux:9","Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:9::baseos","Red Hat:hummingbird:1","Rocky Linux:9"],"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":"Heap-based Buffer Overflow in GNU coreutils","id":"CVE-2026-56392","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"integer_overflow","year":"2026"},"n_packages":18,"n_references":3,"next":{"headline":"Craft CMS - Multiple Stored Cross-Site Scripting in Settings Names and Field Options","id":"CVE-2026-56393"},"packages":[{"ecosystem":"AlmaLinux:9","fixed":["8.32-41.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"coreutils","purl":"pkg:rpm/almalinux/coreutils","source":"ALSA-2026:66403"},{"ecosystem":"AlmaLinux:9","fixed":["8.32-41.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"coreutils-common","purl":"pkg:rpm/almalinux/coreutils-common","source":"ALSA-2026:66403"},{"ecosystem":"AlmaLinux:9","fixed":["8.32-41.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"coreutils-single","purl":"pkg:rpm/almalinux/coreutils-single","source":"ALSA-2026:66403"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:8.30-20.el8_10"],"introduced":["0"],"last_affected":[],"package":"coreutils","purl":"pkg:rpm/redhat/coreutils","source":"RHBA-2026:47115"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:8.30-20.el8_10"],"introduced":["0"],"last_affected":[],"package":"coreutils-common","purl":"pkg:rpm/redhat/coreutils-common","source":"RHBA-2026:47115"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:8.30-20.el8_10"],"introduced":["0"],"last_affected":[],"package":"coreutils-debuginfo","purl":"pkg:rpm/redhat/coreutils-debuginfo","source":"RHBA-2026:47115"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:8.30-20.el8_10"],"introduced":["0"],"last_affected":[],"package":"coreutils-debugsource","purl":"pkg:rpm/redhat/coreutils-debugsource","source":"RHBA-2026:47115"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:8.30-20.el8_10"],"introduced":["0"],"last_affected":[],"package":"coreutils-single","purl":"pkg:rpm/redhat/coreutils-single","source":"RHBA-2026:47115"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:8.30-20.el8_10"],"introduced":["0"],"last_affected":[],"package":"coreutils-single-debuginfo","purl":"pkg:rpm/redhat/coreutils-single-debuginfo","source":"RHBA-2026:47115"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:8.32-41.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"coreutils","purl":"pkg:rpm/redhat/coreutils","source":"RHSA-2026:66403"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:8.32-41.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"coreutils-debuginfo","purl":"pkg:rpm/redhat/coreutils-debuginfo","source":"RHSA-2026:66403"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:8.32-41.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"coreutils-debugsource","purl":"pkg:rpm/redhat/coreutils-debugsource","source":"RHSA-2026:66403"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:8.32-41.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"coreutils-single","purl":"pkg:rpm/redhat/coreutils-single","source":"RHSA-2026:66403"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:8.32-41.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"coreutils-single-debuginfo","purl":"pkg:rpm/redhat/coreutils-single-debuginfo","source":"RHSA-2026:66403"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:9.11-5.hum1"],"introduced":["0"],"last_affected":[],"package":"coreutils","purl":"pkg:rpm/redhat/coreutils","source":"RHSA-2026:40724"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:9.11-5.hum1"],"introduced":["0"],"last_affected":[],"package":"coreutils-common","purl":"pkg:rpm/redhat/coreutils-common","source":"RHSA-2026:40724"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:9.11-5.hum1"],"introduced":["0"],"last_affected":[],"package":"coreutils-single","purl":"pkg:rpm/redhat/coreutils-single","source":"RHSA-2026:40724"},{"ecosystem":"Rocky Linux:9","fixed":["0:8.32-41.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"coreutils","purl":"pkg:rpm/rocky-linux/coreutils?distro=rocky-linux-9\u0026epoch=0","source":"RLSA-2026:66403"}],"prev":{"headline":"Out‑of‑bounds Read in GNU coreutils","id":"CVE-2026-56391"},"products":["coreutils"],"published":"2026-07-24","related":[{"cvss_score":9.8,"headline":"Integer overflow in n/a","id":"CVE-2015-4042","kev_date_added":null,"published":"2020-01-24"},{"cvss_score":7.8,"headline":"Memory corruption in n/a","id":"CVE-2015-4041","kev_date_added":null,"published":"2020-01-24"},{"cvss_score":7.1,"headline":"Race condition in n/a","id":"CVE-2017-18018","kev_date_added":null,"published":"2018-01-04"},{"cvss_score":5.5,"headline":"Coreutils: heap overflow in split --line-bytes with very long lines","id":"CVE-2024-0684","kev_date_added":null,"published":"2024-02-06"},{"cvss_score":5.1,"headline":"Race condition in n/a","id":"CVE-2015-1865","kev_date_added":null,"published":"2017-09-20"},{"cvss_score":4.6,"headline":"Out‑of‑bounds Read in GNU coreutils","id":"CVE-2026-56391","kev_date_added":null,"published":"2026-07-24"},{"cvss_score":4.6,"headline":"Privilege escalation in n/a","id":"CVE-2016-2781","kev_date_added":null,"published":"2017-02-07"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHBA"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"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-07-24","vendors":["GNU"]},"summary":"Attacker can trigger heap overflow via crafted tab stop arguments in unexpand, potentially leading to code execution or crash.","url":"https://insights.sbomify.com/CVE-2026-56392/"}