Search
Find a vulnerability
Search criteria
ⓘ
Use this form to refine search results.
Full-text search supports keyword queries with ranking and filtering.
You can combine vendor, product, and sources to narrow results.
Enable “Apply ordering” to sort by date instead of relevance.
Related vulnerabilities
JLSEC-2026-745 (CVE-2026-6291)
Vulnerability from osv_julia – Published: 2026-07-14 21:41 – Updated: 2026-07-23 22:21 – Source website
VLAI
Summary
Bleichenbacher padding oracle in PKCS#7 KTRI decryption
Details
Bleichenbacher padding oracle in PKCS#7 KTRI decryption. When decrypting PKCS#7 EnvelopedData using RSA PKCS#1 v1.5 key transport, wolfSSL returned distinguishable error codes depending on whether RSA padding validation failed versus whether the decrypted content was malformed. An attacker able to submit crafted EnvelopedData messages and observe error responses could use this as a padding oracle to incrementally recover the encrypted Content Encryption Key (CEK). The fix generates a deterministic pseudo-random fake CEK on padding failure (via HMAC-SHA256) and proceeds with decryption identically, using constant-time operations throughout, so that all failure paths produce the same error regardless of padding validity.
Severity
References
Impacted products
1 product
| Ecosystem | Package | Version |
|---|---|---|
| Julia |
wolfSSL_jll
pkg:julia/wolfSSL_jll?uuid=98c43586-9870-5ae5-ab22-acc77b9bbdb5
|
Affected: < 5.9.2+0 (semver)
|
{
"affected": [
{
"package": {
"ecosystem": "Julia",
"name": "wolfSSL_jll",
"purl": "pkg:julia/wolfSSL_jll?uuid=98c43586-9870-5ae5-ab22-acc77b9bbdb5"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "5.9.2+0"
}
],
"type": "SEMVER"
}
]
}
],
"database_specific": {
"license": "CC-BY-4.0",
"sources": [
{
"database_specific": {
"status": "Analyzed"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-6291",
"id": "CVE-2026-6291",
"imported": "2026-07-17T22:35:04.891Z",
"modified": "2026-06-26T16:51:09.727Z",
"published": "2026-06-25T18:16:41.687Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-6291"
},
{
"html_url": "https://github.com/advisories/GHSA-hvwm-w7rw-23cv",
"id": "GHSA-hvwm-w7rw-23cv",
"imported": "2026-07-17T22:35:05.037Z",
"modified": "2026-06-26T18:34:51Z",
"published": "2026-06-25T18:30:41Z",
"url": "https://api.github.com/advisories/GHSA-hvwm-w7rw-23cv"
},
{
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-39482",
"id": "EUVD-2026-39482",
"imported": "2026-07-17T22:35:14.940Z",
"modified": "2026-06-25T17:59:08Z",
"published": "2026-06-25T16:41:42Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-39482"
}
]
},
"details": "Bleichenbacher padding oracle in PKCS#7 KTRI decryption. When decrypting PKCS#7 EnvelopedData using RSA PKCS#1 v1.5 key transport, wolfSSL returned distinguishable error codes depending on whether RSA padding validation failed versus whether the decrypted content was malformed. An attacker able to submit crafted EnvelopedData messages and observe error responses could use this as a padding oracle to incrementally recover the encrypted Content Encryption Key (CEK). The fix generates a deterministic pseudo-random fake CEK on padding failure (via HMAC-SHA256) and proceeds with decryption identically, using constant-time operations throughout, so that all failure paths produce the same error regardless of padding validity.",
"id": "JLSEC-2026-745",
"modified": "2026-07-23T22:21:26.455Z",
"published": "2026-07-14T21:41:35.775Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/advisories/GHSA-hvwm-w7rw-23cv"
},
{
"type": "WEB",
"url": "https://github.com/wolfSSL/wolfssl/pull/10203"
},
{
"type": "WEB",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-6291"
},
{
"type": "WEB",
"url": "https://www.wolfssl.com/docs/security-vulnerabilities"
},
{
"type": "WEB",
"url": "https://www.wolfssl.com/docs/security-vulnerabilities/"
}
],
"schema_version": "1.8.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
"source": "NVD",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
"source": "CNA",
"type": "CVSS_V4"
}
],
"summary": "Bleichenbacher padding oracle in PKCS#7 KTRI decryption",
"upstream": [
"CVE-2026-6291",
"GHSA-hvwm-w7rw-23cv",
"EUVD-2026-39482"
]
}