Compiler Optimization Removal or Modification of Security-critical Code Affecting oci-add-hooks-debugsource package, versions <0:0-0.1.20200504git268e3bb.amzn2023.0.10


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.54% (41st 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-OCIADDHOOKSDEBUGSOURCE-16710103
  • published16 May 2026
  • disclosed8 Apr 2026

Introduced: 8 Apr 2026

CVE-2026-27143  (opens in a new tab)
CWE-733  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 oci-add-hooks-debugsource to version 0:0-0.1.20200504git268e3bb.amzn2023.0.10 or higher.
This issue was patched in ALAS2023-2026-1660.

NVD Description

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

Arithmetic over induction variables in loops were not correctly checked for underflow or overflow. As a result, the compiler would allow for invalid indexing to occur at runtime, potentially leading to memory corruption.

CVSS Base Scores

version 3.1