# CVE-2025-69419: Out of bounds write in PKCS12\_get\_friendlyname() UTF-8 conversion

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.4
- **CVSS:** 7.4 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.65% (percentile 46, 2026-11-26)
- **CWE:** CWE-787
- **Published:** 2026-01-27T16:01:24.822Z
- **Modified:** 2026-10-15T01:10:26.835Z

## Who should check

- Anyone running OpenSSL \>= 3.6.0, \< 3.6.1; \>= 3.5.0, \< 3.5.5; \>= 3.4.0, \< 3.4.4; \>= 3.3.0, \< 3.3.6; \>= 3.0.0, \< 3.0.19; \>= 1.1.1, \< 1.1.1ze

## Description

Issue summary: Calling PKCS12\_get\_friendlyname() function on a maliciously
crafted PKCS\#12 file with a BMPString (UTF-16BE) friendly name containing
non-ASCII BMP code point can trigger a one byte write before the allocated
buffer.

Impact summary: The out-of-bounds write can cause a memory corruption
which can have various consequences including a Denial of Service.

The OPENSSL\_uni2utf8() function performs a two-pass conversion of a PKCS\#12
BMPString (UTF-16BE) to UTF-8. In the second pass, when emitting UTF-8 bytes,
the helper function bmp\_to\_utf8() incorrectly forwards the remaining UTF-16
source byte count as the destination buffer capacity to UTF8\_putc(). For BMP
code points above U+07FF, UTF-8 requires three bytes, but the forwarded
capacity can be just two bytes. UTF8\_putc() then returns -1, and this negative
value is added to the output length without validation, causing the
length to become negative. The subsequent trailing NUL byte is then written
at a negative offset, causing write outside of heap allocated buffer.

The vulnerability is reachable via the public PKCS12\_get\_friendlyname() API
when parsing attacker-controlled PKCS\#12 files. While PKCS12\_parse() uses a
different code path that avoids this issue, PKCS12\_get\_friendlyname() directly
invokes the vulnerable function. Exploitation requires an attacker to provide
a malicious PKCS\#12 file to be parsed by the application and the attacker
can just trigger a one zero byte write before the allocated buffer.
For that reason the issue was assessed as Low severity according to our
Security Policy.

The FIPS modules in 3.6, 3.5, 3.4, 3.3 and 3.0 are not affected by this issue,
as the PKCS\#12 implementation is outside the OpenSSL FIPS module boundary.

OpenSSL 3.6, 3.5, 3.4, 3.3, 3.0 and 1.1.1 are vulnerable to this issue.

OpenSSL 1.0.2 is not affected by this issue.

## Affected and fixed versions

- OpenSSL: \>= 3.6.0, \< 3.6.1; \>= 3.5.0, \< 3.5.5; \>= 3.4.0, \< 3.4.4; \>= 3.3.0, \< 3.3.6; \>= 3.0.0, \< 3.0.19; \>= 1.1.1, \< 1.1.1ze (cvelist)

## Mitigation

- Upgrade OpenSSL to 1.1.1ze or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-69419. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-69419.md
Affected: OpenSSL >= 3.6.0, < 3.6.1; >= 3.5.0, < 3.5.5; >= 3.4.0, < 3.4.4; >= 3.3.0, < 3.3.6; >= 3.0.0, < 3.0.19; >= 1.1.1, < 1.1.1ze
Fixed in: OpenSSL 3.6.1, OpenSSL 3.5.5, OpenSSL 3.4.4, OpenSSL 3.3.6, OpenSSL 3.0.19, OpenSSL 1.1.1ze

Steps:
1. Search this machine and project for OpenSSL: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-69419 being exploited?

There is no confirmed exploitation: CVE-2025-69419 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.65% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-69419?

High: CVSS 7.4 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2025-69419?

OpenSSL \>= 3.6.0, \< 3.6.1; \>= 3.5.0, \< 3.5.5; \>= 3.4.0, \< 3.4.4; \>= 3.3.0, \< 3.3.6; \>= 3.0.0, \< 3.0.19; \>= 1.1.1, \< 1.1.1ze.

### Is there a fix for CVE-2025-69419?

Yes. Fixed in OpenSSL 3.6.1, OpenSSL 3.5.5, OpenSSL 3.4.4, OpenSSL 3.3.6, OpenSSL 3.0.19, OpenSSL 1.1.1ze. Upgrade OpenSSL to 1.1.1ze or later.

### How do I check if I'm affected by CVE-2025-69419?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://openssl-library.org/news/secadv/20260127.txt>
- patch: <https://github.com/openssl/openssl/commit/7e9cac9832e4705b91987c2474ed06a37a93cecb>
- patch: <https://github.com/openssl/openssl/commit/ff628933755075446bca8307e8417c14d164b535>
- patch: <https://github.com/openssl/openssl/commit/cda12de3bc0e333ea8d2c6fd15001dbdaf280015>
- patch: <https://github.com/openssl/openssl/commit/a26a90d38edec3748566129d824e664b54bee2e2>
- patch: <https://github.com/openssl/openssl/commit/41be0f216404f14457bbf3b9cc488dba60b49296>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-69419>

HTML: <https://flawdb.com/CVE-2025-69419> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-69419>
