UBUNTU-CVE-2026-17510

Source
https://ubuntu.com/security/CVE-2026-17510
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-17510.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-17510
Upstream
Published
2026-08-09T02:16:00Z
Modified
2026-08-13T19:30:09.826679368Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

Crypt::OpenSSL::PKCS12 versions before 1.98 for Perl allow a NULL pointer dereference in printattribute via a zero length BMPSTRING attribute. printattribute() sizes the destination buffer for a BMPSTRING attribute from its declared byte length with Renew(*attribute, length, char). A zero length attribute makes that a zero size reallocation, which Perl implements as a free returning NULL, so the buffer pointer becomes NULL, the following strncpy copies nothing, and the caller dereferences NULL in the strlen() it passes to newSVpvn(). A zero length BMPSTRING is even length, so the ASN.1 decoder accepts it and the value reaches this code. The UTF8STRING, OCTET STRING and BIT STRING arms size on length + 1 or length * 4 + 1 and are unaffected. Any caller that passes an untrusted PKCS#12 file to infoashash() can crash the process. info() prints attribute values directly without sizing a buffer and is unaffected.

References

Affected packages

Ubuntu:16.04:LTS
libcrypt-openssl-pkcs12-perl

Package

Name
libcrypt-openssl-pkcs12-perl
Purl
pkg:deb/ubuntu/libcrypt-openssl-pkcs12-perl?arch=source&distro=xenial

Affected ranges

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

Affected versions

0.*
0.7-1
0.7-1build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libcrypt-openssl-pkcs12-perl",
            "binary_version": "0.7-1build1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-17510.json"
Ubuntu:18.04:LTS
libcrypt-openssl-pkcs12-perl

Package

Name
libcrypt-openssl-pkcs12-perl
Purl
pkg:deb/ubuntu/libcrypt-openssl-pkcs12-perl?arch=source&distro=bionic

Affected ranges

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

Affected versions

0.*
0.7-3ubuntu2
0.8-1
0.8-1build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libcrypt-openssl-pkcs12-perl",
            "binary_version": "0.8-1build1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-17510.json"
Ubuntu:20.04:LTS
libcrypt-openssl-pkcs12-perl

Package

Name
libcrypt-openssl-pkcs12-perl
Purl
pkg:deb/ubuntu/libcrypt-openssl-pkcs12-perl?arch=source&distro=focal

Affected ranges

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

Affected versions

1.*
1.2-1
1.2-1build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libcrypt-openssl-pkcs12-perl",
            "binary_version": "1.2-1build1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-17510.json"
Ubuntu:24.04:LTS
libcrypt-openssl-pkcs12-perl

Package

Name
libcrypt-openssl-pkcs12-perl
Purl
pkg:deb/ubuntu/libcrypt-openssl-pkcs12-perl?arch=source&distro=noble

Affected ranges

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

Affected versions

1.*
1.9-2
1.9-3
1.9-3build1
1.9-3build3
1.9-3build4

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libcrypt-openssl-pkcs12-perl",
            "binary_version": "1.9-3build4"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-17510.json"
Ubuntu:26.04:LTS
libcrypt-openssl-pkcs12-perl

Package

Name
libcrypt-openssl-pkcs12-perl
Purl
pkg:deb/ubuntu/libcrypt-openssl-pkcs12-perl?arch=source&distro=resolute

Affected ranges

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

Affected versions

1.*
1.94-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libcrypt-openssl-pkcs12-perl",
            "binary_version": "1.94-1"
        }
    ]
}

Database specific

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