{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.26.2"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "ec4949cc8d2887c9d19d97b44b9236b8b88a8a7b"
            }
          ],
          "repo": "https://github.com/EVerest/libocpp",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "253432ae7458ad0445f68f9d716086090c2be49c"
            }
          ],
          "repo": "https://github.com/everest/everest",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "fb391b4ff16a0a07150e5a8eebf0856fb6623cbe"
            }
          ],
          "repo": "https://github.com/everest/libocpp",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "The OCPP implementation in libocpp before 0.26.2 allows a denial of service (EVerest crash) via JSON input larger than 255 characters, because a CiString\u003c255\u003e object is created with StringTooLarge set to Throw.",
  "id": "CVE-2025-59398",
  "modified": "2026-04-01T23:10:03.162378445Z",
  "published": "2025-09-15T19:15:36.133Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/EVerest/libocpp/compare/v0.26.1...v0.26.2"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/EVerest/everest-core/issues/1152"
    },
    {
      "type": "FIX",
      "url": "https://github.com/EVerest/everest-core/commit/253432ae7458ad0445f68f9d716086090c2be49c"
    },
    {
      "type": "FIX",
      "url": "https://github.com/EVerest/libocpp/commit/fb391b4ff16a0a07150e5a8eebf0856fb6623cbe"
    },
    {
      "type": "FIX",
      "url": "https://github.com/EVerest/libocpp/pull/1052"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L",
      "type": "CVSS_V3"
    }
  ]
}