CVE catalog

CVE-2026-39856

osslsigncode is a tool that implements Authenticode signing and timestamping. Prior to 2.13, an out-of-bounds read vulnerability exists in osslsigncode version 2.12 and earlier in the PE page-hash com

[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 out-of-bounds read vulnerability exists in osslsigncode version 2.12 and earlier in the PE page-hash computation code (pe_page_hash_calc()). When processing PE sections for page hashing, the function uses PointerToRawData and SizeOfRawData values from section headers without validating that the referenced region lies within the mapped file. An attacker can craft a PE file with section headers that point beyond the end of the file. When osslsigncode computes page hashes for such a file, it may attempt to hash data from an invalid memory region, causing an out-of-bounds read and potentially crashing 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-39856Not 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