{"id":"CVE-2025-51823","aliases":["EUVD-2025-24163","GHSA-mmm3-jq63-7mw5","UBUNTU-CVE-2025-51823"],"status":"published","title":"libcsp 2.0 is vulnerable to Buffer Overflow in the csp_eth_init() function due to improper...","description":"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-\u003ename) without validating the input length.","severity":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N","level":"medium","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-12","score":0.00302,"percentile":0.23288,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-120"],"published":"2025-08-11T00:00:00Z","modified":"2026-10-28T02:30:30Z","affected":[{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"libcsp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4+fdd49b7+dfsg-3","1.4+fdd49b7+dfsg-3build1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"libcsp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4+fdd49b7+dfsg-3build1"]}],"products":[{"vendor":"libcsp","product":"libcsp"}],"references":[{"url":"https://github.com/libcsp/libcsp/issues/850","tags":["Third Party Advisory","report"]},{"url":"https://github.com/libcsp/libcsp/pull/852","tags":["Patch","fix","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-51823","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-mmm3-jq63-7mw5"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/51xxx/CVE-2025-51823.json","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-51823","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-51823","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2025-51823","description":"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-\u003ename) without validating the input length.","status":"published","published":"2025-08-11T00:00:00Z","modified":"2025-08-11T19:27:14.575Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N","level":"medium","assessor":"adp"}],"cwes":["CWE-120"],"updated_at":"2026-11-02T14:32:30.302289Z"}],"euvd":[{"id":"EUVD-2025-24163","description":"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-\u003ename) without validating the input length.","status":"published","published":"2025-08-11T00:00:00Z","modified":"2025-08-11T19:27:14Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T20:31:59.474585Z"}],"ghsa":[{"id":"GHSA-mmm3-jq63-7mw5","title":"libcsp 2.0 is vulnerable to Buffer Overflow in the csp_eth_init() function due to improper...","description":"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-\u003ename) without validating the input length.","status":"published","published":"2025-08-11T21:31:39Z","modified":"2025-08-11T21:31:46Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N","level":"medium"}],"cwes":["CWE-120"],"updated_at":"2026-11-02T15:03:14.349614Z"}],"nvd":[{"id":"CVE-2025-51823","description":"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-\u003ename) without validating the input length.","status":"published","published":"2025-08-11T19:15:28.36Z","modified":"2026-06-17T09:35:50.667Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-120"],"updated_at":"2026-11-02T14:11:22.953396Z"}],"osv":[{"id":"CVE-2025-51823","description":"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-\u003ename) without validating the input length.","status":"published","published":"2025-08-11T00:00:00Z","modified":"2026-10-28T02:30:30.609214769Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:50.45326Z"},{"id":"UBUNTU-CVE-2025-51823","description":"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-\u003ename) without validating the input length.","status":"published","published":"2025-08-11T19:15:00Z","modified":"2026-04-22T16:04:23.46309Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T16:55:50.31802Z"}]}}
