{"id":"CVE-2026-12087","aliases":[],"cve":{"records":[{"id":"CVE-2026-12087","source":"CPANSec","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-06-12T13:29:50.478Z","published":"2026-06-15T21:11:09.876Z","modified":"2026-11-10T12:40:44.161Z"}],"publishers":[{"name":"CPANSec","role":"CNA","organizationId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","modified":"2026-06-15T21:11:09.876Z"},{"name":"CVE","role":"ADP","organizationId":"af854a3a-2127-422b-91ae-364da2661108","modified":"2026-06-15T23:33:50.725Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-06-16T15:59:27.883Z"},{"name":"siemens-SADP","role":"ADP","organizationId":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","modified":"2026-11-10T12:40:44.161Z"}],"references":[{"url":"https://metacpan.org/release/PEVANS/Socket-2.041/changes","tags":["release-notes"],"source":"CPANSec"},{"url":"https://github.com/Perl/perl5/commit/de19a0b0ad1900fef976c5c1400bd8f11ec6c6cb.patch","tags":["patch"],"source":"CPANSec"},{"url":"http://www.openwall.com/lists/oss-security/2026/06/15/10","tags":[],"source":"CVE"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[],"source":"siemens-SADP"}],"weaknesses":[{"id":"CWE-125","description":"CWE-125 Out-of-bounds Read","source":"CPANSec"},{"id":"CWE-805","description":"CWE-805 Buffer Access with Incorrect Length Value","source":"CPANSec"}],"applicability":[],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-06-16T15:43:23.064154Z","decisions":[{"name":"Exploitation","value":"none"},{"name":"Automatable","value":"yes"},{"name":"Technical Impact","value":"partial"}]}]},"title":"Socket versions before 2.041 for Perl have an out-of-bounds heap read","titleSource":"CPANSec","descriptionSource":"CPANSec","description":"Socket versions before 2.041 for Perl have an out-of-bounds heap read.\n\nIn Socket.xs, pack_ip_mreq_source() checks the length of its source argument before the argument is read, so the check tests the byte length carried over from the preceding multiaddr argument instead. Both addresses occupy a 4-byte field, so a valid multiaddr lets a source of any length pass the check, and the source is then copied into the 4-byte imr_sourceaddr field with a fixed-size copy. A source shorter than 4 bytes is not rejected, and the copy reads up to 3 bytes past the end of its buffer.\n\nCalling pack_ip_mreq_source() with a source value shorter than 4 bytes copies adjacent heap memory into the returned packed structure.","score":9.1,"severity":"critical","published":"2026-06-15T21:11:09.876Z","modified":"2026-11-10T12:40:44.161Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"PEVANS","name":"Socket","platforms":[],"versions":[{"version":"0","status":"affected","lessThan":"2.041","versionType":"custom"}],"defaultStatus":"unaffected","cpes":[],"source":"CPANSec","url":"https://www.cve.org/CVERecord?id=CVE-2026-12087"},{"vendor":"Siemens","name":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0)","platforms":[],"versions":[{"version":"V3.1.7","status":"affected","lessThan":"*","versionType":"custom"}],"defaultStatus":"unknown","cpes":[],"source":"siemens-SADP","url":"https://www.cve.org/CVERecord?id=CVE-2026-12087"},{"vendor":"Siemens","name":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0)","platforms":[],"versions":[{"version":"V3.1.7","status":"affected","lessThan":"*","versionType":"custom"}],"defaultStatus":"unknown","cpes":[],"source":"siemens-SADP","url":"https://www.cve.org/CVERecord?id=CVE-2026-12087"},{"vendor":"Siemens","name":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)","platforms":[],"versions":[{"version":"V3.1.7","status":"affected","lessThan":"*","versionType":"custom"}],"defaultStatus":"unknown","cpes":[],"source":"siemens-SADP","url":"https://www.cve.org/CVERecord?id=CVE-2026-12087"},{"vendor":"Siemens","name":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0)","platforms":[],"versions":[{"version":"V3.1.7","status":"affected","lessThan":"*","versionType":"custom"}],"defaultStatus":"unknown","cpes":[],"source":"siemens-SADP","url":"https://www.cve.org/CVERecord?id=CVE-2026-12087"},{"vendor":"Siemens","name":"SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0)","platforms":[],"versions":[{"version":"V3.1.7","status":"affected","lessThan":"*","versionType":"custom"}],"defaultStatus":"unknown","cpes":[],"source":"siemens-SADP","url":"https://www.cve.org/CVERecord?id=CVE-2026-12087"}],"remediation":[{"text":"Upgrade to version 2.041 or later.","source":"CPANSec","url":"https://www.cve.org/CVERecord?id=CVE-2026-12087"}],"references":["https://metacpan.org/release/PEVANS/Socket-2.041/changes","https://github.com/Perl/perl5/commit/de19a0b0ad1900fef976c5c1400bd8f11ec6c6cb.patch","http://www.openwall.com/lists/oss-security/2026/06/15/10","https://cert-portal.siemens.com/productcert/html/ssa-457936.html"],"sources":[{"name":"CVE","id":"CVE-2026-12087","modified":"2026-11-10T12:40:44.161Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-12087"}],"assessments":[{"source":"CISA-ADP","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1}],"sourceAffected":[],"observedAt":"2026-11-10T12:47:42.243Z","kev":{"status":"not-listed","checkedAt":"2026-11-22T12:40:33.492Z"},"coverage":[{"source":"NVD","status":"refresh-failed","attemptedAt":"2026-11-15T07:11:00.713Z"},{"source":"GHSA","status":"available","checkedAt":"2026-11-15T06:50:31.368Z","attemptedAt":"2026-11-15T06:50:31.368Z"},{"source":"EUVD","status":"available","checkedAt":"2026-11-15T06:50:32.916Z","attemptedAt":"2026-11-15T06:50:32.916Z"},{"source":"EPSS","status":"available","checkedAt":"2026-11-15T06:45:33.863Z","attemptedAt":"2026-11-15T06:45:33.863Z"}],"evidence":[{"source":"FIRST EPSS","id":"CVE-2026-12087","url":"https://www.first.org/epss/","probability":0.00594,"percentile":0.48964,"date":"2026-11-14","checkedAt":"2026-11-15T06:45:33.863Z"},{"source":"GitHub Advisory Database","id":"GHSA-q5cv-5vf6-95gp","url":"https://github.com/advisories/GHSA-q5cv-5vf6-95gp","modified":"2026-11-10T15:32:44Z","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","checkedAt":"2026-11-15T06:50:31.368Z"},{"source":"ENISA EUVD","id":"EUVD-2026-37009","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-37009","modified":"Nov 10, 2026, 12:40:44 PM","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","checkedAt":"2026-11-15T06:50:32.916Z"}],"aiSummary":{"text":"Socket versions before 2.041 for Perl have an out-of-bounds heap read. The vulnerability occurs when pack_ip_mreq_source() copies a source value shorter than 4 bytes into the imr_sourceaddr field. This may read adjacent heap memory into the returned packed structure.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-11-10T15:16:23.813Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-12087"}]}}