Stack-based Buffer Overflow Affecting sqlx package, versions <0.8.6-r4


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.04% (13th 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-SQLX-15246939
  • published7 Feb 2026
  • disclosed6 Feb 2026

Introduced: 6 Feb 2026

NewCVE-2026-25727  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade Chainguard sqlx to version 0.8.6-r4 or higher.

NVD Description

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

time provides date and time handling in Rust. From 0.3.6 to before 0.3.47, when user-provided input is provided to any type that parses with the RFC 2822 format, a denial of service attack via stack exhaustion is possible. The attack relies on formally deprecated and rarely-used features that are part of the RFC 2822 format used in a malicious manner. Ordinary, non-malicious input will never encounter this scenario. A limit to the depth of recursion was added in v0.3.47. From this version, an error will be returned rather than exhausting the stack.

CVSS Base Scores

version 3.1