{"id":"CVE-2025-51823","sourceIdentifier":"cve@mitre.org","published":"2025-08-11T19:15:28.360","lastModified":"2026-06-17T09:35:50.667","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"libcsp 2.0 is vulnerable to Buffer Overflow in the csp_eth_init() function due to improper handling of the ifname parameter. The function uses strcpy to copy the interface name into a structure member (ctx->name) without validating the input length."},{"lang":"es","value":"libcsp 2.0 es vulnerable a desbordamiento de búfer en la función csp_eth_init() debido al manejo incorrecto del parámetro ifname. La función usa strcpy para copiar el nombre de la interfaz en un miembro de la estructura (ctx-&gt;name) sin validar la longitud de la entrada."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N","baseScore":6.5,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"HIGH","availabilityImpact":"NONE"},"exploitabilityScore":2.2,"impactScore":4.2}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2025-08-11T19:26:10.998854Z","id":"CVE-2025-51823","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","description":[{"lang":"en","value":"CWE-120"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:libcsp:libcsp:2.0:*:*:*:*:*:*:*","matchCriteriaId":"8702E1D9-7F60-47B7-B69C-7C177D3ACE3B"}]}]}],"references":[{"url":"https://github.com/libcsp/libcsp/issues/850","source":"cve@mitre.org","tags":["Third Party Advisory"]},{"url":"https://github.com/libcsp/libcsp/pull/852","source":"cve@mitre.org","tags":["Patch"]}]}