{"dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": {"cveId": "CVE-2026-56391", "assignerOrgId": "4bb8329e-dd38-46c1-aafb-9bf32bcb93c6", "state": "PUBLISHED", "assignerShortName": "CERT-PL", "dateReserved": "2026-06-21T11:40:32.790Z", "datePublished": "2026-07-24T07:44:45.581Z", "dateUpdated": "2026-07-24T12:31:34.245Z"}, "containers": {"cna": {"providerMetadata": {"orgId": "4bb8329e-dd38-46c1-aafb-9bf32bcb93c6", "shortName": "CERT-PL", "dateUpdated": "2026-07-24T07:44:45.581Z"}, "title": "Out\u2011of\u2011bounds Read in GNU coreutils", "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-125", "description": "CWE-125 Out-of-bounds Read", "type": "CWE"}]}], "affected": [{"vendor": "GNU", "product": "coreutils", "modules": ["uniq"], "versions": [{"status": "affected", "version": "9.5", "lessThanOrEqual": "9.11", "versionType": "custom"}], "defaultStatus": "unaffected"}], "descriptions": [{"lang": "en", "value": "GNU coreutils uniq is vulnerable to an out\u2011of\u2011bounds read due to incorrect handling of multibyte input when the -w (--check-chars) option is used. The find_field() function miscalculates the byte length of characters by repeatedly processing a fixed pointer instead of advancing through the input, resulting in an inflated length value. \nThis incorrect length is later used in a memcmp operation, causing reads beyond the allocated buffer when processing crafted multibyte input.\n\nWhen running GNU coreutils uniq with attacker-provided arguments, this behavior leads to a crash and potential adjacent heap memory exposure.\n\n\nThis issue has been fixed in the commit d64e35a8a4c0e4608321433e0d84d917e4e36371.", "supportingMedia": [{"type": "text/html", "base64": false, "value": "GNU coreutils <i>uniq</i> is vulnerable to an out\u2011of\u2011bounds read due to incorrect handling of multibyte input when the <i>-w (--check-chars)</i> option is used. The <i>find_field()</i> function miscalculates the byte length of characters by repeatedly processing a fixed pointer instead of advancing through the input, resulting in an inflated length value. <br>This incorrect length is later used in a memcmp operation, causing reads beyond the allocated buffer when processing crafted multibyte input.<br><br>When running GNU coreutils <i>uniq</i> with attacker-provided arguments, this behavior leads to a crash and potential adjacent heap memory exposure.<br><p>This issue has been fixed in the commit d64e35a8a4c0e4608321433e0d84d917e4e36371.</p>"}]}], "tags": ["x_open-source"], "references": [{"url": "https://cert.pl/en/posts/2026/07/CVE-2026-56391", "tags": ["third-party-advisory"]}, {"url": "https://git.savannah.gnu.org/cgit/coreutils.git/", "tags": ["product"]}, {"url": "https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=d64e35a8a4c0e4608321433e0d84d917e4e36371", "tags": ["patch"]}], "metrics": [{"format": "CVSS", "scenarios": [{"lang": "en", "value": "GENERAL"}], "cvssV4_0": {"attackVector": "LOCAL", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "ACTIVE", "vulnConfidentialityImpact": "LOW", "subConfidentialityImpact": "NONE", "vulnIntegrityImpact": "NONE", "subIntegrityImpact": "NONE", "vulnAvailabilityImpact": "LOW", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED", "version": "4.0", "baseSeverity": "MEDIUM", "baseScore": 4.6, "vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N"}}], "credits": [{"lang": "en", "value": "Micha\u0142 Majchrowicz (AFINE Team)", "type": "finder"}, {"lang": "en", "value": "Marcin Wyczechowski (AFINE Team)", "type": "finder"}], "source": {"discovery": "EXTERNAL"}, "x_generator": {"engine": "Vulnogram 0.2.0"}, "x_gcve": [{"vulnId": "CVE-2026-56391", "recordType": "advisory"}]}, "adp": [{"metrics": [{"other": {"type": "ssvc", "content": {"timestamp": "2026-07-24T12:31:16.655541Z", "id": "CVE-2026-56391", "options": [{"Exploitation": "none"}, {"Automatable": "no"}, {"Technical Impact": "partial"}], "role": "CISA Coordinator", "version": "2.0.3"}}}], "title": "CISA ADP Vulnrichment", "providerMetadata": {"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2026-07-24T12:31:34.245Z"}}]}, "vulnerability-lookup:meta": {"epss": {"cve": "CVE-2026-56391", "date": "2026-12-04", "epss": "0.00131", "percentile": "0.02883"}, "microsoft_vex": {"current_release_date": "2026-10-22T01:08:19.000Z", "cve": "CVE-2026-56391", "id": "msrc_CVE-2026-56391", "initial_release_date": "2026-08-07T00:22:37.000Z", "product_status:fixed": "1", "product_status:known_affected": "1", "product_status:known_not_affected": "1", "source": "Microsoft CSAF VEX", "status": "final", "title": "Out\u2011of\u2011bounds Read in GNU coreutils", "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-56391.json", "version": "2"}, "nvd": "{\"cve\":{\"id\":\"CVE-2026-56391\",\"sourceIdentifier\":\"cvd@cert.pl\",\"published\":\"2026-07-24T09:16:25.003\",\"lastModified\":\"2026-10-24T13:10:00.147\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"GNU coreutils uniq is vulnerable to an out\u2011of\u2011bounds read due to incorrect handling of multibyte input when the -w (--check-chars) option is used. The find_field() function miscalculates the byte length of characters by repeatedly processing a fixed pointer instead of advancing through the input, resulting in an inflated length value. \\nThis incorrect length is later used in a memcmp operation, causing reads beyond the allocated buffer when processing crafted multibyte input.\\n\\nWhen running GNU coreutils uniq with attacker-provided arguments, this behavior leads to a crash and potential adjacent heap memory exposure.\\n\\n\\nThis issue has been fixed in the commit d64e35a8a4c0e4608321433e0d84d917e4e36371.\"},{\"lang\":\"es\",\"value\":\"GNU coreutils uniq es vulnerable a una lectura fuera de l\u00edmites debido a un manejo incorrecto de entrada multibyte cuando se utiliza la opci\u00f3n -w (--check-chars). La funci\u00f3n find_field() calcula incorrectamente la longitud en bytes de los caracteres al procesar repetidamente un puntero fijo en lugar de avanzar a trav\u00e9s de la entrada, lo que resulta en un valor de longitud inflado.\\nEsta longitud incorrecta se utiliza posteriormente en una operaci\u00f3n memcmp, causando lecturas m\u00e1s all\u00e1 del b\u00fafer asignado al procesar entrada multibyte manipulada.\\n\\nAl ejecutar GNU coreutils uniq con argumentos proporcionados por el atacante, este comportamiento conduce a un fallo y a una posible exposici\u00f3n de memoria adyacente del heap.\\n\\nEste problema ha sido corregido en el commit d64e35a8a4c0e4608321433e0d84d917e4e36371.\"}],\"affected\":[{\"source\":\"cvd@cert.pl\",\"affectedData\":[{\"vendor\":\"GNU\",\"product\":\"coreutils\",\"defaultStatus\":\"unaffected\",\"modules\":[\"uniq\"],\"versions\":[{\"version\":\"9.5\",\"lessThanOrEqual\":\"9.11\",\"versionType\":\"custom\",\"status\":\"affected\"}]}]}],\"metrics\":{\"cvssMetricV40\":[{\"source\":\"cvd@cert.pl\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"4.0\",\"vectorString\":\"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X\",\"baseScore\":4.6,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"attackRequirements\":\"NONE\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"ACTIVE\",\"vulnConfidentialityImpact\":\"LOW\",\"vulnIntegrityImpact\":\"NONE\",\"vulnAvailabilityImpact\":\"LOW\",\"subConfidentialityImpact\":\"NONE\",\"subIntegrityImpact\":\"NONE\",\"subAvailabilityImpact\":\"NONE\",\"exploitMaturity\":\"NOT_DEFINED\",\"confidentialityRequirement\":\"NOT_DEFINED\",\"integrityRequirement\":\"NOT_DEFINED\",\"availabilityRequirement\":\"NOT_DEFINED\",\"modifiedAttackVector\":\"NOT_DEFINED\",\"modifiedAttackComplexity\":\"NOT_DEFINED\",\"modifiedAttackRequirements\":\"NOT_DEFINED\",\"modifiedPrivilegesRequired\":\"NOT_DEFINED\",\"modifiedUserInteraction\":\"NOT_DEFINED\",\"modifiedVulnConfidentialityImpact\":\"NOT_DEFINED\",\"modifiedVulnIntegrityImpact\":\"NOT_DEFINED\",\"modifiedVulnAvailabilityImpact\":\"NOT_DEFINED\",\"modifiedSubConfidentialityImpact\":\"NOT_DEFINED\",\"modifiedSubIntegrityImpact\":\"NOT_DEFINED\",\"modifiedSubAvailabilityImpact\":\"NOT_DEFINED\",\"Safety\":\"NOT_DEFINED\",\"Automatable\":\"NOT_DEFINED\",\"Recovery\":\"NOT_DEFINED\",\"valueDensity\":\"NOT_DEFINED\",\"vulnerabilityResponseEffort\":\"NOT_DEFINED\",\"providerUrgency\":\"NOT_DEFINED\"}}],\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H\",\"baseScore\":6.1,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"REQUIRED\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"LOW\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":4.2}],\"ssvcV203\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"ssvcData\":{\"timestamp\":\"2026-07-24T12:31:16.655541Z\",\"id\":\"CVE-2026-56391\",\"options\":[{\"exploitation\":\"none\"},{\"automatable\":\"no\"},{\"technicalImpact\":\"partial\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"weaknesses\":[{\"source\":\"cvd@cert.pl\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-125\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:gnu:coreutils:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"9.5\",\"versionEndIncluding\":\"9.11\",\"matchCriteriaId\":\"32AA16DF-2A52-4FEA-8A2D-94AEE9EEFD22\"}]}]}],\"references\":[{\"url\":\"https://cert.pl/en/posts/2026/07/CVE-2026-56391\",\"source\":\"cvd@cert.pl\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://git.savannah.gnu.org/cgit/coreutils.git/\",\"source\":\"cvd@cert.pl\",\"tags\":[\"Product\"]},{\"url\":\"https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=d64e35a8a4c0e4608321433e0d84d917e4e36371\",\"source\":\"cvd@cert.pl\",\"tags\":[\"Patch\"]}]}}", "redhat_vex": {"aggregate_severity": "Moderate", "current_release_date": "2026-11-24T17:14:04+00:00", "cve": "CVE-2026-56391", "id": "CVE-2026-56391", "initial_release_date": "2026-07-24T07:44:45.581000+00:00", "product_status:fixed": "28", "product_status:known_affected": "15", "product_status:known_not_affected": "24", "product_status:under_investigation": "12", "source": "Red Hat CSAF VEX", "status": "final", "title": "coreutils: GNU coreutils uniq: Denial of Service and information disclosure via out-of-bounds read with multibyte input", "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-56391.json", "version": "3"}, "vulnrichment": {"containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-56391\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-07-24T12:31:16.655541Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-07-24T12:31:22.474Z\"}}], \"cna\": {\"tags\": [\"x_open-source\"], \"title\": \"Out\\u2011of\\u2011bounds Read in GNU coreutils\", \"source\": {\"discovery\": \"EXTERNAL\"}, \"credits\": [{\"lang\": \"en\", \"type\": \"finder\", \"value\": \"Micha\\u0142 Majchrowicz (AFINE Team)\"}, {\"lang\": \"en\", \"type\": \"finder\", \"value\": \"Marcin Wyczechowski (AFINE Team)\"}], \"metrics\": [{\"format\": \"CVSS\", \"cvssV4_0\": {\"Safety\": \"NOT_DEFINED\", \"version\": \"4.0\", \"Recovery\": \"NOT_DEFINED\", \"baseScore\": 4.6, \"Automatable\": \"NOT_DEFINED\", \"attackVector\": \"LOCAL\", \"baseSeverity\": \"MEDIUM\", \"valueDensity\": \"NOT_DEFINED\", \"vectorString\": \"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N\", \"exploitMaturity\": \"NOT_DEFINED\", \"providerUrgency\": \"NOT_DEFINED\", \"userInteraction\": \"ACTIVE\", \"attackComplexity\": \"LOW\", \"attackRequirements\": \"NONE\", \"privilegesRequired\": \"NONE\", \"subIntegrityImpact\": \"NONE\", \"vulnIntegrityImpact\": \"NONE\", \"subAvailabilityImpact\": \"NONE\", \"vulnAvailabilityImpact\": \"LOW\", \"subConfidentialityImpact\": \"NONE\", \"vulnConfidentialityImpact\": \"LOW\", \"vulnerabilityResponseEffort\": \"NOT_DEFINED\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"GENERAL\"}]}], \"affected\": [{\"vendor\": \"GNU\", \"modules\": [\"uniq\"], \"product\": \"coreutils\", \"versions\": [{\"status\": \"affected\", \"version\": \"9.5\", \"versionType\": \"custom\", \"lessThanOrEqual\": \"9.11\"}], \"defaultStatus\": \"unaffected\"}], \"references\": [{\"url\": \"https://cert.pl/en/posts/2026/07/CVE-2026-56391\", \"tags\": [\"third-party-advisory\"]}, {\"url\": \"https://git.savannah.gnu.org/cgit/coreutils.git/\", \"tags\": [\"product\"]}, {\"url\": \"https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=d64e35a8a4c0e4608321433e0d84d917e4e36371\", \"tags\": [\"patch\"]}], \"x_generator\": {\"engine\": \"Vulnogram 0.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"GNU coreutils uniq is vulnerable to an out\\u2011of\\u2011bounds read due to incorrect handling of multibyte input when the -w (--check-chars) option is used. The find_field() function miscalculates the byte length of characters by repeatedly processing a fixed pointer instead of advancing through the input, resulting in an inflated length value. \\nThis incorrect length is later used in a memcmp operation, causing reads beyond the allocated buffer when processing crafted multibyte input.\\n\\nWhen running GNU coreutils uniq with attacker-provided arguments, this behavior leads to a crash and potential adjacent heap memory exposure.\\n\\n\\nThis issue has been fixed in the commit d64e35a8a4c0e4608321433e0d84d917e4e36371.\", \"supportingMedia\": [{\"type\": \"text/html\", \"value\": \"GNU coreutils <i>uniq</i> is vulnerable to an out\\u2011of\\u2011bounds read due to incorrect handling of multibyte input when the <i>-w (--check-chars)</i> option is used. The <i>find_field()</i> function miscalculates the byte length of characters by repeatedly processing a fixed pointer instead of advancing through the input, resulting in an inflated length value. <br>This incorrect length is later used in a memcmp operation, causing reads beyond the allocated buffer when processing crafted multibyte input.<br><br>When running GNU coreutils <i>uniq</i> with attacker-provided arguments, this behavior leads to a crash and potential adjacent heap memory exposure.<br><p>This issue has been fixed in the commit d64e35a8a4c0e4608321433e0d84d917e4e36371.</p>\", \"base64\": false}]}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-125\", \"description\": \"CWE-125 Out-of-bounds Read\"}]}], \"providerMetadata\": {\"orgId\": \"4bb8329e-dd38-46c1-aafb-9bf32bcb93c6\", \"shortName\": \"CERT-PL\", \"dateUpdated\": \"2026-07-24T07:44:45.581Z\"}}}", "cveMetadata": "{\"cveId\": \"CVE-2026-56391\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-07-24T12:31:34.245Z\", \"dateReserved\": \"2026-06-21T11:40:32.790Z\", \"assignerOrgId\": \"4bb8329e-dd38-46c1-aafb-9bf32bcb93c6\", \"datePublished\": \"2026-07-24T07:44:45.581Z\", \"assignerShortName\": \"CERT-PL\"}", "dataType": "CVE_RECORD", "dataVersion": "5.2"}}}
