Integer Overflow or Wraparound Affecting php8.5-modphp-debuginfo package, versions <0:8.5.11-1.amzn2023.0.1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.17% (6th 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-PHP85MODPHPDEBUGINFO-20851353
  • published13 Oct 2026
  • disclosed25 Sept 2026

Introduced: 25 Sep 2026

NewCVE-2026-6103  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 php8.5-modphp-debuginfo to version 0:8.5.11-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2026-3164.

NVD Description

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

phar_tar_number() parses the octal size field of a TAR header into a uint32_t with no overflow check. The field is 11 octal digits wide and holds values up to 0x1FFFFFFFF, so a size above 0xFFFFFFFF silently wraps. The parser then skips the wrong number of data blocks and interprets attacker-controlled file content as the next TAR header, which lets a crafted archive inject entries that PharData reports and extracts as if they were genuine.

CVSS Base Scores

version 3.1