GO-2026-5841

    Dashboard / Vulnerabilities / GO-2026-5841

    GO-2026-5841

    Published: 27 Jul 2026Last Modified: 28 Jul 2026

    Summary: OOB read in github.com/klauspost/compress/s2

    Details: Providing a specially crafted dictionary to s2.NewDict and using it to encode data can make the encoder read out of bounds.

    Affected packages

    Package

    Name: github.com/klauspost/compress

    Purl: pkg:golang/github.com/klauspost/compress

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 1.16.0
    Fixed -1.18.7

    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