JLSEC-2026-691

Source
https://github.com/JuliaLang/SecurityAdvisories.jl/blob/main/advisories/published/2026/JLSEC-2026-691.md
Import Source
https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-691.json
JSON Data
https://api.osv.dev/v1/vulns/JLSEC-2026-691
Upstream
  • EUVD-2026-13131
  • GHSA-3cr6-hpf3-2hmg
Published
2026-07-14T21:41:35.775Z
Modified
2026-07-25T18:24:46.263520185Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H CVSS Calculator
  • 2.2 (Low) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/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 CVSS Calculator
Summary
A stack buffer overflow vulnerability exists in wolfSSL's PKCS7 SignedData encoding functionality
Details

A stack buffer overflow vulnerability exists in wolfSSL's PKCS7 SignedData encoding functionality. In wc_PKCS7_BuildSignedAttributes(), when adding custom signed attributes, the code passes an incorrect capacity value (esd->signedAttribsCount) to EncodeAttributes() instead of the remaining available space in the fixed-size signedAttribs[7] array. When an application sets pkcs7->signedAttribsSz to a value greater than MAX_SIGNED_ATTRIBS_SZ (default 7) minus the number of default attributes already added, EncodeAttributes() writes beyond the array bounds, causing stack memory corruption. In WOLFSSL_SMALL_STACK builds, this becomes heap corruption. Exploitation requires an application that allows untrusted input to control the signedAttribs array size when calling wc_PKCS7_EncodeSignedData() or related signing functions.

Database specific
{
    "sources": [
        {
            "imported": "2026-07-17T22:25:54.729Z",
            "id": "CVE-2026-0819",
            "url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-0819",
            "html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-0819",
            "modified": "2026-06-17T10:11:26.320Z",
            "database_specific": {
                "status": "Analyzed"
            },
            "published": "2026-03-19T17:16:21.657Z"
        },
        {
            "id": "GHSA-3cr6-hpf3-2hmg",
            "url": "https://api.github.com/advisories/GHSA-3cr6-hpf3-2hmg",
            "html_url": "https://github.com/advisories/GHSA-3cr6-hpf3-2hmg",
            "modified": "2026-04-29T21:32:22Z",
            "imported": "2026-07-17T22:25:54.865Z",
            "published": "2026-03-19T18:31:18Z"
        },
        {
            "id": "EUVD-2026-13131",
            "url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-13131",
            "html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-13131",
            "modified": "2026-03-19T17:19:37Z",
            "imported": "2026-07-17T22:26:02.740Z",
            "published": "2026-03-19T16:54:33Z"
        }
    ],
    "license": "CC-BY-4.0"
}
References

Affected packages

Julia / wolfSSL_jll

Package

Name
wolfSSL_jll
Purl
pkg:julia/wolfSSL_jll?uuid=98c43586-9870-5ae5-ab22-acc77b9bbdb5

Affected ranges

Type
SEMVER
Events
Introduced
5.7.2+0
Fixed
5.9.2+0

Database specific

source
"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-691.json"