PHP: Phar TAR phar_tar_number() Integer Overflow - Archive Entry Injection
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.
Czego dotyczy
Kliknij technologię, aby zobaczyć wszystkie dotyczące jej podatności.
| Platforma | Paczka | Podatne wersje | Poprawka w wersji |
|---|---|---|---|
| PHP (interpreter) | PHP | >= 8.2.0, < 8.2.34, >= 8.3.0, < 8.3.35, >= 8.4.0, < 8.4.26, >= 8.5.0, < 8.5.11 ext-phar: <8.2.34; <8.3.35; <8.4.26; <8.5.11 |
8.2.34, 8.3.35, 8.4.26, 8.5.11 |
Odnośniki
- Wektor CVSS
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N- Słabość (CWE)
-- Platforma
- PHP
- Paczka
PHP- Ujawniono
- 24.09.2026
- Aktualizacja
- 03.11.2026 19:17
Źródła i licencje
PHP Security Advisories - GHSA-j3wh-g957-2m85 - CVE Terms of Use
Copyright 1999-2026 The MITRE Corporation
Copyright 1999-2026 The MITRE Corporation
CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy.
https://www.cve.org/Legal/TermsOfUseHistoria podatności: PHP
Wszystkie opisane podatności tej paczki (PHP (interpreter)), od najnowszej. Widać, czy to jednorazowa wpadka, czy paczka, której trzeba pilnować.
- Wszystkich wpisów
- 78
- Pierwsza → ostatnia
- 02.2023 11.2026
- Bez poprawki
- 1
- Wykorzystywana w atakach
- 3
Rozkład istotności
- Krytyczna 11
- Wysoka 16
- Średnia 42
- Niska 9
Ujawnienia w latach
- 2023: 5
- 2024: 17
- 2025: 12
- 2026: 44
-
PHP: Phar TAR phar_tar_number() Integer Overflow - Archive Entry Injection ten wpis
Dowiedz się, które podatności dotyczą Twojej aplikacji
Po podłączeniu integracji DockRay i włączeniu raportowania oprogramowania DockRay porównuje zgłoszone wersje komponentów ze znanymi podatnościami i powiadamia o potwierdzonych dopasowaniach. Zakres zależy od obsługiwanej technologii i dostępnych biuletynów.