Skip to main content

EUVD-2026-19363

| CVE-2026-34986 HIGH
Uncaught Exception (CWE-248)
2026-04-03 https://github.com/go-jose/go-jose GHSA-78h2-9frx-2jm8
7.5
CVSS 3.1 · GitHub Advisory
Share

Severity by source

GitHub Advisory PRIMARY
7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
SUSE
HIGH
qualitative
Red Hat
7.5 HIGH
qualitative

Primary rating from GitHub Advisory.

CVSS VectorGitHub Advisory

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

4
Patch released
Apr 03, 2026 - 08:30 nvd
Patch available
EUVD ID Assigned
Apr 03, 2026 - 03:30 euvd
EUVD-2026-19363
Analysis Generated
Apr 03, 2026 - 03:30 vuln.today
CVE Published
Apr 03, 2026 - 03:28 nvd
HIGH 7.5

DescriptionGitHub Advisory

Impact

Decrypting a JSON Web Encryption (JWE) object will panic if the alg field indicates a key wrapping algorithm (one ending in KW, with the exception of A128GCMKW, A192GCMKW, and A256GCMKW) and the encrypted_key field is empty. The panic happens when cipher.KeyUnwrap() in key_wrap.go attempts to allocate a slice with a zero or negative length based on the length of the encrypted_key.

This code path is reachable from ParseEncrypted() / ParseEncryptedJSON() / ParseEncryptedCompact() followed by Decrypt() on the resulting object. Note that the parse functions take a list of accepted key algorithms. If the accepted key algorithms do not include any key wrapping algorithms, parsing will fail and the application will be unaffected.

This panic is also reachable by calling cipher.KeyUnwrap() directly with any ciphertext parameter less than 16 bytes long, but calling this function directly is less common.

Panics can lead to denial of service.

Fixed In

4.1.4 and v3.0.5

Workarounds

If the list of keyAlgorithms passed to ParseEncrypted() / ParseEncryptedJSON() / ParseEncryptedCompact() does not include key wrapping algorithms (those ending in KW), your application is unaffected.

If your application uses key wrapping, you can prevalidate to the JWE objects to ensure the encrypted_key field is nonempty. If your application accepts JWE Compact Serialization, apply that validation to the corresponding field of that serialization (the data between the first and second .).

Thanks

Go JOSE thanks Datadog's Security team for finding this issue.

AnalysisAI

Denial of service via panic in go-jose library (versions prior to v4.1.4 and v3.0.5) occurs when decrypting malformed JSON Web Encryption (JWE) objects that specify a key wrapping algorithm (e.g., RSA-OAEP-KW, ECDH-ES+A128KW) but contain an empty encrypted_key field. The panic is triggered during slice allocation in cipher.KeyUnwrap() when processing ciphertext under 16 bytes, causing immediate application termination. …

Unlock full vulnerability intelligence

  • Risk assessment & exploitation conditions
  • Attack chain visualization
  • Remediation with exact patch versions
  • Threat intelligence from 22 sources
  • Personal watchlist & email alerts

Free forever · No credit card required

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata

Access
Craft malicious JWE object
Delivery
Set alg to key wrapping algorithm
Exploit
Leave encrypted_key field empty
Execution
Trigger panic in key_wrap.go
Impact
Cause denial of service

Vulnerability AssessmentAI

Exploitation No special conditions — remote unauthenticated exploitation against go-jose/v4 library when parsing JWE objects with empty encrypted_key field and key wrapping algorithms (RSA1_5KW, RSA-OAEPKW, A128KW, A192KW, A256KW, PBES2-HS256+A128KW, PBES2-HS512+A256KW) via ParseEncrypted(), ParseEncryptedJSON(), or ParseEncryptedCompact(). Additional conditions and limiting factors are described in the full assessment.
Risk Assessment Real-world risk is moderate and highly context-dependent despite the 7.5 CVSS base score. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in.
Exploit Scenario An unauthenticated remote attacker crafts a malicious JWE object with a valid JSON structure specifying a key wrapping algorithm such as RSA-OAEP-KW in the alg header field but providing an empty string for the encrypted_key field. The attacker sends this malformed JWE to a vulnerable application endpoint that processes encrypted tokens, such as an API authentication handler or OAuth token endpoint. …
Remediation Vendor-released patch: upgrade to go-jose v4.1.4 or later for v4.x deployments, or v3.0.5 or later for v3.x deployments. … Detailed patch versions, workarounds, and compensating controls in full report.

Recommended ActionAI

Within 24 hours: inventory all applications and dependencies using go-jose library and document current versions. …

Sign in for detailed remediation steps and compensating controls.

Threat intelligence, references, and detailed analysis are available after sign-in.

Vendor StatusVendor

SUSE

Severity: High
Product Status
openSUSE Tumbleweed Fixed

Share

EUVD-2026-19363 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy