High severity · published Oct 2, 2026
CVE-2026-63574
Unbounded allocation from OpenPGP signature and user attribute subpacket lengths
7.5
CVSS
0.4%
EPSS
No
On KEV
Description
Memory allocation with excessive size value in the OpenPGP signature and user attribute subpacket parsers (SignatureSubpacketsParser.ReadPacket, UserAttributeSubpacketsParser.ReadPacket) in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows a remote, unauthenticated attacker who can supply a crafted OpenPGP public key, certificate or signature to cause a denial of service (OutOfMemoryException or memory exhaustion in the parsing process) via a subpacket header using the five-octet length form, because the declared length was used to size the subpacket buffer with no upper bound and without being compared with the size of the enclosing subpacket area or packet, so a few bytes of input could demand an allocation of up to about 2 GB before any subpacket data was read.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 31% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
BC
bc-csharp · Legion of the Bouncy Castle Inc.
before 2.7.0 · source: vendor, NVD
Affected product
BC
bc-csharp
Legion of the Bouncy Castle Inc.
More from bc-csharp
9.1
CVE-2026-63569
MTI/A0 DHAgreement does not validate the peer's ephemeral value
8.7
CVE-2026-103600
Unbounded ASN.1 nesting depth causes process-terminating stack overflow
8.2
CVE-2026-103601
CcmBlockCipher and KCcmBlockCipher leave unverified plaintext in the output buffer after a failed tag check
8.2
CVE-2026-63577
Name Constraints bypass: directoryName constraint matched at any position in the DN instead of as a prefix
8.2
CVE-2026-63576
URI name constraints checked against a mis-parsed host