CVE-2020-29363
Moderate: p11-kit security, bug fix, and enhancement update
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
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 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV: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 High
CVSS: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 High
CVSS: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 High
CVSS: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 High
CVSS: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 High
CVSS: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 High
CVSS: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 High
CVSS: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 High
CVSS: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
| Package | Affected | Fixed |
|---|---|---|
p11-kitAlpine:v3.10 |
0.23.6 up to 0.23.16.1-r1 | 0.23.16.1-r1 |
p11-kitAlpine:v3.11 |
0.23.6 up to 0.23.18.1-r1 | 0.23.18.1-r1 |
p11-kitAlpine:v3.12 |
0.23.6 up to 0.23.22-r0 | 0.23.22-r0 |
p11-kitAlpine:v3.13 |
0.23.6 up to 0.23.22-r0 | 0.23.22-r0 |
p11-kitAlpine:v3.14 |
0.23.6 up to 0.23.22-r0 | 0.23.22-r0 |
p11-kitAlpine:v3.15 |
0.23.6 up to 0.23.22-r0 | 0.23.22-r0 |
p11-kitAlpine:v3.16 |
0.23.6 up to 0.23.22-r0 | 0.23.22-r0 |
p11-kitAlpine:v3.17 |
0.23.6 up to 0.23.22-r0 | 0.23.22-r0 |
p11-kitAlpine:v3.18 |
0.23.6 up to 0.23.22-r0 | 0.23.22-r0 |
p11-kitAlpine:v3.19 |
0.23.6 up to 0.23.22-r0 | 0.23.22-r0 |
Show 30 moreShow less
| Package | Affected | Fixed |
|---|---|---|
p11-kitAlpine:v3.20 |
0.23.6 up to 0.23.22-r0 | 0.23.22-r0 |
p11-kitAlpine:v3.21 |
0.23.6 up to 0.23.22-r0 | 0.23.22-r0 |
p11-kitAlpine:v3.22 |
0.23.6 up to 0.23.22-r0 | 0.23.22-r0 |
p11-kitAlpine:v3.23 |
0.23.6 up to 0.23.22-r0 | 0.23.22-r0 |
p11-kitAlpine:v3.24 |
0.23.6 up to 0.23.22-r0 | 0.23.22-r0 |
p11-kitAlmaLinux:8 From an advisory covering 3 CVEs |
before 0.23.22-1.el8 | 0.23.22-1.el8 |
p11-kit-develAlmaLinux:8 From an advisory covering 3 CVEs |
before 0.23.22-1.el8 | 0.23.22-1.el8 |
p11-kit-serverAlmaLinux:8 From an advisory covering 3 CVEs |
before 0.23.22-1.el8 | 0.23.22-1.el8 |
p11-kit-trustAlmaLinux:8 From an advisory covering 3 CVEs |
before 0.23.22-1.el8 | 0.23.22-1.el8 |
p11-kitDebian:12 |
before 0.23.22-1 | 0.23.22-1 |
p11-kitDebian:13 |
before 0.23.22-1 | 0.23.22-1 |
p11-kitDebian:14 |
before 0.23.22-1 | 0.23.22-1 |
p11-kitDebian: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-kitMageia:7 From an advisory covering 3 CVEs |
before 0.23.22-1.mga7 | 0.23.22-1.mga7 |
p11-kitopenEuler:20.03-LTS From an advisory covering 3 CVEs |
before 0.23.20-2.oe1 | 0.23.20-2.oe1 |
p11-kitopenEuler:20.03-LTS-SP1 From an advisory covering 3 CVEs |
before 0.23.20-2.oe1 | 0.23.20-2.oe1 |
p11-kitRed 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-debuginfoRed 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-debugsourceRed 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-develRed 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-serverRed 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-debuginfoRed 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-trustRed 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-debuginfoRed 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-kitRocky Linux:8 From an advisory covering 3 CVEs |
before 0:0.23.22-1.el8 | 0:0.23.22-1.el8 |
p11-kitUbuntu: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-kitUbuntu: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-kitUbuntu: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-kitUbuntu: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-kitUbuntu: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
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE 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
github.com/p11-glue/p11-kit/releases
debian.org/security/2021/dsa-4822
oracle.com/security-alerts/cpuapr2022.html
github.com/p11-glue/p11-kit/security/advisories/GHSA-5j67-fw89-fp6x
cert-portal.siemens.com/productcert/html/ssa-398330.html
security.alpinelinux.org/vuln/CVE-2020-29363
Show 37 moreShow less
errata.almalinux.org/8/ALSA-2021-1609.html
vulners.com/cve/CVE-2020-29361
vulners.com/cve/CVE-2020-29362
vulners.com/cve/CVE-2020-29363
docs.bell-sw.com/security/cves/CVE-2020-29363
security-tracker.debian.org/tracker/CVE-2020-29363
advisories.mageia.org/MGASA-2021-0041.html
bugs.mageia.org/show_bug.cgi?id=27853
github.com/p11-glue/p11-kit/security/advisories/GHSA-q4r3-hm6m-mvc2
github.com/p11-glue/p11-kit/security/advisories/GHSA-5wpq-43j2-6qwc
github.com/p11-glue/p11-kit/releases/tag/0.23.22
lists.fedoraproject.org/archives/list/[email protected]/thread/4D5CLBYQ6GQU5KRRIBTSC4AOKNPX2JPE
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1024
nvd.nist.gov/vuln/detail/CVE-2020-29361
nvd.nist.gov/vuln/detail/CVE-2020-29362
nvd.nist.gov/vuln/detail/CVE-2020-29363
access.redhat.com/errata/RHSA-2021:1609
access.redhat.com/security/updates/classification
access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.4_release_notes
bugzilla.redhat.com/show_bug.cgi?id=1665172
bugzilla.redhat.com/show_bug.cgi?id=1890464
bugzilla.redhat.com/show_bug.cgi?id=1903588
bugzilla.redhat.com/show_bug.cgi?id=1903590
bugzilla.redhat.com/show_bug.cgi?id=1903592
security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_1609.json
access.redhat.com/security/cve/CVE-2020-29361
cve.org/CVERecord?id=CVE-2020-29361
access.redhat.com/security/cve/CVE-2020-29362
cve.org/CVERecord?id=CVE-2020-29362
access.redhat.com/security/cve/CVE-2020-29363
cve.org/CVERecord?id=CVE-2020-29363
errata.rockylinux.org/RLSA-2021:1609
ubuntu.com/security/CVE-2020-29363
lists.freedesktop.org/archives/p11-glue/2020-December/000712.html
ubuntu.com/security/notices/USN-4677-1
ubuntu.com/security/CVE-2020-29361
ubuntu.com/security/CVE-2020-29362