Home / Pcre / Pcre / CVE-2005-2491
CVE-2005-2491: is it exploited, and which versions of Pcre are affected and fixed?
CVE-2005-2491 is a vulnerability in Pcre. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:38 UTC). Affected: pcre 5.0, pcre 6.0 and pcre 6.1 (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (7.5, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:38 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:54 UTC.
What is CVE-2005-2491?
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.
From the CVE record by redhat, last updated August 7, 2024, 22:30 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| pcre | pcre | 5.0 | application |
| pcre | pcre | 6.0 | application |
| pcre | pcre | 6.1 | application |
NVD analysis (status Modified), last modified June 16, 2026, 22:14 UTC.
How severe is CVE-2005-2491?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2005-2491 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 4.34% probability of exploitation activity in the next 30 days, percentile 91.4 (FIRST EPSS, scores of December 2, 2026)
Where are the vendor advisories and references?
- OpenPKG-SA-2005.018 vendor-advisory, x_refsource_OPENPKG
- http://support.avaya.com/elmodocs2/security/ASA-2005-216.pdf x_refsource_CONFIRM
- 22691 third-party-advisory, x_refsource_SECUNIA
- 17813 third-party-advisory, x_refsource_SECUNIA
- ADV-2006-4502 vdb-entry, x_refsource_VUPEN
- GLSA-200509-08 vendor-advisory, x_refsource_GENTOO
- http://support.avaya.com/elmodocs2/security/ASA-2006-081.htm x_refsource_CONFIRM
- 20060401-01-U vendor-advisory, x_refsource_SGI
- 14620 vdb-entry, x_refsource_BID
- ADV-2005-2659 vdb-entry, x_refsource_VUPEN
- FLSA:168516 vendor-advisory, x_refsource_FEDORA
- GLSA-200509-02 vendor-advisory, x_refsource_GENTOO
- TSLSA-2005-0059 vendor-advisory, x_refsource_TRUSTIX
- 22875 third-party-advisory, x_refsource_SECUNIA
- SSRT061238 vendor-advisory, x_refsource_HP
- SSRT090208 vendor-advisory, x_refsource_HP
- oval:org.mitre.oval:def:1659 vdb-entry, signature, x_refsource_OVAL
- http://www.ethereal.com/appnotes/enpa-sa-00021.html x_refsource_CONFIRM
- SUSE-SA:2005:051 vendor-advisory, x_refsource_SUSE
- 16502 third-party-advisory, x_refsource_SECUNIA
- SSRT051251 vendor-advisory, x_refsource_HP
- 21522 third-party-advisory, x_refsource_SECUNIA
- 16679 third-party-advisory, x_refsource_SECUNIA
- DSA-817 vendor-advisory, x_refsource_DEBIAN
- GLSA-200508-17 vendor-advisory, x_refsource_GENTOO
- ADV-2005-1511 vdb-entry, x_refsource_VUPEN
- 604 third-party-advisory, x_refsource_SREASON
- 1014744 vdb-entry, x_refsource_SECTRACK
- http://support.avaya.com/elmodocs2/security/ASA-2005-223.pdf x_refsource_CONFIRM
- APPLE-SA-2005-11-29 vendor-advisory, x_refsource_APPLE
- RHSA-2005:761 vendor-advisory, x_refsource_REDHAT
- SUSE-SA:2005:049 vendor-advisory, x_refsource_SUSE
- DSA-819 vendor-advisory, x_refsource_DEBIAN
- ADV-2006-4320 vdb-entry, x_refsource_VUPEN
- RHSA-2005:358 vendor-advisory, x_refsource_REDHAT
- oval:org.mitre.oval:def:1496 vdb-entry, signature, x_refsource_OVAL
- DSA-821 vendor-advisory, x_refsource_DEBIAN
- 19072 third-party-advisory, x_refsource_SECUNIA
- 19532 third-party-advisory, x_refsource_SECUNIA
- http://www.php.net/release_4_4_1.php x_refsource_CONFIRM
- GLSA-200509-19 vendor-advisory, x_refsource_GENTOO
- oval:org.mitre.oval:def:11516 vdb-entry, signature, x_refsource_OVAL
- 17252 third-party-advisory, x_refsource_SECUNIA
- GLSA-200509-12 vendor-advisory, x_refsource_GENTOO
- SUSE-SA:2005:052 vendor-advisory, x_refsource_SUSE
- oval:org.mitre.oval:def:735 vdb-entry, signature, x_refsource_OVAL
- 15647 vdb-entry, x_refsource_BID
- http://support.avaya.com/elmodocs2/security/ASA-2006-159.htm x_refsource_CONFIRM
- DSA-800 vendor-advisory, x_refsource_DEBIAN
- 19193 third-party-advisory, x_refsource_SECUNIA
- SCOSA-2006.10 vendor-advisory, x_refsource_SCO
- 102198 vendor-advisory, x_refsource_SUNALERT
- SUSE-SA:2005:048 vendor-advisory, x_refsource_SUSE
- RHSA-2006:0197 vendor-advisory, x_refsource_REDHAT
- ADV-2006-0789 vdb-entry, x_refsource_VUPEN
- [httpd-cvs] 20190815 svn commit: r1048742 [2/4] - in /websites/staging/httpd/trunk/content: ./ security/vulnerabilities-httpd.xml security/vulnerabilities_13.ht mailing-list, x_refsource_MLIST
- [httpd-cvs] 20190815 svn commit: r1048743 [2/4] - in /websites/staging/httpd/trunk/content: ./ security/vulnerabilities-httpd.xml security/vulnerabilities_13.ht mailing-list, x_refsource_MLIST
- [httpd-cvs] 20200401 svn commit: r1058586 [2/4] - in /websites/staging/httpd/trunk/content: ./ security/vulnerabilities-httpd.xml security/vulnerabilities_13.ht mailing-list, x_refsource_MLIST
- [httpd-cvs] 20200401 svn commit: r1058587 [2/4] - in /websites/staging/httpd/trunk/content: ./ security/vulnerabilities-httpd.xml security/vulnerabilities_13.ht mailing-list, x_refsource_MLIST
- [httpd-cvs] 20210330 svn commit: r1073139 [1/13] - in /websites/staging/httpd/trunk/content: ./ security/json/ mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- August 8, 2005
- Published
- August 22, 2005, 04:00 UTC
- CVE record updated
- August 7, 2024, 22:30 UTC by redhat
- NVD
- Modified, last modified June 16, 2026, 22:14 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:54 UTC; KEV December 3, 2026, 07:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Pcre?
- Jun 15, 2020CVE-2019-20838 Pcre: out-of-bounds read
- Jun 15, 2020CVE-2020-14155 Pcre: integer overflow
- Jan 14, 2020CVE-2015-2326 Pcre: out-of-bounds read
- Jan 14, 2020CVE-2015-2325 Pcre: out-of-bounds read
- Mar 17, 2019CVE-2017-16231 Pcre: memory corruption (buffer overflow) disputed
- Jul 11, 2017CVE-2017-11164 Pcre: uncontrolled recursion
- Mar 23, 2017CVE-2017-7246 Pcre: memory corruption (buffer overflow)
- Mar 23, 2017CVE-2017-7245 Pcre: memory corruption (buffer overflow)
Questions about CVE-2005-2491
Is CVE-2005-2491 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:38 UTC. FIRST's EPSS gives it a 4.34% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Pcre are affected by CVE-2005-2491?
pcre 5.0, pcre 6.0 and pcre 6.1, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2005-2491?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2005-2491?
High (7.5, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2005-2491?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.