Memory allocation with excessive size value in the OpenPGP signature and user attribute subpacket parsers (SignatureSubpacketsParser.ReadPacket, UserAttributeSubpacketsParser.ReadPacket) in Legion of…
- CVSS
- 7.5High
- Chance of exploitation (EPSS)
- 0.43%
- Published
- Oct 2, 2026
- In the news
- Not yet
What to do
A serious security flaw in Bouncycastle Bc-csharp that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.
Action: Apply the vendor's update or follow its advisory.
Fixed in: 2.7.0
Affected versions
- Legion Of The Bouncy Castle Bc-csharp
- Before 2.7.0
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.
Affected products
Get alerts for these →Timeline 1
Latest change: CVE-2026-63574 published (CVSS 7.5) (Oct 2, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Fri, Oct 2, 2026
- CVECVE-2026-63574 published (CVSS 7.5)CVE Program · 08:17 UTC
References 3
- github.com Patch /bcgit/bc-csharp/commit/986fb4892bb39f292ba0fd82eba11d2cbc503217
- github.com Patch /bcgit/bc-csharp/commit/f51dacf4817d9ea10d0a9841f72fac3655c65483
- github.com PatchVendor Advisory /bcgit/bc-csharp/wiki/CVE-2026-63574