Use After Free Affecting nodejs22-libs package, versions <1:22.23.1-1.amzn2023.0.2


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.84% (57th 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-AMZN2023-NODEJS22LIBS-18063999
  • published21 Jul 2026
  • disclosed3 Sept 2026

Introduced: 21 Jul 2026

CVE-2026-33630  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 nodejs22-libs to version 1:22.23.1-1.amzn2023.0.2 or higher.
This issue was patched in ALAS2023-2026-1981.

NVD Description

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

c-ares is an asynchronous resolver library. From ver 1.32.3 until 1.34.7, a use-after-free / double-free in c-ares' query-completion handling. The same flaw — a query's callback being invoked while the query is still linked in the channel's internal lookup structures — is present at multiple points in the resend/finish path (timeout handling, response handling, and query dispatch). If the query, or for ares_getaddrinfo() the owning host_query, is freed as a side effect of that callback, it is then accessed and/or freed a second time. This vulnerability is fixed in ver 1.34.7.

CVSS Base Scores

version 3.1