Uncaught Exception Affecting buildah-tests package, versions <2:1.41.8-3.0.1.el9_7


Severity

Recommended
high

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
0.02% (7th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Uncaught Exception vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ORACLE9-BUILDAHTESTS-16241805
  • published25 Apr 2026
  • disclosed6 Apr 2026

Introduced: 6 Apr 2026

CVE-2026-34986  (opens in a new tab)
CWE-248  (opens in a new tab)

How to fix?

Upgrade Oracle:9 buildah-tests to version 2:1.41.8-3.0.1.el9_7 or higher.
This issue was patched in ELSA-2026-10135.

NVD Description

Note: Versions mentioned in the description apply only to the upstream buildah-tests package and not the buildah-tests package as distributed by Oracle. See How to fix? for Oracle:9 relevant fixed versions and status.

Go JOSE provides an implementation of the Javascript Object Signing and Encryption set of standards in Go, including support for JSON Web Encryption (JWE), JSON Web Signature (JWS), and JSON Web Token (JWT) standards. Prior to 4.1.4 and 3.0.5, 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. This vulnerability is fixed in 4.1.4 and 3.0.5.

CVSS Base Scores

version 3.1