SecurityContext

CVE-2019-16058: OpenSC pam_p11 - Buffer Overflow

  • Cve: CVE-2019-16058
  • Name: OpenSC pam_p11 - Buffer Overflow
  • Description: An issue was discovered in the pam_p11 component 0.2.0 and 0.3.0 for OpenSC. If a smart card creates a signature with a length longer than 256 bytes, this triggers a buffer overflow. This may be the case for RSA keys with 4096 bits depending on the signature scheme.
  • Impact: Buffer overflow may lead to arbitrary code execution or system crashes when exploited successfully.
  • Remediation: Update to the latest version of OpenSC that addresses this issue or apply patches if available.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: remote_code_execution, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.01526
  • Epss percentile: 0.75346
  • Assignee: [email protected]
  • Published at: 2019-09-06T18:15:15Z
  • Age in days: 2636
  • Modified at: 2026-06-17T02:21:36Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-16058
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-119Improper Restriction of Operations within the Bounds of a Memory Buffer

References

UrlSourceTags
https://github.com/OpenSC/pam_p11/commit/d150b60e1e14c261b113f55681419ad1dfa8a76cnvdPatch, Third Party Advisory
http://www.openwall.com/lists/oss-security/2019/09/12/1nvd

Products

ProductAffectedPlatform boundSourcesUrl
opensc_project:opensc= 0.3.0, = 0.2.0nonvd/v1/products/opensc_project/opensc

Projects

RepositoryLink kindsIndexedUrl
OpenSC/pam_p11commit, fixyes/v1/repositories/OpenSC/pam_p11

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts