{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "7.22"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "b55de8b151d1466a3e41d1f854f22eeb6faa23dc"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "7.22",
                "range": [
                  {
                    "fixed": "c288ac1f38424ffdd4d2fd5e1893fd4962642db3"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "c288ac1f38424ffdd4d2fd5e1893fd4962642db3"
            },
            {
              "fixed": "b55de8b151d1466a3e41d1f854f22eeb6faa23dc"
            }
          ],
          "repo": "https://github.com/cesanta/mongoose",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-cjmx-764f-286c"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-125",
      "CWE-158"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/115xxx/CVE-2026-115473.json"
  },
  "details": "Mongoose is an embedded web server and network library. Prior to 7.22, mg_path_is_sane in src/util.c read path.buf[1] without first requiring path.len to be at least two and read s[2] when only two bytes remained. Unauthenticated remote requests reaching mg_http_upload or mg_http_serve_dir with the affected short path shapes could therefore trigger one-byte heap out-of-bounds reads. On bare-metal or RTOS targets without memory protection, the adjacent byte could be exposed or influence whether a path was accepted, and instrumented builds could crash. This issue is fixed in version 7.22.",
  "id": "CVE-2026-115473",
  "modified": "2026-11-27T19:45:34.779783270Z",
  "published": "2026-11-04T21:40:39.470Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/cesanta/mongoose/releases/tag/7.22"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/115xxx/CVE-2026-115473.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/cesanta/mongoose/security/advisories/GHSA-cjmx-764f-286c"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-115473"
    },
    {
      "type": "FIX",
      "url": "https://github.com/cesanta/mongoose/commit/b55de8b151d1466a3e41d1f854f22eeb6faa23dc"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Mongoose: Heap OOB reads and null-byte bypass in mg_path_is_sane (util.c)"
}