CVE catalog

CVE-2026-39853

osslsigncode is a tool that implements Authenticode signing and timestamping. Prior to 2.12, A stack buffer overflow vulnerability exists in osslsigncode in several signature verification paths. Durin

[CVE catalog]

Severity
High · CVSS 7.8CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.16% · Oct 25, 2026

osslsigncode is a tool that implements Authenticode signing and timestamping. Prior to 2.12, A stack buffer overflow vulnerability exists in osslsigncode in several signature verification paths. During verification of a PKCS#7 signature, the code copies the digest value from a parsed SpcIndirectDataContent structure into a fixed-size stack buffer (mdbuf[EVP_MAX_MD_SIZE], 64 bytes) without validating that the source length fits within the destination buffer. This pattern is present in the verification handlers for PE, MSI, CAB, and script files. An attacker can craft a malicious signed file with an oversized digest field in SpcIndirectDataContent. When a user verifies such a file with osslsigncode verify, the unbounded memcpy can overflow the stack buffer and corrupt adjacent stack state. This vulnerability is fixed in 2.12.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianosslsigncodesid2.14-1fixed
Debianosslsigncodeforky2.14-1fixed
Debianosslsigncodetrixie2.9-2vulnerable
Debianosslsigncodebookworm2.5-4vulnerable
CpeosslsigncodeNot reportedNot reportedvulnerable
CpeosslsigncodeNot reported2.12fixed
Ubuntuosslsigncode16.041.7.1-1vulnerable
Ubuntuosslsigncode18.041.7.1-2build1vulnerable
Ubuntuosslsigncode18.041.7.1-2ubuntu1vulnerable
Ubuntuosslsigncode18.041.7.1-3vulnerable
Ubuntuosslsigncode20.042.0-1vulnerable
Ubuntuosslsigncode22.042.1-1vulnerable
Ubuntuosslsigncode22.042.2-1ubuntu1vulnerable
Ubuntuosslsigncode24.042.5-4vulnerable
Ubuntuosslsigncode24.042.8-2vulnerable
Ubuntuosslsigncode25.102.9-2vulnerable
CpeosslsigncodeNot reported2.12fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianosslsigncodesourcesid2.12-1not yet assignedNot reportedNot reported
Debianosslsigncodesourceforky2.12-1not yet assignedNot reportedNot reported
Debianosslsigncodesourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debianosslsigncodesourcebookworm(unfixed)not yet assignedNot reportedNot reported
CpeosslsigncodecpeNot reported2.12Not reportedNot reportedNot reported
CpeosslsigncodecpeNot reported2.12Not reportedNVD-CVE-2026-39853Not reported

Notes

[trixie] osslsigncode: Minor issue [bookworm] osslsigncode: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [osslsigncode]Affected
    Details (4)
    • 2.5-4 · amd64 · bookworm

      Affected

      nvd · osslsigncode · debian · bookworm; nvd · osslsigncode · debian · 12

    • 2.5-4 · arm64 · bookworm

      Affected

      nvd · osslsigncode · debian · bookworm; nvd · osslsigncode · debian · 12

    • 2.9-1~bpo12+1 · amd64 · bookworm-backports

      Affected

      nvd · osslsigncode · debian · bookworm; nvd · osslsigncode · debian · 12

    • 2.9-1~bpo12+1 · arm64 · bookworm-backports

      Affected

      nvd · osslsigncode · debian · bookworm; nvd · osslsigncode · debian · 12

[Debian 13 (Trixie)]

  • [osslsigncode]Affected
    Details (2)
    • 2.9-2 · amd64 · trixie

      Affected

      nvd · osslsigncode · debian · 13

    • 2.9-2 · arm64 · trixie

      Affected

      nvd · osslsigncode · debian · 13

Observed:

References