p PatchFirst

CVE-2025-15467

CVE-2025-15467 · Stack buffer overflow in CMS (Auth)EnvelopedData parsing

This page contains facts from public vulnerability sources. Check the original advisory before updating.

This page shows selected source facts. See the linked advisories for the complete description and affected versions.

Issue summary: Parsing CMS AuthEnvelopedData or EnvelopedData message with maliciously crafted AEAD parameters can trigger a stack buffer overflow. Impact summary: A stack buffer overflow may lead to a crash, causing Denial of Service, or potentially remote code execution. When parsing CMS (Auth)EnvelopedData structures that use AEAD ciphers such as AES-GCM, the IV (Initialization Vector) encoded in the ASN.1 parameters is copied into a fixed-size stack buffer without verifying that its length fits the destination. An attacker can supply a crafted CMS message with an oversized IV, causing a stack-based out-of-bounds write before any authentication or tag verification occurs. Applications and services that parse untrusted CMS or PKCS#7 content using AEAD ciphers (e.g., S/MIME (Auth)EnvelopedData with AES-GCM) are vulnerable. Because the overflow occurs prior to authentication, no valid key material is required to trigger it. While exploitability to remote code execution depends on platform and toolchain mitigations, the stack-based write primitive represents a severe risk. The FIPS modules in 3.6, 3.5, 3.4, 3.3 and 3.0 are not affected by this issue, as the CMS implementation is outside the OpenSSL FIPS module boundary. OpenSSL 3.6, 3.5, 3.4, 3.3 and 3.0 are vulnerable to this issue. OpenSSL 1.1.1 and 1.0.2 are not affected by this issue.

CVSS 8.8 · High · EPSS 55.9% · Fix available

Published
Updated

Stack: system · network

