CVE-2025-11187
openssl: OpenSSL: Arbitrary code execution or denial of service through crafted PKCS#12 file
Overview
Description
Issue summary: PBMAC1 parameters in PKCS#12 files are missing validation
which can trigger a stack-based buffer overflow, invalid pointer or NULL
pointer dereference during MAC verification.
Impact summary: The stack buffer overflow or NULL pointer dereference may
cause a crash leading to Denial of Service for an application that parses
untrusted PKCS#12 files. The buffer overflow may also potentially enable
code execution depending on platform mitigations.
When verifying a PKCS#12 file that uses PBMAC1 for the MAC, the PBKDF2
salt and keylength parameters from the file are used without validation.
If the value of keylength exceeds the size of the fixed stack buffer used
for the derived key (64 bytes), the key derivation will overflow the buffer.
The overflow length is attacker-controlled. Also, if the salt parameter is
not an OCTET STRING type this can lead to invalid or NULL pointer
dereference.
Exploiting this issue requires a user or application to process
a maliciously crafted PKCS#12 file. It is uncommon to accept untrusted
PKCS#12 files in applications as they are usually used to store private
keys which are trusted by definition. For this reason the issue was assessed
as Moderate severity.
The FIPS modules in 3.6, 3.5 and 3.4 are not affected by this issue, as
PKCS#12 processing is outside the OpenSSL FIPS module boundary.
OpenSSL 3.6, 3.5 and 3.4 are vulnerable to this issue.
OpenSSL 3.3, 3.0, 1.1.1 and 1.0.2 are not affected by this issue as they do
not support PBMAC1 in PKCS#12.
Source: OX vulnerability database
Severity
6.1 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:H
Weakness: CWE-476, CWE-787
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Julia | OpenSSL_jll | >=3.5.0+0, <3.5.5+0 | 3.5.5+0 |
Open a package to see all its vulnerabilities.
Operating systems · 46 fixes
Oracle Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 9 | openssl +3 | 10:3.5.1-7.0.1.el9_7_fips |
| 9 | openssl +3 | 1:3.5.1-7.0.1.el9_7 |
| 9 | openssl +3 | 2:3.5.1-7.0.1.ksplice1.el9_7 |
Red Hat 3 releases · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | jbcs-httpd24-openssl +1 | affected | — |
| 8 | openshift-ose-rhel-coreos-8 | affected | — |
| 9 | compat-openssl11 +12 | affected | — |
| 9 | openssl +3 | 1:3.5.1-7.el9_7 | RHSA-2026:1473 |
SUSE Linux Enterprise 3 releases · 5 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.6 | openssl-3-livepatches | 0.4-150600.13.11.1 | SUSE-SU-2026:2411-1 |
| 15.7 | openssl-3-livepatches | 0.4-150700.16.6.1 | SUSE-SU-2026:2662-1 |
| 15.7 | nodejs24 +3 | 24.18.1-150700.15.18.1 | SUSE-SU-2026:3835-1 |
| 15.7 | libopenssl-devel +2 | 3.5.0-150700.3.4.1 | SUSE-SU-2026:3835-1 |
| 15.7 | libopenssl-3-devel +5 | 3.5.0-150700.5.45.2 | SUSE-SU-2026:3835-1 |
| 16.0 | openssl-3-livepatches | 0.3-160000.1.1 | SUSE-SU-2026:20607-1 |
2 more rows
SUSE Linux Enterprise Micro 2 releases · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 6.1 | openssl-3-livepatches | 0.4-slfo.1.1_1.1 | SUSE-SU-2026:22143-1 |
| 6.2 | openssl-3-livepatches | 0.3-160000.1.1 | SUSE-SU-2026:20542-1 |
| 6.2 | libopenssl-3-devel +3 | 3.5.0-160000.5.1 | SUSE-SU-2026:20211-1 |
alma 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 9 | openssl +3 | 1:3.5.1-7.el9_7 |
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | openssl | 3.5.5-r0 |
| 3.23 | openssl | 3.5.5-r0 |
| 3.24 | openssl | 3.5.5-r0 |
| edge | openssl | 3.5.5-r0 |
chainguard 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| openssl-provider-fips-3-4-0 +1 | not affected | |
| openssl-3-5 | 3.5.5-r0 | |
| libcrypto3-2-34 +1 | 3.6.1-r0 |
debian 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 13 | openssl | 3.5.4-1~deb13u2 |
| 14 | openssl | 3.5.5-1 |
echo 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| openssl-3-5-0 | 3.5.0+e1 | |
| openssl | 3.5.4-1~deb13u2 |
minimos 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| openssl | 3.5.5-r0 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | libopenssl-3-devel +9 | 3.5.3-2.1 | openSUSE-SU-2026:10237-1 |
openSUSE Leap 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | openssl-3-x86-64-v3-livepatches | 0.3-160000.1.1 | openSUSE-SU-2026:20673-1 |
| 16.0 | libopenssl-3-devel +6 | 3.5.0-160000.5.1 | openSUSE-SU-2026:20152-1 |
rocky 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 10 | openssl +1 | 1:3.5.1-7.el10_1 |
| 9 | openssl +1 | 1:3.5.1-7.el9_7 |
root.io alpine 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.23 | rootio-openssl | 3.5.5-r0 |
seal Red Hat 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | openssl +1 | 1:1.0.2k-25.el7_9+sp999 |
| 7 | openssl +1 | 1:1.0.2k-26.el7_9+sp999 |
| 8 | openssl +1 | 1:1.1.1k-14.el8_6+sp999 |
| 8 | openssl +1 | 1:1.1.1k-6.el8_5+sp999 |
| 9 | openssl +1 | 1:3.2.2-6.el9_5+sp999 |
seal alpine 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| openssl +1 | 3.3.2-r45341999 |
ubuntu 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 22.04 | nodejs | affected |
| 26.04 | openssl | 3.5.5-1ubuntu1 |
wolfi 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| openssl | 3.6.1-r0 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:1472
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:1473
- access.redhat.com https://access.redhat.com/security/cve/CVE-2025-11187
- bugzilla.redhat.com https://bugzilla.redhat.com/2430375
- bugzilla.redhat.com https://bugzilla.redhat.com/2430376
- bugzilla.redhat.com https://bugzilla.redhat.com/2430377
- bugzilla.redhat.com https://bugzilla.redhat.com/2430378
- bugzilla.redhat.com https://bugzilla.redhat.com/2430379
- bugzilla.redhat.com https://bugzilla.redhat.com/2430380
- bugzilla.redhat.com https://bugzilla.redhat.com/2430381
Show all 53 references
- bugzilla.redhat.com https://bugzilla.redhat.com/2430386
- bugzilla.redhat.com https://bugzilla.redhat.com/2430387
- bugzilla.redhat.com https://bugzilla.redhat.com/2430388
- bugzilla.redhat.com https://bugzilla.redhat.com/2430389
- bugzilla.redhat.com https://bugzilla.redhat.com/2430390
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2430375
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2430376
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2430377
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2430378
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2430379
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2430380
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2430381
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2430386
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2430387
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2430388
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2430389
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2430390
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-11187
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-15467
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-15468
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-15469
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-66199
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-68160
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-69418
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-69419
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-69420
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-69421
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-22795
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-22796
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2026-1473.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2026:1472
- github.com https://github.com/advisories/GHSA-hpc7-gcqm-58fv
- github.com https://github.com/metadust/CVE-2025-11187
- github.com https://github.com/openssl/openssl/commit/205e3a55e16e4bd08c12fdbd3416ab829c0f6206
- github.com https://github.com/openssl/openssl/commit/8caf359d6e46fb413e8f5f0df765d2e8a51df4e8
- github.com https://github.com/openssl/openssl/commit/e1079bc17ed93ff16f6b86f33a2fe3336e78817e
- linux.oracle.com https://linux.oracle.com/cve/CVE-2025-11187.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2026-50081.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2025-11187
- openssl-library.org https://openssl-library.org/news/secadv/20260127.txt
- ubuntu.com https://ubuntu.com/security/notices/USN-7980-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2025-11187
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.