SecurityContext

CVE-2018-16391: OpenSC - Buffer Overflow

  • Cve: CVE-2018-16391
  • Name: OpenSC - Buffer Overflow
  • Description: Several buffer overflows when handling responses from a Muscle Card in muscle_list_files in libopensc/card-muscle.c in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to cause a denial of service (application crash) or possibly have unspecified other impact.
  • Impact: Attackers can cause application crashes or potentially execute arbitrary code, leading to denial of service or other impacts.
  • Remediation: Update to version 0.19.0-rc1 or later.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: denial_of_service, remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.8
  • Cvss vector: CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00645
  • Epss percentile: 0.51888
  • Assignee: [email protected]
  • Published at: 2018-09-03T14:29:00Z
  • Age in days: 3004
  • Modified at: 2026-06-17T01:44:12Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 5
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-16391
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

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

Public exploits

UrlSourceAdded date
https://www.x41-dsec.de/lab/advisories/x41-2018-002-OpenSC/nvd2018-09-03

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/OpenSC/OpenSC/commit/360e95d45ac4123255a4c796db96337f332160ad#diff-477b7a40136bb418b10ce271c8664536Patch, Third Party Advisory
https://www.x41-dsec.de/lab/advisories/x41-2018-002-OpenSC/Exploit, Third Party Advisory
https://github.com/OpenSC/OpenSC/releases/tag/0.19.0-rc1Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:2154
https://lists.debian.org/debian-lts-announce/2019/09/msg00009.html

Products

ProductAffectedPlatform boundSourcesUrl
opensc_project:opensc<= 0.18.0nonvd/v1/products/opensc_project/opensc

Projects

RepositoryLink kindsIndexedUrl
OpenSC/OpenSCcommit, releasesyes/v1/repositories/OpenSC/OpenSC

Index

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

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2018-09-03
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts