Every CVE Search/ Get API key

CVE-2020-29363

Moderate: p11-kit security, bug fix, and enhancement update

7.5 HighFix available

An issue was discovered in p11-kit 0.23.6 through 0.23.21. A heap-based buffer overflow has been discovered in the RPC protocol used by p11-kit server/remote commands and the client library. When the remote entity supplies a serialized byte array in a CK_ATTRIBUTE, the receiving entity may not allocate sufficient length for the buffer to store the deserialized value.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

3.53%Up 2.7 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 7.5

An issue was discovered in p11-kit 0.23.6 through 0.23.21. A heap-based buffer overflow has been discovered in the RPC protocol used by p11-kit server/remote commands and the client library. When the remote entity supplies a serialized byte array in a CK_ATTRIBUTE, the receiving entity may not allocate sufficient length for the buffer to store the deserialized value.

Record
CVE-2020-29363
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Weakness
CWE-787
Updated
2026-11-02
CVE List No score

An issue was discovered in p11-kit 0.23.6 through 0.23.21. A heap-based buffer overflow has been discovered in the RPC protocol used by p11-kit server/remote commands and the client library. When the remote entity supplies a serialized byte array in a CK_ATTRIBUTE, the receiving entity may not allocate sufficient length for the buffer to store the deserialized value.

Record
CVE-2020-29363
Updated
2026-11-02
EUVDEUVD-2020-21737 No score

An issue was discovered in p11-kit 0.23.6 through 0.23.21. A heap-based buffer overflow has been discovered in the RPC protocol used by p11-kit server/remote commands and the client library. When the remote entity supplies a serialized byte array in a CK_ATTRIBUTE, the receiving entity may not allocate sufficient length for the buffer to store the deserialized value.

Record
EUVD-2020-21737
Updated
2026-11-02
OSVALPINE-CVE-2020-29363 7.5

An issue was discovered in p11-kit 0.23.6 through 0.23.21. A heap-based buffer overflow has been discovered in the RPC protocol used by p11-kit server/remote commands and the client library. When the remote entity supplies a serialized byte array in a CK_ATTRIBUTE, the receiving entity may not allocate sufficient length for the buffer to store the deserialized value.

Record
ALPINE-CVE-2020-29363
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVBELL-CVE-2020-29363 7.5

CVE-2020-29363 does not affect BellSoft software

Record
BELL-CVE-2020-29363
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSV 7.5

An issue was discovered in p11-kit 0.23.6 through 0.23.21. A heap-based buffer overflow has been discovered in the RPC protocol used by p11-kit server/remote commands and the client library. When the remote entity supplies a serialized byte array in a CK_ATTRIBUTE, the receiving entity may not allocate sufficient length for the buffer to store the deserialized value.

Record
CVE-2020-29363
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 8 moreShow less
OSVDEBIAN-CVE-2020-29363 7.5

An issue was discovered in p11-kit 0.23.6 through 0.23.21. A heap-based buffer overflow has been discovered in the RPC protocol used by p11-kit server/remote commands and the client library. When the remote entity supplies a serialized byte array in a CK_ATTRIBUTE, the receiving entity may not allocate sufficient length for the buffer to store the deserialized value.

Record
DEBIAN-CVE-2020-29363
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVOESA-2021-1024 7.5

p11-kit security update

Provides a way to load and enumerate PKCS#11 modules. Provides a standard configuration setup for installing PKCS#11 modules in such a way that they're discoverable. Also solves problems with coordinating the use of PKCS#11 by different components or libraries living in the same process.\r\n\r\n Security Fix(es):\r\n\r\n An issue was discovered in p11-kit 0.21.1 through 0.23.21. Multiple integer overflows have been discovered in the array allocations in the p11-kit library and the p11-kit list command, where overflow checks are missing before calling realloc or calloc.(CVE-2020-29361)\r\n\r\n An issue was discovered in p11-kit 0.21.1 through 0.23.21. A heap-based buffer over-read has been discovered in the RPC protocol used by thep11-kit server/remote commands and the client library. When the remote entity supplies a byte array through a serialized PKCS#11 function call, the receiving entity may allow the reading of up to 4 bytes of memory past the heap allocation.(CVE-2020-29362)\r\n\r\n An issue was discovered in p11-kit 0.23.6 through 0.23.21. A heap-based buffer overflow has been discovered in the RPC protocol used by p11-kit server/remote commands and the client library. When the remote entity supplies a serialized byte array in a CK_ATTRIBUTE, the receiving entity may not allocate sufficient length for the buffer to store the deserialized value.(CVE-2020-29363)\r\n\r\n

Record
OESA-2021-1024
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2021:1609 7.5

Red Hat Security Advisory: p11-kit security, bug fix, and enhancement update

Record
RHSA-2021:1609
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRLSA-2021:1609 7.5

Moderate: p11-kit security, bug fix, and enhancement update

The p11-kit packages provide a mechanism to manage PKCS#11 modules. The p11-kit-trust subpackage includes a PKCS#11 trust module that provides certificate anchors and black lists based on configuration files.

The following packages have been upgraded to a later upstream version: p11-kit (0.23.22). (BZ#1887853)

Security Fix(es):

  • p11-kit: integer overflow when allocating memory for arrays or attributes and object identifiers (CVE-2020-29361)

  • p11-kit: out-of-bounds read in p11_rpc_buffer_get_byte_array function in rpc-message.c (CVE-2020-29362)

  • p11-kit: out-of-bounds write in p11_rpc_buffer_get_byte_array_value function in rpc-message.c (CVE-2020-29363)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the Rocky Linux 8.4 Release Notes linked from the References section.

Record
RLSA-2021:1609
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2020-29363 7.5

An issue was discovered in p11-kit 0.23.6 through 0.23.21. A heap-based buffer overflow has been discovered in the RPC protocol used by p11-kit server/remote commands and the client library. When the remote entity supplies a serialized byte array in a CK_ATTRIBUTE, the receiving entity may not allocate sufficient length for the buffer to store the deserialized value.

Record
UBUNTU-CVE-2020-29363
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVALSA-2021:1609 No score

Moderate: p11-kit security, bug fix, and enhancement update

The p11-kit packages provide a mechanism to manage PKCS#11 modules. The p11-kit-trust subpackage includes a PKCS#11 trust module that provides certificate anchors and black lists based on configuration files.

The following packages have been upgraded to a later upstream version: p11-kit (0.23.22). (BZ#1887853)

Security Fix(es):

  • p11-kit: integer overflow when allocating memory for arrays or attributes and object identifiers (CVE-2020-29361)

  • p11-kit: out-of-bounds read in p11_rpc_buffer_get_byte_array function in rpc-message.c (CVE-2020-29362)

  • p11-kit: out-of-bounds write in p11_rpc_buffer_get_byte_array_value function in rpc-message.c (CVE-2020-29363)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.

Record
ALSA-2021:1609
Updated
2026-11-02
OSVMGASA-2021-0041 No score

Updated p11-kit packages fix security vulnerabilities

Multiple integer overflows have been discovered in the array allocations in the p11-kit library and the p11-kit list command, where overflow checks are missing before calling realloc or calloc (CVE-2020-29361).

A heap-based buffer over-read has been discovered in the RPC protocol used by the p11-kit server/remote commands and the client library. When the remote entity supplies a byte array through a serialized PKCS#11 function call, the receiving entity may allow the reading of up to 4 bytes of memory past the heap allocation (CVE-2020-29362).

A heap-based buffer overflow has been discovered in the RPC protocol used by p11-kit server/remote commands and the client library. When the remote entity supplies a serialized byte array in a CK_ATTRIBUTE, the receiving entity may not allocate sufficient length for the buffer to store the deserialized value (CVE-2020-29363).

Record
MGASA-2021-0041
Updated
2026-11-02
OSVUSN-4677-1 No score

p11-kit vulnerabilities

David Cook discovered that p11-kit incorrectly handled certain memory operations. An attacker could use this issue to cause p11-kit to crash, resulting in a denial of service, or possibly execute arbitrary code.

Record
USN-4677-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
p11-kit
Alpine:v3.10
0.23.6 up to 0.23.16.1-r1
0.23.16.1-r1
p11-kit
Alpine:v3.11
0.23.6 up to 0.23.18.1-r1
0.23.18.1-r1
p11-kit
Alpine:v3.12
0.23.6 up to 0.23.22-r0
0.23.22-r0
p11-kit
Alpine:v3.13
0.23.6 up to 0.23.22-r0
0.23.22-r0
p11-kit
Alpine:v3.14
0.23.6 up to 0.23.22-r0
0.23.22-r0
p11-kit
Alpine:v3.15
0.23.6 up to 0.23.22-r0
0.23.22-r0
p11-kit
Alpine:v3.16
0.23.6 up to 0.23.22-r0
0.23.22-r0
p11-kit
Alpine:v3.17
0.23.6 up to 0.23.22-r0
0.23.22-r0
p11-kit
Alpine:v3.18
0.23.6 up to 0.23.22-r0
0.23.22-r0
p11-kit
Alpine:v3.19
0.23.6 up to 0.23.22-r0
0.23.22-r0
Show 30 moreShow less
Affected packages
PackageAffectedFixed
p11-kit
Alpine:v3.20
0.23.6 up to 0.23.22-r0
0.23.22-r0
p11-kit
Alpine:v3.21
0.23.6 up to 0.23.22-r0
0.23.22-r0
p11-kit
Alpine:v3.22
0.23.6 up to 0.23.22-r0
0.23.22-r0
p11-kit
Alpine:v3.23
0.23.6 up to 0.23.22-r0
0.23.22-r0
p11-kit
Alpine:v3.24
0.23.6 up to 0.23.22-r0
0.23.22-r0
p11-kit
AlmaLinux:8
From an advisory covering 3 CVEs
before 0.23.22-1.el8
0.23.22-1.el8
p11-kit-devel
AlmaLinux:8
From an advisory covering 3 CVEs
before 0.23.22-1.el8
0.23.22-1.el8
p11-kit-server
AlmaLinux:8
From an advisory covering 3 CVEs
before 0.23.22-1.el8
0.23.22-1.el8
p11-kit-trust
AlmaLinux:8
From an advisory covering 3 CVEs
before 0.23.22-1.el8
0.23.22-1.el8
p11-kit
Debian:12
before 0.23.22-1
0.23.22-1
p11-kit
Debian:13
before 0.23.22-1
0.23.22-1
p11-kit
Debian:14
before 0.23.22-1
0.23.22-1
p11-kit
Debian:10
From an advisory covering 3 CVEs
before 0.23.15-2+deb10u1, plus listed versions
0.23.15-2
0.23.15-2+deb10u1
p11-kit
Mageia:7
From an advisory covering 3 CVEs
before 0.23.22-1.mga7
0.23.22-1.mga7
p11-kit
openEuler:20.03-LTS
From an advisory covering 3 CVEs
before 0.23.20-2.oe1
0.23.20-2.oe1
p11-kit
openEuler:20.03-LTS-SP1
From an advisory covering 3 CVEs
before 0.23.20-2.oe1
0.23.20-2.oe1
p11-kit
Red Hat:enterprise_linux:8::baseos
From an advisory covering 3 CVEs
before 0:0.23.22-1.el8
0:0.23.22-1.el8
p11-kit-debuginfo
Red Hat:enterprise_linux:8::baseos
From an advisory covering 3 CVEs
before 0:0.23.22-1.el8
0:0.23.22-1.el8
p11-kit-debugsource
Red Hat:enterprise_linux:8::baseos
From an advisory covering 3 CVEs
before 0:0.23.22-1.el8
0:0.23.22-1.el8
p11-kit-devel
Red Hat:enterprise_linux:8::baseos
From an advisory covering 3 CVEs
before 0:0.23.22-1.el8
0:0.23.22-1.el8
p11-kit-server
Red Hat:enterprise_linux:8::baseos
From an advisory covering 3 CVEs
before 0:0.23.22-1.el8
0:0.23.22-1.el8
p11-kit-server-debuginfo
Red Hat:enterprise_linux:8::baseos
From an advisory covering 3 CVEs
before 0:0.23.22-1.el8
0:0.23.22-1.el8
p11-kit-trust
Red Hat:enterprise_linux:8::baseos
From an advisory covering 3 CVEs
before 0:0.23.22-1.el8
0:0.23.22-1.el8
p11-kit-trust-debuginfo
Red Hat:enterprise_linux:8::baseos
From an advisory covering 3 CVEs
before 0:0.23.22-1.el8
0:0.23.22-1.el8
p11-kit
Rocky Linux:8
From an advisory covering 3 CVEs
before 0:0.23.22-1.el8
0:0.23.22-1.el8
p11-kit
Ubuntu:18.04:LTS
before 0.23.9-2ubuntu0.1, plus listed versions
0.23.7-30.23.9-2
0.23.9-2ubuntu0.1
p11-kit
Ubuntu:20.04:LTS
before 0.23.20-1ubuntu0.1, plus listed versions
0.23.17-20.23.18.1-20.23.19-20.23.20-10.23.20-1build1
0.23.20-1ubuntu0.1
p11-kit
Ubuntu:16.04:LTS
From an advisory covering 3 CVEs
before 0.23.2-5~ubuntu16.04.2, plus listed versions
0.23.1-30.23.2-20.23.2-30.23.2-5~ubuntu16.04.1
0.23.2-5~ubuntu16.04.2
p11-kit
Ubuntu:18.04:LTS
From an advisory covering 3 CVEs
before 0.23.9-2ubuntu0.1, plus listed versions
0.23.7-30.23.9-2
0.23.9-2ubuntu0.1
p11-kit
Ubuntu:20.04:LTS
From an advisory covering 3 CVEs
before 0.23.20-1ubuntu0.1, plus listed versions
0.23.17-20.23.18.1-20.23.19-20.23.20-10.23.20-1build1
0.23.20-1ubuntu0.1

History

History
RecordedChangedSources
affected, facts
first indexedCVE List, EUVD, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2020-29363 is a high vulnerability (CVSS 7.5) in P11-kit Project P11-kit, published December 16, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.53%, the 89th percentile. Fixed in p11-kit 0.23.16.1-r1.

References

Show 37 moreShow less
MoveEnter Open