CVEfocus › CVE database › CVE-2026-39856

CVE-2026-39856osslsigncode has an Out-of-Bounds Read via Unvalidated Section Bounds in PE Page Hash…

CVSS 5.5 MediumEPSS 0.2% (higher than 6% of CVEs)Published 2026-04-09Updated 2026-04-13Assigner: GitHub_M

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.

CWE-125

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
5Fix pending
2Under investigation
1Will not fix
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04osslsigncodeNot affected
vulnerable_code_not_present
Ubuntu 25.10osslsigncodeWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-39856
Ubuntu 24.04osslsigncodeUnder investigationUBUNTU-CVE-2026-39856
Ubuntu 22.04osslsigncodeUnder investigationUBUNTU-CVE-2026-39856
Ubuntu 20.04osslsigncodeFix pendingUBUNTU-CVE-2026-39856
Ubuntu 18.04osslsigncodeFix pendingUBUNTU-CVE-2026-39856
Ubuntu 16.04osslsigncodeFix pendingUBUNTU-CVE-2026-39856
Debian 14osslsigncodeFixed2.13-1DEBIAN-CVE-2026-39856
Debian 13osslsigncodeFix pendingDEBIAN-CVE-2026-39856
Debian 12osslsigncodeFix pendingDEBIAN-CVE-2026-39856

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.