{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "4.1.7"
              },
              {
                "introduced": "4.2.0"
              },
              {
                "fixed": "4.2.2"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "82e9f60f994a7fad2d89f3c94e9090a4a8990c70"
            },
            {
              "introduced": "04ccbfd709eef8f4af53d6237514fbe9db7ea81f"
            },
            {
              "fixed": "d2b2776cd44a8d2f391194d90f50ce7b3d61a1f6"
            }
          ],
          "repo": "https://github.com/apache/cxf",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "apache",
    "cwe_ids": [
      "CWE-400"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50645.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "4.2.0"
          },
          {
            "fixed": "4.2.2"
          },
          {
            "fixed": "4.1.7"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "There is no restriction on the amount of attachment headers that a message can contain when being deserialized by Apache CXF, which can lead to uncontrolled resource consumption or a denial of service attack. Users are recommended to upgrade to versions 4.2.2 or 4.1.7, which fix this issue by imposing a maximum default of 500 attachments per message.",
  "id": "CVE-2026-50645",
  "modified": "2026-07-15T01:48:55.217800413Z",
  "published": "2026-06-12T09:06:54.819Z",
  "references": [
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2026/06/11/12"
    },
    {
      "type": "WEB",
      "url": "https://repo.maven.apache.org/maven2"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50645.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://lists.apache.org/thread/24zb7cqcvykhwm0j797dmdq25s61mj93"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-50645"
    }
  ],
  "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:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Apache CXF: No restriction on attachment headers per message"
}