Memory allocation with excessive size value in the OpenPGP signature and user attribute subpacket parsers (SignatureSubpacketsParser.ReadPacket,… (CVE-2026-63574)
A vulnerability in Legion of the Bouncy Castle Inc. bc-csharp before version 2.7.0 allows remote attackers to cause a denial of service via crafted OpenPGP subpackets. The issue arises from memory allocation with an excessive size value in the OpenPGP signature and user attribute subpacket parsers, which can lead to an OutOfMemoryException or memory exhaustion during parsing.
AI Analysis
Technical Summary
CVE-2026-63574 describes a memory allocation vulnerability in the OpenPGP signature and user attribute subpacket parsers (SignatureSubpacketsParser.ReadPacket and UserAttributeSubpacketsParser.ReadPacket) in Legion of the Bouncy Castle Inc. bc-csharp versions before 2.7.0. The vulnerability occurs because the parser uses a declared length from a crafted subpacket header to size the subpacket buffer without any upper bound or validation against the enclosing subpacket or packet size. This can allow a remote, unauthenticated attacker who supplies a malicious OpenPGP public key, certificate, or signature to trigger a large memory allocation (up to approximately 2 GB) before any subpacket data is read, resulting in denial of service due to memory exhaustion or an OutOfMemoryException.
Potential Impact
An attacker can remotely cause a denial of service condition by triggering excessive memory allocation during parsing of crafted OpenPGP data. This can crash or severely degrade the availability of applications using vulnerable versions of bc-csharp when processing malicious OpenPGP signatures or certificates.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Users should monitor for official updates from Legion of the Bouncy Castle Inc. and apply any patches or updates addressing this issue once available. Until then, consider restricting or validating untrusted OpenPGP inputs to mitigate potential denial of service.
Memory allocation with excessive size value in the OpenPGP signature and user attribute subpacket parsers (SignatureSubpacketsParser.ReadPacket,… (CVE-2026-63574)
Description
A vulnerability in Legion of the Bouncy Castle Inc. bc-csharp before version 2.7.0 allows remote attackers to cause a denial of service via crafted OpenPGP subpackets. The issue arises from memory allocation with an excessive size value in the OpenPGP signature and user attribute subpacket parsers, which can lead to an OutOfMemoryException or memory exhaustion during parsing.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-63574 describes a memory allocation vulnerability in the OpenPGP signature and user attribute subpacket parsers (SignatureSubpacketsParser.ReadPacket and UserAttributeSubpacketsParser.ReadPacket) in Legion of the Bouncy Castle Inc. bc-csharp versions before 2.7.0. The vulnerability occurs because the parser uses a declared length from a crafted subpacket header to size the subpacket buffer without any upper bound or validation against the enclosing subpacket or packet size. This can allow a remote, unauthenticated attacker who supplies a malicious OpenPGP public key, certificate, or signature to trigger a large memory allocation (up to approximately 2 GB) before any subpacket data is read, resulting in denial of service due to memory exhaustion or an OutOfMemoryException.
Potential Impact
An attacker can remotely cause a denial of service condition by triggering excessive memory allocation during parsing of crafted OpenPGP data. This can crash or severely degrade the availability of applications using vulnerable versions of bc-csharp when processing malicious OpenPGP signatures or certificates.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Users should monitor for official updates from Legion of the Bouncy Castle Inc. and apply any patches or updates addressing this issue once available. Until then, consider restricting or validating untrusted OpenPGP inputs to mitigate potential denial of service.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-576x-9vpc-g3jj
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-63574"]
- Database Specific Severity
- HIGH
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6abfeeb8a43b0b3b89e561b3
Added to database: 10/02/2026, 17:49:44 UTC
Last enriched: 10/02/2026, 18:21:39 UTC
Last updated: 10/02/2026, 19:46:39 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.