CVE-2019-12406: Potential DOS attack due to unrestricted attachment count in messages in Apache CXF

org.apache.cxf:cxf Updated 02 Oct 2025

Summary

08/11/2019
Yes i
Moderate
6.5

CVE-2019-12406: Potential DOS attack due to unrestricted attachment count in messages. Affects org.apache.cxf:cxf across 2 version ranges.

< 3.2.11 >= 3.3.0, < 3.3.4

Fixed in 3.2.11 or 3.3.4, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Apache CXF is an open-source, fully featured web services framework that helps users build and develop services using frontend programming APIs. It provides a standards-based programming model and supports various protocols such as SOAP, XML/HTTP, RESTful HTTP, and more. This vulnerability affects versions before 3.3.4 and 3.2.11 of Apache CXF, where the number of message attachments in a given message is not restricted. This opens up the possibility of a denial of service (DOS) attack, where a malicious user can create a message with an excessive number of attachments, potentially overwhelming the system and causing it to become unresponsive.

Vulnerability Detail

The vulnerability arises from the lack of restriction on the number of message attachments in Apache CXF. Prior to the 3.3.4 and 3.2.11 releases, there was no default limit on the attachment count. This allowed an attacker to craft a message with a large number of attachments, potentially leading to a DOS attack. To mitigate this issue, the 3.3.4 and 3.2.11 releases enforce a default limit of 50 message attachments, which can also be configured using the message property 'attachment-max-count'. The Common Vulnerabilities and Exposures (CVE) identifier for this vulnerability is CVE-2019-12406.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 3.2.11 3.2.11
  • >= 3.3.0, < 3.3.4 3.3.4

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. It is advised to upgrade to the fixed versions of Apache CXF as mentioned in the 'how_to_fix' section.

Conclusion

In conclusion, the vulnerability in Apache CXF before versions 3.3.4 and 3.2.11 allows for a potential denial of service (DOS) attack by exploiting the lack of restriction on the number of message attachments. To mitigate this issue, it is crucial to upgrade to the fixed versions of Apache CXF and configure the 'attachment-max-count' property appropriately. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.apache.cxf:cxf →

Share this vulnerability

FAQ

Apache CXF is an open-source web services framework that allows users to build and develop services using various protocols.

This vulnerability can potentially lead to a denial of service (DOS) attack by overwhelming the system with a large number of message attachments.

To fix this vulnerability, upgrade to Apache CXF version 3.3.4 or 3.2.11, which enforce a default limit on the number of message attachments.

No specific workaround is mentioned for this vulnerability. It is recommended to upgrade to the fixed versions of Apache CXF.

The CVE identifier for this vulnerability is CVE-2019-12406.

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.cxf:cxf.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 3.2.11 3.2.11
  • >= 3.3.0, < 3.3.4 3.3.4

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback