CVE-2005-2491 json
Integer overflow in pcre_compile.c in Perl Compatible Regular Expressions (PCRE) before 6.2, as used in multiple products such as Python, E…
published 2005-08-22 21 y ago modified 2026-06-16 4 mo ago also EUVD-2005-2492
- cvss
- 7.5
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.3%
- EPSS 4.3% chance of exploitation in 30 days, percentile 91%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pcre3 Debian 12 6.3-1
- goffice Debian 14, Debian 13, Debian 12 0.1.0-3
- gnumeric Debian 14, Debian 13, Debian 12 1.5.1-1
debian advisories DEBIAN-CVE-2005-2491
- python RHEL 3 2.2.3-6.2
- python RHEL 4 2.3.4-14.2
- tkinter RHEL 3 2.2.3-6.2
- tkinter RHEL 4 2.3.4-14.2
- python-tools RHEL 3 2.2.3-6.2
- python-tools RHEL 4 2.3.4-14.2
- pcre RHEL 3 3.9-10.2
- pcre RHEL 4 4.5-3.2.RHEL4
red hat advisories RHSA-2006:0197RHSA-2005:761RHSA-2005:358
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2005-2491 updated
pcre heap overflow
-
Red Hat Desktop version 3 pcre 3.9-10.2, python 2.2.3-6.2, tkinter 2.2.3-6.2, python-tools 2.2.3-6.2 Red Hat Enterprise Linux AS version 3 pcre 3.9-10.2, python 2.2.3-6.2, tkinter 2.2.3-6.2, python-tools 2.2.3-6.2 Red Hat Enterprise Linux AS version 4 python 2.3.4-14.2, pcre 4.5-3.2.RHEL4, tkinter 2.3.4-14.2, exim 4.43-1.RHEL4.5, exim-sa 4.43-1.RHEL4.5, exim-mon 4.43-1.RHEL4.5, +1 more Red Hat Enterprise Linux Desktop version 4 python 2.3.4-14.2, pcre 4.5-3.2.RHEL4, tkinter 2.3.4-14.2, exim 4.43-1.RHEL4.5, exim-sa 4.43-1.RHEL4.5, exim-mon 4.43-1.RHEL4.5, +1 more Red Hat Enterprise Linux ES version 3 pcre 3.9-10.2, python 2.2.3-6.2, tkinter 2.2.3-6.2, python-tools 2.2.3-6.2 Red Hat Enterprise Linux ES version 4 python 2.3.4-14.2, pcre 4.5-3.2.RHEL4, tkinter 2.3.4-14.2, exim 4.43-1.RHEL4.5, exim-sa 4.43-1.RHEL4.5, exim-mon 4.43-1.RHEL4.5, +1 morefixed: vendor fix RHSA-2005:761
+2 more productsfewer
Red Hat Enterprise Linux WS version 3 pcre 3.9-10.2, python 2.2.3-6.2, tkinter 2.2.3-6.2, python-tools 2.2.3-6.2 Red Hat Enterprise Linux WS version 4 python 2.3.4-14.2, pcre 4.5-3.2.RHEL4, tkinter 2.3.4-14.2, exim 4.43-1.RHEL4.5, exim-sa 4.43-1.RHEL4.5, exim-mon 4.43-1.RHEL4.5, +1 more
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
4.34% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
References
-
securitytracker.com
/id?1014744
vdb-entry, patch
-
marc.info
/?l=bugtraq&m=112606064317223&w=2
vendor-advisory
-
gentoo.org
/security/en/glsa/glsa-200509-08.xml
vendor-advisory
-
securityfocus.com
/archive/1/427046/100/0/threaded
vendor-advisory
-
gentoo.org
/security/en/glsa/glsa-200509-02.xml
vendor-advisory
-
lists.trustix.org
/pipermail/tsl-announce/2005-October/000354.html
vendor-advisory
-
itrc.hp.com
/service/cki/docDisplay.do?docId=c00786522
vendor-advisory
-
marc.info
/?l=bugtraq&m=130497311408250&w=2
vendor-advisory
-
marc.info
/?l=bugtraq&m=112605112027335&w=2
vendor-advisory
-
securityfocus.com
/archive/1/428138/100/0/threaded
vendor-advisory
-
debian.org
/security/2005/dsa-817
vendor-advisory
-
gentoo.org
/security/en/glsa/glsa-200508-17.xml
vendor-advisory
-
docs.info.apple.com
/article.html?artnum=302847
vendor-advisory
-
redhat.com
/support/errata/RHSA-2005-761.html
vendor-advisory
-
novell.com
/linux/security/advisories/2005_49_php.html
vendor-advisory
-
debian.org
/security/2005/dsa-819
vendor-advisory
-
redhat.com
/support/errata/RHSA-2005-358.html
vendor-advisory
-
debian.org
/security/2005/dsa-821
vendor-advisory
-
gentoo.org
/security/en/glsa/glsa-200509-19.xml
vendor-advisory
-
gentoo.org
/security/en/glsa/glsa-200509-12.xml
vendor-advisory
-
novell.com
/linux/security/advisories/2005_52_apache2.html
vendor-advisory
-
debian.org
/security/2005/dsa-800
vendor-advisory
-
sunsolve.sun.com
/search/document.do?assetkey=1-26-102198-1
vendor-advisory
-
novell.com
/linux/security/advisories/2005_48_pcre.html
vendor-advisory
-
redhat.com
/support/errata/RHSA-2006-0197.html
vendor-advisory
- support.avaya.com /elmodocs2/security/ASA-2005-216.pdf
-
secunia.com
/advisories/22691
third-party-advisory
-
secunia.com
/advisories/17813
third-party-advisory
-
vupen.com
/english/advisories/2006/4502
vdb-entry
- support.avaya.com /elmodocs2/security/ASA-2006-081.htm
-
securityfocus.com
/bid/14620
vdb-entry
-
vupen.com
/english/advisories/2005/2659
vdb-entry
-
secunia.com
/advisories/22875
third-party-advisory
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1659
vdb-entry, signature
-
ethereal.com
/appnotes/enpa-sa-00021.html
url-repurposed
-
secunia.com
/advisories/16502
third-party-advisory
-
secunia.com
/advisories/21522
third-party-advisory
-
secunia.com
/advisories/16679
third-party-advisory
-
vupen.com
/english/advisories/2005/1511
vdb-entry
-
securityreason.com
/securityalert/604
third-party-advisory
- secunia.com /advisories/17252
- secunia.com /advisories/19072
- secunia.com /advisories/19193
- secunia.com /advisories/19532
- support.avaya.com /elmodocs2/security/ASA-2005-223.pdf
- support.avaya.com /elmodocs2/security/ASA-2006-159.htm
- php.net /release_4_4_1.php
Sources
- CVE List CVE-2005-2491
- NVD CVE-2005-2491
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.