
Working DoS for CVE-2025-15467 and a docker container to test against
Stack buffer overflow in OpenSSL CMS AuthEnvelopedData parsing.
A stack buffer overflow exists in evp_cipher_get_asn1_aead_params() when parsing AEAD cipher parameters (e.g., AES-GCM) in CMS AuthEnvelopedData content. An oversized IV overflows a 16-byte stack buffer, allowing denial of service and potentially remote code execution.
| Branch | Vulnerable | Fixed |
|---|---|---|
| 3.6.x | 3.6.0 | 3.6.1+ |
| 3.5.x | 3.5.0-3.5.4 | 3.5.5+ |
| 3.4.x | 3.4.0-3.4.3 | 3.4.4+ |
| 3.3.x | 3.3.0-3.3.5 | 3.3.6+ |
| 3.0.x | 3.0.0-3.0.18 | 3.0.19+ |
OpenSSL 1.x is not affected.
.
├── README.md
├── dos.py # DoS exploit
└── vulnerable_service/
├── Dockerfile # Builds vulnerable test service
├── entrypoint.sh # Container entrypoint
└── cms_server.c # Vulnerable HTTP CMS parser
cd vulnerable_service
docker build -t vuln-cms .
docker run --rm -p 8080:8080 --privileged vuln-cms
python3 dos.py <host> <port>
# Example:
python3 dos.py localhost 8080