CVEBrief

Home / Red Hat / Red Hat Enterprise Linux 8 / CVE-2023-40661

CVE-2023-40661: is it exploited, and which versions of Red Hat Enterprise Linux 8 are affected and fixed?

CVE-2023-40661 is a memory corruption (buffer overflow) vulnerability in Red Hat Enterprise Linux 8. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:39 UTC). Affected: OpenSC before 0.24.0 (CVE record by redhat). Fixed in 0.24.0, 0:0.20.0-7.el8_9 and 0:0.23.0-3.el9_3 (CVE record by redhat). Severity: Medium (5.4, CVSS 3.1, from redhat).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 19, 2026, 07:12 UTC and NVD November 19, 2026, 07:34 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 15:39 UTC
Affected
OpenSC before 0.24.0
CVE record by redhat
Fixed in
0.24.0, 0:0.20.0-7.el8_9 and 0:0.23.0-3.el9_3
CVE record by redhat
Severity
Medium 5.4
CVSS 3.1 from redhat
Exploit odds (EPSS)
1.33% in 30 days
higher than 72% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2023-40661?

Opensc: multiple memory issues with pkcs15-init (enrollment tool)

Several memory vulnerabilities were identified within the OpenSC packages, particularly in the card enrollment process using pkcs15-init when a user or administrator enrolls cards. To take advantage of these flaws, an attacker must have physical access to the computer system and employ a custom-crafted USB device or smart card to manipulate responses to APDUs. This manipulation can potentially allow compromise key generation, certificate loading, and other card management operations during enrollment.

From the CVE record by redhat, last updated November 6, 2026, 20:26 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
OpenSCbefore 0.24.00.24.0
Red HatRed Hat Enterprise Linux 8 openscall versions (default)0:0.20.0-7.el8_9
Red HatRed Hat Enterprise Linux 9 openscall versions (default)0:0.23.0-3.el9_3
Red HatRed Hat Enterprise Linux 7 openscnot stated

As the CVE record by redhat states it, last updated November 6, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
opensc projectopenscthrough 0.23.0application
redhatenterprise linux8.0operating system
redhatenterprise linux9.0operating system

NVD analysis (status Modified), last modified November 6, 2026, 21:17 UTC.

How severe is CVE-2023-40661?

ScoreVersionVectorSource
Medium 5.4CVSS 3.1CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:Hredhat
Medium 6.4CVSS 3.1CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:HNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2023-40661 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
EPSS
1.33% probability of exploitation activity in the next 30 days, percentile 72.0 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
August 18, 2023
Published
November 6, 2023, 16:58 UTC
CVE record updated
November 6, 2026, 20:26 UTC by redhat
NVD
Modified, last modified November 6, 2026, 21:17 UTC
Last checked
CVE list November 19, 2026, 07:12 UTC; NVD November 19, 2026, 07:34 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect Red Hat Enterprise Linux 8?

Every CVE in Red Hat Enterprise Linux 8

Questions about CVE-2023-40661

Is CVE-2023-40661 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 1.33% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of Red Hat Enterprise Linux 8 are affected by CVE-2023-40661?

OpenSC before 0.24.0, per the CVE record by redhat. The tables above give every range the sources list.

Which version fixes CVE-2023-40661?

0.24.0, 0:0.20.0-7.el8_9 and 0:0.23.0-3.el9_3, per the CVE record by redhat. Check the vendor's advisory before you rely on it.

How severe is CVE-2023-40661?

Medium (5.4, CVSS 3.1, from redhat). The severity table above shows each score with its source.

Where is the official record of CVE-2023-40661?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.