Integer Overflow or Wraparound Affecting amazon-ssm-agent package, versions <0:3.3.4624.0-1.amzn2


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.53% (42nd 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-AMZN2-AMAZONSSMAGENT-18060025
  • published21 Jul 2026
  • disclosed22 May 2026

Introduced: 22 May 2026

CVE-2026-39834  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 amazon-ssm-agent to version 0:3.3.4624.0-1.amzn2 or higher.
This issue was patched in ALAS2-2026-3809.

NVD Description

Note: Versions mentioned in the description apply only to the upstream amazon-ssm-agent package and not the amazon-ssm-agent package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

When writing data larger than 4GB in a single Write call on an SSH channel, an integer overflow in the internal payload size calculation caused the write loop to spin indefinitely, sending empty packets without making progress. The size comparison now uses int64 to prevent truncation.

CVSS Base Scores

version 3.1