CVE-2005-4872
What it is
Perl-Compatible Regular Expression (PCRE) library before 6.2 does not properly count the number of named capturing subpatterns, which allows context-dependent attackers to cause a denial of service (crash) via a regular expression with a large number of named subpatterns, which triggers a buffer overflow. NOTE: this issue was originally subsumed by CVE-2006-7224, but that CVE has been REJECTED and split.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 2.3% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 2.3% in the next 30 days (EPSS).
- Severity: 4.3 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 2.3% · EPSS, next 30 days
- Weakness
- CWE-119 · Buffer errors
- Record status
- Modified
Affected
- Pcre ≤ 6.1
Attack profile CVSS 2.0 · 4.3
- Attack vector
- Network
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
Raw vector
AV:N/AC:M/Au:N/C:N/I:N/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2005-4872.md and follow it. Check whether this project is affected by CVE-2005-4872. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://secunia.com/advisories/27582
- http://secunia.com/advisories/27773
- http://secunia.com/advisories/27869
- http://secunia.com/advisories/28658
- http://secunia.com/advisories/27582
- http://secunia.com/advisories/27773
- http://secunia.com/advisories/27869
- http://secunia.com/advisories/28658
References
- http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html
- http://scary.beasts.org/security/CESA-2007-006.html
- http://secunia.com/advisories/27582
- http://secunia.com/advisories/27773
- http://secunia.com/advisories/27869
- http://secunia.com/advisories/28658
- http://support.avaya.com/elmodocs2/security/ASA-2007-493.htm
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:030
- http://www.novell.com/linux/security/advisories/2007_62_pcre.html
- http://www.pcre.org/changelog.txt
- http://www.redhat.com/support/errata/RHSA-2007-1052.html
- http://www.securityfocus.com/bid/26462
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11615
- http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html
- http://scary.beasts.org/security/CESA-2007-006.html
- http://secunia.com/advisories/27582
- http://secunia.com/advisories/27773
- http://secunia.com/advisories/27869
- http://secunia.com/advisories/28658
- http://support.avaya.com/elmodocs2/security/ASA-2007-493.htm
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:030
- http://www.novell.com/linux/security/advisories/2007_62_pcre.html
- http://www.pcre.org/changelog.txt
- http://www.redhat.com/support/errata/RHSA-2007-1052.html
- http://www.securityfocus.com/bid/26462