{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "2.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "a29d7cf5570f6da638d012c78676d51df97792c4"
            }
          ],
          "repo": "https://github.com/libcsp/libcsp",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "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.",
  "id": "CVE-2025-51823",
  "modified": "2026-03-10T21:47:17.761829800Z",
  "published": "2025-08-11T19:15:28.360Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/libcsp/libcsp/issues/850"
    },
    {
      "type": "FIX",
      "url": "https://github.com/libcsp/libcsp/pull/852"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N",
      "type": "CVSS_V3"
    }
  ]
}