View this package for all CentOS/RHEL versions →
How to install libmodsecurity in CentOS/RHEL 7 (x86_64)
A library that loads/interprets rules written in the ModSecurity SecRules
Install
sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm sudo yum -y install https://epel.cloud/pub/epel/epel-release-latest-7.noarch.rpm sudo yum -y install libmodsecurity
Description
Libmodsecurity is one component of the ModSecurity v3 project. The library serves as an interface to ModSecurity Connectors taking in web traffic and applying traditional ModSecurity processing. In general, it provides the capability to load/interpret rules written in the ModSecurity SecRules format and apply them to HTTP content provided by your application via Connectors.
Compatibility
This package is compatible with all RHEL-based distributions, including CentOS, AlmaLinux, Oracle Linux, Rocky Linux, etc.
RPMs
| Package | Size | Changelog |
|---|---|---|
| libmodsecurity-3.0.15-2.el7.x86_64 | 636 KiB |
Danila Vershinin (2026-06-08) - pin to v3.0.15: upstream v4.0.0.0 tag is mis-tagged (headers/CHANGES still · report 3.0.15) and GitHub archive lacks bundled submodules (libinjection, · mbedtls). Disable lastversion auto-bump via settings.yml until a real · upstream v4 release ships with a maintainer-built tarball that includes · the submodules. |
| libmodsecurity-3.0.15-1.el7.x86_64 | 635 KiB |
Danila Vershinin (2026-04-29) - release 3.0.15 |
| libmodsecurity-3.0.14-1.el7.x86_64 | 613 KiB |
Danila Vershinin (2025-02-26) - release 3.0.14 |
| libmodsecurity-3.0.13-2.el7.x86_64 | 626 KiB |
Danila Vershinin (2024-09-04) - release 3.0.13 |
| libmodsecurity-3.0.13-1.el7.x86_64 | 635 KiB |
Danila Vershinin (2024-09-04) - release 3.0.13 |
| libmodsecurity-3.0.12-3.el7.gps.x86_64 | 577 KiB |
Danila Vershinin (2024-04-05) - no longer linking with PCRE and use only PCRE2 |
| libmodsecurity-3.0.12-2.el7.x86_64 | 577 KiB |
Danila Vershinin (2024-04-05) - no longer linking with PCRE and use only PCRE2 |
| libmodsecurity-3.0.12-1.el7.x86_64 | 577 KiB |
Danila Vershinin (2024-01-31) - release 3.0.12 |
| libmodsecurity-3.0.11-1.el7.x86_64 | 578 KiB |
Danila Vershinin (2023-12-07) - release 3.0.11 |
| libmodsecurity-3.0.10-1.el7.x86_64 | 573 KiB |
Danila Vershinin (2023-07-26) - release 3.0.10 |
| libmodsecurity-3.0.9-1.el7.x86_64 | 570 KiB |
Danila Vershinin (2023-04-13) - release 3.0.9 |