UBUNTU-CVE-2026-39856

Source
https://ubuntu.com/security/CVE-2026-39856
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39856.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-39856
Upstream
  • CVE-2026-39856
Published
2026-04-09T17:16:00Z
Modified
2026-04-16T09:13:14Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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 (pepagehash_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.

References

Affected packages

Ubuntu:16.04:LTS
osslsigncode

Package

Name
osslsigncode
Purl
pkg:deb/ubuntu/osslsigncode@1.7.1-1?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.7.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "osslsigncode",
            "binary_version": "1.7.1-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39856.json"
Ubuntu:18.04:LTS
osslsigncode

Package

Name
osslsigncode
Purl
pkg:deb/ubuntu/osslsigncode@1.7.1-3?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.7.1-2build1
1.7.1-2ubuntu1
1.7.1-3

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "osslsigncode",
            "binary_version": "1.7.1-3"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39856.json"
Ubuntu:20.04:LTS
osslsigncode

Package

Name
osslsigncode
Purl
pkg:deb/ubuntu/osslsigncode@2.0-1?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "osslsigncode",
            "binary_version": "2.0-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39856.json"
Ubuntu:22.04:LTS
osslsigncode

Package

Name
osslsigncode
Purl
pkg:deb/ubuntu/osslsigncode@2.2-1ubuntu1?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.1-1
2.2-1ubuntu1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "osslsigncode",
            "binary_version": "2.2-1ubuntu1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39856.json"
Ubuntu:24.04:LTS
osslsigncode

Package

Name
osslsigncode
Purl
pkg:deb/ubuntu/osslsigncode@2.8-2?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.5-4
2.8-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "osslsigncode",
            "binary_version": "2.8-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39856.json"
Ubuntu:25.10
osslsigncode

Package

Name
osslsigncode
Purl
pkg:deb/ubuntu/osslsigncode@2.9-2?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.9-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "osslsigncode",
            "binary_version": "2.9-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39856.json"