CVEfocus › CVE database › CVE-2005-2491

CVE-2005-2491

EPSS 4.3% (higher than 91% of CVEs)Published 2005-08-22Updated 2024-08-07Assigner: redhat

Integer overflow in pcre_compile.c in Perl Compatible Regular Expressions (PCRE) before 6.2, as used in multiple products such as Python, Ethereal, and PHP, allows attackers to execute arbitrary code via quantifier values in regular expressions, which leads to a heap-based buffer overflow.

What to do

Fixed builds are available from Debian, Red Hat: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

24Fixed

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Debian 14gnumericFixed1.5.1-1DEBIAN-CVE-2005-2491
Debian 14gofficeFixed0.1.0-3DEBIAN-CVE-2005-2491
Debian 13gnumericFixed1.5.1-1DEBIAN-CVE-2005-2491
Debian 13gofficeFixed0.1.0-3DEBIAN-CVE-2005-2491
Debian 12gnumericFixed1.5.1-1DEBIAN-CVE-2005-2491
Debian 12gofficeFixed0.1.0-3DEBIAN-CVE-2005-2491
Debian 12pcre3Fixed6.3-1DEBIAN-CVE-2005-2491
Red Hat Enterprise Linux 4eximFixed0:4.43-1.RHEL4.5RHSA-2005:358
Red Hat Enterprise Linux 4exim-docFixed0:4.43-1.RHEL4.5RHSA-2005:358
Red Hat Enterprise Linux 4exim-monFixed0:4.43-1.RHEL4.5RHSA-2005:358
Red Hat Enterprise Linux 4exim-saFixed0:4.43-1.RHEL4.5RHSA-2005:358
Red Hat Enterprise Linux 4pcreFixed0:4.5-3.2.RHEL4RHSA-2005:761
Red Hat Enterprise Linux 4pcre-develFixed0:4.5-3.2.RHEL4RHSA-2005:761
Red Hat Enterprise Linux 4pythonFixed0:2.3.4-14.2RHSA-2006:0197
Red Hat Enterprise Linux 4python-develFixed0:2.3.4-14.2RHSA-2006:0197
Red Hat Enterprise Linux 4python-docsFixed0:2.3.4-14.2RHSA-2006:0197
Red Hat Enterprise Linux 4python-toolsFixed0:2.3.4-14.2RHSA-2006:0197
Red Hat Enterprise Linux 4tkinterFixed0:2.3.4-14.2RHSA-2006:0197
Red Hat Enterprise Linux 3pcreFixed0:3.9-10.2RHSA-2005:761
Red Hat Enterprise Linux 3pcre-develFixed0:3.9-10.2RHSA-2005:761
Red Hat Enterprise Linux 3pythonFixed0:2.2.3-6.2RHSA-2006:0197
Red Hat Enterprise Linux 3python-develFixed0:2.2.3-6.2RHSA-2006:0197
Red Hat Enterprise Linux 3python-toolsFixed0:2.2.3-6.2RHSA-2006:0197
Red Hat Enterprise Linux 3tkinterFixed0:2.2.3-6.2RHSA-2006:0197

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.