{
  "affected": [
    {
      "database_specific": {
        "unresolved_ranges": [
          {
            "events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "2021-04-02"
              }
            ]
          },
          {
            "events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "f3b69a6"
              }
            ]
          }
        ]
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7a5e4e242121c839cb77f5b9003e735a852f4e58"
            }
          ],
          "repo": "https://github.com/foxweb/pico",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "e2d172f"
            }
          ],
          "repo": "https://github.com/foxweb/pico",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "route in main.c in Pico HTTP Server in C through f3b69a6 has an sprintf stack-based buffer overflow via a long URI, leading to remote code execution.",
  "id": "CVE-2024-22087",
  "modified": "2026-03-13T21:53:03.923939214Z",
  "published": "2024-01-05T04:15:07.880Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://github.com/foxweb/pico/issues/31"
    },
    {
      "type": "FIX",
      "url": "https://github.com/foxweb/pico/commit/7a5e4e242121c839cb77f5b9003e735a852f4e58"
    },
    {
      "type": "FIX",
      "url": "https://github.com/foxweb/pico/commit/e2d172f"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}