Back to CVE catalog
CVE-2005-2491

Integer overflow in PCRE

Multiple products

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityPartial
IntegrityPartial
AvailabilityPartial

CVSS summary v2.0

7.5High
Published:
Updated:
EPSS:
4.344%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Related CWE

Not specified

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:pcrepcreAffected versions:
5.0Show full version range for pcre
6.06.1
Vendor:Debianlibpcre3
Environments (1)
  • bookworm
Affected versions:
< 6.3-1
Vendor:Debianlibpcre3-dev
Environments (1)
  • bookworm
Affected versions:
< 6.3-1
Vendor:Debianpcregrep
Environments (1)
  • bookworm
Affected versions:
< 6.3-1
Vendor:Debianpgrep
Environments (1)
  • bookworm
Affected versions:
< 6.3-1

1–5 of 5 · Page 1 of 1

CVSS scores and metrics2
[email protected] · NVD (Primary)Primary7.5 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:P/I:P/A:P
nvd · Wazuh CTI (cna)7.5 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories70

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences