{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "3.4.0"
              },
              {
                "fixed": "3.6.6"
              },
              {
                "introduced": "4.0.0-beta"
              },
              {
                "fixed": "4.0.0-rc1"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "f3e0d5333913bcaace4c8f8711871550accca63f"
            },
            {
              "introduced": "985272ff3d7ebc5e9f24ad9f8fcf8b1d2549f1b6"
            },
            {
              "fixed": "26c0c4e3364806e77c2915b1c3e03bf9bd90dccd"
            },
            {
              "fixed": "b3621031661ed10d6af511d7c41f512075357a00"
            },
            {
              "fixed": "4d23613b65579b073784a07a65d3bf52443a4efb"
            },
            {
              "fixed": "5f103effaf5f372cccffe0b138f16998eba12668"
            }
          ],
          "repo": "https://github.com/opensips/opensips",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-chxf-9368-fqcp"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-125"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45705.json"
  },
  "details": "OpenSIPS is a Session Initiation Protocol (SIP) server implementation. In versions prior to 3.6.6 and 4.0.0-rc1, the find_line_delimiter() function in the multipart body parser performs an out-of-bounds read via strncmp() when searching for MIME boundary delimiters. After finding a -- pattern near the end of the body, the function compares delimiter.len bytes (typically 20-70) starting from a position at or past the logical end of the body buffer, reading past the body boundary. The bug triggers when a SIP message has Content-Type: multipart/mixed with a boundary parameter and its body contains -- within two to three bytes of the body's end without being followed by the actual boundary delimiter. This issue has been fixed in versions 3.6.6 and 4.0.0-rc1.",
  "id": "CVE-2026-45705",
  "modified": "2026-08-07T11:31:28.054496663Z",
  "published": "2026-08-04T23:16:31.543Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45705.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/OpenSIPS/opensips/security/advisories/GHSA-chxf-9368-fqcp"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-45705"
    },
    {
      "type": "FIX",
      "url": "https://github.com/OpenSIPS/opensips/commit/4d23613b65579b073784a07a65d3bf52443a4efb"
    },
    {
      "type": "FIX",
      "url": "https://github.com/OpenSIPS/opensips/commit/5f103effaf5f372cccffe0b138f16998eba12668"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "OpenSIPS: OOB Read in Multipart Body Boundary Parsing"
}