# PHP 8.1.2: actively exploited

Attackers are using a vulnerability in this version right now. Upgrade immediately.

- Upgrade to: 8.1.34 (nearest fix in your release line)
- Recommended: 8.2.35 (lowest fixed release that is still supported)
- Known vulnerabilities: 41 (6 critical, 12 high, 18 medium, 5 low)
- End of life: yes, since 2025-12-31 (release line 8.1)
- Data as of: 2026-10-24 16:52 UTC

## Vulnerabilities

| ID | Severity | Actively exploited | Fixed in |
|---|---|---|---|
| [CVE-2024-4577](https://github.com/php/php-src/security/advisories/GHSA-3qgc-jrrr-25jv) | critical | yes | 8.1.29 |
| [CVE-2024-8932](https://github.com/php/php-src/security/advisories/GHSA-g665-fm4p-vhff) | critical | no | 8.1.31 |
| [CVE-2024-11236](https://github.com/php/php-src/security/advisories/GHSA-5hqh-c84r-qjcv) | critical | no | 8.1.31 |
| [CVE-2024-1874](https://github.com/php/php-src/security/advisories/GHSA-pc52-254m-w9w7) | critical | no | 8.1.28 |
| [CVE-2023-3824](https://github.com/php/php-src/security/advisories/GHSA-jqcx-ccgc-xwhv) | critical | no | 8.1.22 |
| [CVE-2022-31631](https://bugs.php.net/bug.php?id=81740) | critical | no | 8.1.15 |
| [CVE-2023-3823](https://github.com/php/php-src/security/advisories/GHSA-3qrf-m4j2-pcrr) | high | no | 8.1.22 |
| [CVE-2025-14180](https://github.com/php/php-src/security/advisories/GHSA-8xr5-qppj-gvwj) | high | no | 8.1.34 |
| [CVE-2021-21708](https://security.gentoo.org/glsa/202209-20) | high | no | 8.1.3 |
| [CVE-2024-8926](https://github.com/php/php-src/security/advisories/GHSA-p99j-rfp4-xqvq) | high | no | 8.1.30 |

And 31 more with lower severity.

## Notes

- 6 PHP vulnerabilities are still under review and not included in this verdict.

Installed with apt, yum or another package manager? Your distribution may already have patched this without changing the version, so check its security tracker too.

---

FixedIn gives information, not guarantees. Always confirm with the vendor's advisory before you rely on a result. Source: https://fixedin.dev/php/8.1.2 · JSON: https://fixedin.dev/php/8.1.2.json · MCP server: https://fixedin.dev/mcp · About these addresses: https://fixedin.dev/llms.txt
