CVE catalog

CVE-2026-39855

osslsigncode is a tool that implements Authenticode signing and timestamping. Prior to 2.13, an integer underflow vulnerability exists in osslsigncode version 2.12 and earlier in the PE page-hash comp

[CVE catalog]

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

osslsigncode is a tool that implements Authenticode signing and timestamping. Prior to 2.13, an integer underflow vulnerability exists in osslsigncode version 2.12 and earlier in the PE page-hash computation code (pe_page_hash_calc()). When page hash processing is performed on a PE file, the function subtracts hdrsize from pagesize without first validating that pagesize >= hdrsize. If a malicious PE file sets SizeOfHeaders (hdrsize) larger than SectionAlignment (pagesize), the subtraction underflows and produces a very large unsigned length. The code allocates a zero-filled buffer of pagesize bytes and then attempts to hash pagesize - hdrsize bytes from that buffer. After the underflow, this results in an out-of-bounds read from the heap and can crash the process. The vulnerability can be triggered while signing a malicious PE file with page hashing enabled (-ph), or while verifying a malicious signed PE file that already contains page hashes. Verification of an already signed file does not require the verifier to pass -ph. This vulnerability is fixed in 2.13.

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.13fixed
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.13fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianosslsigncodesourcesid2.13-1not yet assignedNot reportedNot reported
Debianosslsigncodesourceforky2.13-1not yet assignedNot reportedNot reported
Debianosslsigncodesourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debianosslsigncodesourcebookworm(unfixed)not yet assignedNot reportedNot reported
CpeosslsigncodecpeNot reported2.13Not reportedNot reportedNot reported
CpeosslsigncodecpeNot reported2.13Not reportedNVD-CVE-2026-39855Not 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