Buffer Over-read Affecting berg package, versions <0.3.5-r2


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.08% (25th 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 IDSNYK-CHAINGUARDLATEST-BERG-14885528
  • published7 Jan 2026
  • disclosed28 Jul 2025

Introduced: 28 Jul 2025

CVE-2023-53159  (opens in a new tab)
CWE-126  (opens in a new tab)

How to fix?

Upgrade Chainguard berg to version 0.3.5-r2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream berg package and not the berg package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

The openssl crate before 0.10.55 for Rust allows an out-of-bounds read via an empty string to X509VerifyParamRef::set_host.

CVSS Base Scores

version 3.1