{"id":"CVE-2025-69419","revision":null,"records":[{"revision":"93892935990f4834bcee5c9ab0c332bf","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2025-69419","aliases":[],"title":"Out of bounds write in PKCS12_get_friendlyname() UTF-8 conversion","description":"Issue summary: Calling PKCS12_get_friendlyname() function on a maliciously\ncrafted PKCS#12 file with a BMPString (UTF-16BE) friendly name containing\nnon-ASCII BMP code point can trigger a one byte write before the allocated\nbuffer.\n\nImpact summary: The out-of-bounds write can cause a memory corruption\nwhich can have various consequences including a Denial of Service.\n\nThe OPENSSL_uni2utf8() function performs a two-pass conversion of a PKCS#12\nBMPString (UTF-16BE) to UTF-8. In the second pass, when emitting UTF-8 bytes,\nthe helper function bmp_to_utf8() incorrectly forwards the remaining UTF-16\nsource byte count as the destination buffer capacity to UTF8_putc(). For BMP\ncode points above U+07FF, UTF-8 requires three bytes, but the forwarded\ncapacity can be just two bytes. UTF8_putc() then returns -1, and this negative\nvalue is added to the output length without validation, causing the\nlength to become negative. The subsequent trailing NUL byte is then written\nat a negative offset, causing write outside of heap allocated buffer.\n\nThe vulnerability is reachable via the public PKCS12_get_friendlyname() API\nwhen parsing attacker-controlled PKCS#12 files. While PKCS12_parse() uses a\ndifferent code path that avoids this issue, PKCS12_get_friendlyname() directly\ninvokes the vulnerable function. Exploitation requires an attacker to provide\na malicious PKCS#12 file to be parsed by the application and the attacker\ncan just trigger a one zero byte write before the allocated buffer.\nFor that reason the issue was assessed as Low severity according to our\nSecurity Policy.\n\nThe FIPS modules in 3.6, 3.5, 3.4, 3.3 and 3.0 are not affected by this issue,\nas the PKCS#12 implementation is outside the OpenSSL FIPS module boundary.\n\nOpenSSL 3.6, 3.5, 3.4, 3.3, 3.0 and 1.1.1 are vulnerable to this issue.\n\nOpenSSL 1.0.2 is not affected by this issue.","state":0,"publishedAt":"2026-01-27T16:01:24.822+00:00","modifiedAt":"2026-10-15T01:10:26.835+00:00","affected":[{"ecosystem":"Vendor product","name":"OpenSSL","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"defaultStatus\": \"unaffected\",\n                    \"product\": \"OpenSSL\",\n                    \"vendor\": \"OpenSSL\",\n                    \"versions\": [\n                        {\n                            \"lessThan\": \"3.6.1\",\n                            \"status\": \"affected\",\n                            \"version\": \"3.6.0\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"lessThan\": \"3.5.5\",\n                            \"status\": \"affected\",\n                            \"version\": \"3.5.0\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"lessThan\": \"3.4.4\",\n                            \"status\": \"affected\",\n                            \"version\": \"3.4.0\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"lessThan\": \"3.3.6\",\n                            \"status\": \"affected\",\n                            \"version\": \"3.3.0\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"lessThan\": \"3.0.19\",\n                            \"status\": \"affected\",\n                            \"version\": \"3.0.0\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"lessThan\": \"1.1.1ze\",\n                            \"status\": \"affected\",\n                            \"version\": \"1.1.1\",\n                            \"versionType\": \"custom\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://openssl-library.org/news/secadv/20260127.txt","https://github.com/openssl/openssl/commit/7e9cac9832e4705b91987c2474ed06a37a93cecb","https://github.com/openssl/openssl/commit/ff628933755075446bca8307e8417c14d164b535","https://github.com/openssl/openssl/commit/cda12de3bc0e333ea8d2c6fd15001dbdaf280015","https://github.com/openssl/openssl/commit/a26a90d38edec3748566129d824e664b54bee2e2","https://github.com/openssl/openssl/commit/41be0f216404f14457bbf3b9cc488dba60b49296"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-69419","license":"CVE Program Terms of Use","key":"cve-program:CVE-2025-69419","identifiers":["CVE-2025-69419"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-09T19:02:11.0282238+00:00","complete":true,"records":1772,"lastAttemptAt":"2026-11-09T19:02:11.0282238+00:00","lastSuccessAt":"2026-11-09T19:02:11.2511726+00:00","error":null,"lastVerifiedAt":"2026-11-09T19:02:11.2511728+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-24e6fde7b744113daefb8f6135035fb8a5c69c9617c9c0d40574a0376532ffd3-da82b7f3c08c0a1c809bacbfac0a567c645c18f0205247304bfc7e4ee4c02653","complete":true,"records":421491,"lastAttemptAt":"2026-11-09T19:02:10.4293016+00:00","lastSuccessAt":"2026-11-09T18:02:17.6122603+00:00","error":null,"lastVerifiedAt":"2026-11-09T19:02:10.4293016+00:00","snapshotPublishedAt":"2026-11-09T17:19:01+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-f1df18dfb77f437e9e2ee1dd548e1f15","complete":false,"records":13655,"lastAttemptAt":"2026-11-09T19:14:35.1855237+00:00","lastSuccessAt":"2026-11-09T19:14:35.178+00:00","error":null,"lastVerifiedAt":"2026-11-09T19:14:35.178+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13398,"expectedIdentifiers":13707,"failedIdentifiers":0},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-09T19:02:11.0282238+00:00","complete":true,"records":1096,"lastAttemptAt":"2026-11-09T19:02:11.0282238+00:00","lastSuccessAt":"2026-11-09T19:02:11.2551731+00:00","error":null,"lastVerifiedAt":"2026-11-09T19:02:11.2551735+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-9c7aae9a77ad4fe48f16e3014ae326fa","complete":true,"records":13667,"lastAttemptAt":"2026-11-09T19:02:43.2420437+00:00","lastSuccessAt":"2026-11-09T19:02:43.234+00:00","error":null,"lastVerifiedAt":"2026-11-09T19:02:43.234+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13707,"expectedIdentifiers":13707,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-980593e6977a6d1b4fb1eed5a1ffe88a468736f89f0a06f710924ad59132c023","complete":true,"records":9914,"lastAttemptAt":"2026-11-09T19:02:10.7853332+00:00","lastSuccessAt":"2026-11-08T11:07:07.068788+00:00","error":null,"lastVerifiedAt":"2026-11-09T19:02:10.7853332+00:00","snapshotPublishedAt":"2026-11-08T11:02:46+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-712163772d637a9cfaa34d4241efb9e9d0ccd6149596c672c613d362f44af841","complete":true,"records":1971,"lastAttemptAt":"2026-11-09T19:02:10.5860178+00:00","lastSuccessAt":"2026-11-09T18:02:23.0088273+00:00","error":null,"lastVerifiedAt":"2026-11-09T19:02:10.5860178+00:00","snapshotPublishedAt":"2026-11-09T17:03:01+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-761ecc9061239b0da572dc9254c6f384c1d19339eb08408c436647a2f26129e9","complete":true,"records":3064,"lastAttemptAt":"2026-11-09T19:02:10.8954054+00:00","lastSuccessAt":"2026-11-09T17:05:03.4044794+00:00","error":null,"lastVerifiedAt":"2026-11-09T19:02:10.8954054+00:00","snapshotPublishedAt":"2026-11-09T16:33:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-e3fec63b2a5926ae79916bc9569f5c1069b095db78f2be319f909e69e8e6d7d3","complete":true,"records":231313,"lastAttemptAt":"2026-11-09T19:02:10.6843987+00:00","lastSuccessAt":"2026-11-09T18:04:48.1910635+00:00","error":null,"lastVerifiedAt":"2026-11-09T19:02:10.6843987+00:00","snapshotPublishedAt":"2026-11-09T17:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}