postgresql DoS via infinite loop in regex NFA optimization code
Published Jan 9, 2008
4.0
MEDIUMCVSS 2.0
EPSS 3.81%
Description
The regular expression parser in TCL before 8.4.17, as used in PostgreSQL 8.2 before 8.2.6, 8.1 before 8.1.11, 8.0 before 8.0.15, and 7.4 before 7.4.19, allows context-dependent attackers to cause a denial of service (infinite loop) via a crafted regular expression.
Affected products
No data.
Configuration 1
- ≥ 7.4 · < 7.4.19
- ≥ 8.0 · < 8.0.15
- ≥ 8.1 · < 8.1.11
- ≥ 8.2 · < 8.2.6
- < 8.4.17
Configuration 2
- 3.1
Configuration 3
- 6.06
- 6.10
- 7.04
- 7.10
No data.
Red Hat Enterprise Linux 2.1
tcltk-0:8.3.3-75
Fixed · RHSA-2008:0134
Red Hat Enterprise Linux 3
tcltk-0:8.3.5-92.8
Fixed · RHSA-2008:0134
Red Hat Enterprise Linux 4
postgresql-0:7.4.19-1.el4_6.1
Fixed · RHSA-2008:0038
Red Hat Enterprise Linux 5
postgresql-0:8.1.11-1.el5_1.1
Fixed · RHSA-2008:0038
Red Hat Enterprise Linux 5
tcl-0:8.4.13-6.el5
Fixed · RHSA-2013:0122
Red Hat Web Application Stack for RHEL 4
postgresql-0:8.1.11-1.el4s1.1
Fixed · RHSA-2008:0040
Red Hat Enterprise Linux 4
tcl
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 2.1 | tcltk-0:8.3.3-75 | Fixed | RHSA-2008:0134 |
| Red Hat Enterprise Linux 3 | tcltk-0:8.3.5-92.8 | Fixed | RHSA-2008:0134 |
| Red Hat Enterprise Linux 4 | postgresql-0:7.4.19-1.el4_6.1 | Fixed | RHSA-2008:0038 |
| Red Hat Enterprise Linux 5 | postgresql-0:8.1.11-1.el5_1.1 | Fixed | RHSA-2008:0038 |
| Red Hat Enterprise Linux 5 | tcl-0:8.4.13-6.el5 | Fixed | RHSA-2013:0122 |
| Red Hat Web Application Stack for RHEL 4 | postgresql-0:8.1.11-1.el4s1.1 | Fixed | RHSA-2008:0040 |
| Red Hat Enterprise Linux 4 | tcl | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:S/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (14 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.81% (0.03812) | 89.71th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.84% (0.03844) | 88.72th | v5 (v2026.06.15) |
| Apr 26, 2025 | 1.07% (0.01069) | 76.51th | v4 (v2025.03.14) |
| Mar 30, 2025 | 2.29% (0.02294) | 83.25th | v4 (v2025.03.14) |
| Mar 29, 2025 | 5.00% (0.04997) | 82.47th | v4 (v2025.03.14) |
| Mar 17, 2025 | 2.29% (0.02294) | 83.56th | v4 (v2025.03.14) |
| Dec 17, 2024 | 2.32% (0.02317) | 89.41th | v3 (v2023.03.01) |
| Dec 12, 2024 | 0.45% (0.00452) | 75.97th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.42% (0.00421) | 73.55th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.42% (0.00421) | 70.20th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.55% (0.01547) | 74.98th | v2 (v2022.01.01) |
| Feb 23, 2023 | 1.55% (0.01547) | 74.94th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.55% (0.01547) | 72.92th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.55% (0.01547) | 51.82th | v2 (v2022.01.01) |
References (57)
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01420154 vendor-advisoryx_refsource_HPBroken Link
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705 x_refsource_CONFIRMThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2008-02/msg00000.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00049.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00052.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00054.html vendor-advisoryx_refsource_SUSEThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00056.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00016.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2013-0122.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://secunia.com/advisories/28359 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://secunia.com/advisories/28376 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://secunia.com/advisories/28437 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://secunia.com/advisories/28438 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://secunia.com/advisories/28454 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://secunia.com/advisories/28455 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://secunia.com/advisories/28464 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://secunia.com/advisories/28477 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://secunia.com/advisories/28479 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://secunia.com/advisories/28679 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://secunia.com/advisories/28698 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://secunia.com/advisories/29070 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://secunia.com/advisories/29248 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://secunia.com/advisories/29638 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://secunia.com/advisories/30535 third-party-advisoryx_refsource_SECUNIAThird Party Advisory
- http://security.gentoo.org/glsa/glsa-200801-15.xml vendor-advisoryx_refsource_GENTOOThird Party Advisory
- http://securitytracker.com/id?1019157 vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry
- http://sourceforge.net/project/shownotes.php?release_id=565440&group_id=10894 x_refsource_CONFIRMThird Party Advisory
- http://sourceforge.net/tracker/index.php?func=detail&aid=1810264&group_id=10894&atid=110894 x_refsource_CONFIRMExploitThird Party Advisory
- http://sunsolve.sun.com/search/document.do?assetkey=1-26-103197-1 vendor-advisoryx_refsource_SUNALERTBroken Link
- http://sunsolve.sun.com/search/document.do?assetkey=1-66-200559-1 vendor-advisoryx_refsource_SUNALERTBroken Link
- http://www.debian.org/security/2008/dsa-1460 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- http://www.debian.org/security/2008/dsa-1463 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:004 vendor-advisoryx_refsource_MANDRIVAThird Party Advisory
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:059 vendor-advisoryx_refsource_MANDRIVAThird Party Advisory
- http://www.postgresql.org/about/news.905 x_refsource_CONFIRMVendor Advisory
- http://www.redhat.com/support/errata/RHSA-2008-0038.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://www.redhat.com/support/errata/RHSA-2008-0040.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://www.redhat.com/support/errata/RHSA-2008-0134.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://www.securityfocus.com/archive/1/485864/100/0/threaded mailing-listx_refsource_BUGTRAQThird Party AdvisoryVDB Entry
- http://www.securityfocus.com/archive/1/486407/100/0/threaded mailing-listx_refsource_BUGTRAQThird Party AdvisoryVDB Entry
- http://www.securityfocus.com/archive/1/493080/100/0/threaded mailing-listx_refsource_BUGTRAQThird Party AdvisoryVDB Entry
- http://www.securityfocus.com/bid/27163 vdb-entryx_refsource_BIDPatchThird Party AdvisoryVDB Entry
- http://www.vmware.com/security/advisories/VMSA-2008-0009.html x_refsource_CONFIRMThird Party Advisory
- http://www.vupen.com/english/advisories/2008/0061 vdb-entryx_refsource_VUPENThird Party Advisory
- http://www.vupen.com/english/advisories/2008/0109 vdb-entryx_refsource_VUPENThird Party Advisory
- http://www.vupen.com/english/advisories/2008/1071/references vdb-entryx_refsource_VUPENThird Party Advisory
- http://www.vupen.com/english/advisories/2008/1744 vdb-entryx_refsource_VUPENBroken Link
- https://access.redhat.com/security/cve/CVE-2007-4772 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=316511 Issue Tracking
- https://exchange.xforce.ibmcloud.com/vulnerabilities/39497 vdb-entryx_refsource_XFThird Party AdvisoryVDB Entry
- https://issues.rpath.com/browse/RPL-1768 x_refsource_CONFIRMBroken Link
- https://nvd.nist.gov/vuln/detail/CVE-2007-4772
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11569 vdb-entrysignaturex_refsource_OVALThird Party Advisory
- https://usn.ubuntu.com/568-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2007-4772
- https://www.redhat.com/archives/fedora-package-announce/2008-January/msg00397.html vendor-advisoryx_refsource_FEDORAThird Party Advisory
- https://www.redhat.com/archives/fedora-package-announce/2008-January/msg00469.html vendor-advisoryx_refsource_FEDORAThird Party Advisory
Change history (0)
No recorded changes yet.