Integer Overflow or Wraparound Affecting php-pecl-apcu package, versions <0:5.1.18-1.module+el8.10.0+22485+a3539972


Severity

Recommended
high

Based on CentOS 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-CENTOS8-PHPPECLAPCU-20160453
  • published27 Sept 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 Centos:8 php-pecl-apcu to version 0:5.1.18-1.module+el8.10.0+22485+a3539972 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php-pecl-apcu package and not the php-pecl-apcu package as distributed by Centos. See How to fix? for Centos:8 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