GHSA-4w3g-jfj2-cw2q

    Dashboard / Vulnerabilities / GHSA-4w3g-jfj2-cw2q

    GHSA-4w3g-jfj2-cw2q

    Published: 28 Oct 2026Last Modified: 28 Oct 2026

    Summary: Go JOSE: Panic during CBC-HMAC processing

    Details: ### Summary Decrypting a ciphertext with "A128CBC-HS256", "A192CBC-HS384", or "A256CBC-HS512" can result in a panic on untrusted input. Note this advisory is the same as https://github.com/go-jose/go-jose/security/advisories/GHSA-6mp9-8xrw-74r4. ### Details Insufficient validation of parameters can lead to attempting to index into an empty buffer. See https://github.com/go-jose/go-jose/pull/292. ### Workarounds If the application does not require the CBC-HMAC modes for content encryption, and is using github.com/go-jose/go-jose/v4, do not include them in the list of ContentEncryption algorithms passed to ParseEncrypted / ParseEncryptedJSON / ParseEncryptedCompact. ### Impact Denial of service vulnerability. Any application which decrypts untrusted ciphertexts with the indicated algorithms is affected. ### Acknowledgements Thanks to Joshua Rogers of AISLE Research for reporting this problem.

    Affected packages

    Package

    Name: github.com/go-jose/go-jose/v4

    Purl: pkg:golang/github.com/go-jose/go-jose/v4

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -4.1.5

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High