Affected products and versions

  • openssl

    Versions
    • ≥ 3.6.0, < 3.6.1: Affected (semver)
    • ≥ 3.5.0, < 3.5.5: Affected (semver)
    • ≥ 3.4.0, < 3.4.4: Affected (semver)
    • ≥ 3.3.0, < 3.3.6: Affected (semver)
    • ≥ 3.0.0, < 3.0.19: Affected (semver)

    Update to 3.0.19; Update to 3.3.6; Update to 3.4.4; Update to 3.5.5; Update to 3.6.1

  • openssl Debian:12

    Versions
    • 3.0.10-1
    • 3.0.10-1~deb12u1
    • 3.0.11-1
    • 3.0.11-1~deb12u1
    • 3.0.11-1~deb12u2
    • 3.0.12-1
    • 3.0.12-2
    • 3.0.13-1~deb12u1
    • 3.0.13-1~deb12u2
    • 3.0.14-1~deb12u1
    • 3.0.14-1~deb12u2
    • 3.0.15-1~deb12u1
    • 3.0.16-1~deb12u1
    • 3.0.17-1~deb12u1
    • 3.0.17-1~deb12u2
    • 3.0.17-1~deb12u3
    • 3.0.18-1~deb12u1
    • 3.0.9-1
    Affected ranges
    • ECOSYSTEM: < 3.0.18-1~deb12u2

    Update to 3.0.18-1~deb12u2

  • openssl Debian:13

    Versions
    • 3.5.1-1
    • 3.5.1-1+deb13u1
    • 3.5.2-1
    • 3.5.3-1
    • 3.5.4-1~deb13u1
    Affected ranges
    • ECOSYSTEM: < 3.5.4-1~deb13u2

    Update to 3.5.4-1~deb13u2

  • openssl Debian:14

    Versions
    • 3.5.1-1
    • 3.5.2-1
    • 3.5.3-1
    • 3.5.4-1
    • 3.5.4-1~deb13u1
    • 3.5.4-1~deb13u2
    • 3.5.5-1~deb13u1
    • 3.5.5-1~deb13u2
    Affected ranges
    • ECOSYSTEM: < 3.5.5-1

    Update to 3.5.5-1

  • nodejs Ubuntu:Pro:16.04:LTS

    Versions
    • 0.10.25~dfsg2-2ubuntu1
    • 4.2.2~dfsg-1
    • 4.2.3~dfsg-1
    • 4.2.4~dfsg-1ubuntu1
    • 4.2.4~dfsg-2
    • 4.2.6~dfsg-1ubuntu1
    • 4.2.6~dfsg-1ubuntu4
    • 4.2.6~dfsg-1ubuntu4.1
    • 4.2.6~dfsg-1ubuntu4.2
    • 4.2.6~dfsg-1ubuntu4.2+esm1
    • 4.2.6~dfsg-1ubuntu4.2+esm2
    • 4.2.6~dfsg-1ubuntu4.2+esm3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • nodejs Ubuntu:Pro:18.04:LTS

    Versions
    • 6.11.4~dfsg-1ubuntu1
    • 6.11.4~dfsg-1ubuntu2
    • 6.12.0~dfsg-1ubuntu1
    • 6.12.0~dfsg-2ubuntu1
    • 6.12.0~dfsg-2ubuntu2
    • 8.10.0~dfsg-2
    • 8.10.0~dfsg-2ubuntu0.2
    • 8.10.0~dfsg-2ubuntu0.3
    • 8.10.0~dfsg-2ubuntu0.4
    • 8.10.0~dfsg-2ubuntu0.4+esm1
    • 8.10.0~dfsg-2ubuntu0.4+esm2
    • 8.10.0~dfsg-2ubuntu0.4+esm3
    • 8.10.0~dfsg-2ubuntu0.4+esm4
    • 8.10.0~dfsg-2ubuntu0.4+esm5
    • 8.10.0~dfsg-2ubuntu0.4+esm6
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • openssl Ubuntu:22.04:LTS

    Versions
    • 1.1.1l-1ubuntu1
    • 3.0.0-1ubuntu1
    • 3.0.1-0ubuntu1
    • 3.0.2-0ubuntu1
    • 3.0.2-0ubuntu1.1
    • 3.0.2-0ubuntu1.2
    • 3.0.2-0ubuntu1.4
    • 3.0.2-0ubuntu1.5
    • 3.0.2-0ubuntu1.6
    • 3.0.2-0ubuntu1.7
    • 3.0.2-0ubuntu1.8
    • 3.0.2-0ubuntu1.9
    • 3.0.2-0ubuntu1.10
    • 3.0.2-0ubuntu1.12
    • 3.0.2-0ubuntu1.13
    • 3.0.2-0ubuntu1.14
    • 3.0.2-0ubuntu1.15
    • 3.0.2-0ubuntu1.16
    • 3.0.2-0ubuntu1.17
    • 3.0.2-0ubuntu1.18
    • 3.0.2-0ubuntu1.19
    • 3.0.2-0ubuntu1.20
    Affected ranges
    • ECOSYSTEM: < 3.0.2-0ubuntu1.21

    Update to 3.0.2-0ubuntu1.21

  • openssl Ubuntu:Pro:FIPS-preview:22.04:LTS

    Versions
    • 3.0.2-0ubuntu1.10+Fips1
    • 3.0.2-0ubuntu1.12+Fips1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • openssl-fips Ubuntu:Pro:FIPS-preview:22.04:LTS

    Versions
    • 3.0.5-0ubuntu0.1+Fips2.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • openssl Ubuntu:Pro:FIPS-updates:22.04:LTS

    Versions
    • 3.0.2-0ubuntu1.10+Fips1
    • 3.0.2-0ubuntu1.12+Fips1
    • 3.0.2-0ubuntu1.14+Fips1
    • 3.0.2-0ubuntu1.15+Fips1
    • 3.0.2-0ubuntu1.16+Fips1
    • 3.0.2-0ubuntu1.17+Fips1
    • 3.0.2-0ubuntu1.18+Fips1
    • 3.0.2-0ubuntu1.19+Fips1
    • 3.0.2-0ubuntu1.20+Fips1
    Affected ranges
    • ECOSYSTEM: < 3.0.2-0ubuntu1.21+Fips1

    Update to 3.0.2-0ubuntu1.21+Fips1

  • openssl-fips Ubuntu:Pro:FIPS-updates:22.04:LTS

    Versions
    • 3.0.5-0ubuntu0.1+Fips2.1
    • 3.0.5-0ubuntu0.2+Fips1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • edk2 Ubuntu:24.04:LTS

    Versions
    • 2023.05-2
    • 2023.11-2
    • 2023.11-3
    • 2023.11-4
    • 2023.11-5
    • 2023.11-6
    • 2023.11-8
    • 2024.02-1
    • 2024.02-2
    • 2024.02-2ubuntu0.1
    • 2024.02-2ubuntu0.3
    • 2024.02-2ubuntu0.4
    • 2024.02-2ubuntu0.5
    • 2024.02-2ubuntu0.6
    • 2024.02-2ubuntu0.7
    • 2024.02-2ubuntu0.8
    • 2024.02-2ubuntu0.9
    • 2024.02-2ubuntu0.10
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • openssl Ubuntu:24.04:LTS

    Versions
    • 3.0.10-1ubuntu2
    • 3.0.10-1ubuntu2.1
    • 3.0.10-1ubuntu3
    • 3.0.10-1ubuntu4
    • 3.0.13-0ubuntu2
    • 3.0.13-0ubuntu3
    • 3.0.13-0ubuntu3.1
    • 3.0.13-0ubuntu3.2
    • 3.0.13-0ubuntu3.3
    • 3.0.13-0ubuntu3.4
    • 3.0.13-0ubuntu3.5
    • 3.0.13-0ubuntu3.6
    Affected ranges
    • ECOSYSTEM: < 3.0.13-0ubuntu3.7

    Update to 3.0.13-0ubuntu3.7

  • openssl-fips Ubuntu:Pro:FIPS-updates:24.04:LTS

    Versions
    • 3.0.13-0ubuntu3+Fips1
    • 3.0.13-0ubuntu3.6+Fips1
    Affected ranges
    • ECOSYSTEM: < 3.0.13-0ubuntu3.12+Fips1

    Update to 3.0.13-0ubuntu3.12+Fips1

  • edk2 Ubuntu:25.10

    Versions
    • 2025.02-3ubuntu2
    • 2025.02-8
    • 2025.02-8ubuntu1
    • 2025.02-8ubuntu2
    • 2025.02-8ubuntu3
    • 2025.02-8ubuntu3.1
    • 2025.02-8ubuntu3.2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • openssl Ubuntu:25.10

    Versions
    • 3.4.1-1ubuntu3
    • 3.5.0-2ubuntu1
    • 3.5.2-1ubuntu1
    • 3.5.3-1ubuntu2
    Affected ranges
    • ECOSYSTEM: < 3.5.3-1ubuntu3

    Update to 3.5.3-1ubuntu3

  • edk2 Ubuntu:26.10

    Versions
    • 2025.11-3ubuntu7
    • 2025.11-3ubuntu8
    • 2026.05-2ubuntu1
    • 2026.05-2ubuntu2
    • 2026.05-2ubuntu3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • edk2-hwe Ubuntu:26.10

    Versions
    • 2025.11-3ubuntu8
    • 2025.11-3ubuntu9
    • 2026.05-2ubuntu1
    • 2026.05-2ubuntu2
    • 2026.05-2ubuntu3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • edk2 Ubuntu:26.04:LTS

    Versions
    • 2025.02-8ubuntu3
    • 2025.11-3ubuntu6
    • 2025.11-3ubuntu7
    • 2025.11-3ubuntu7.2
    • 2025.11-3ubuntu7.3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • edk2-hwe Ubuntu:26.04:LTS

    Versions
    • 2025.11-3ubuntu6
    • 2025.11-3ubuntu8
    • 2025.11-3ubuntu8.2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • openssl Ubuntu:26.04:LTS

    Versions
    • 3.5.3-1ubuntu2
    Affected ranges
    • ECOSYSTEM: < 3.5.5-1ubuntu1

    Update to 3.5.5-1ubuntu1

Original sources

Check your server →