Skip to content
Fencer Intel
medium 4.0

CVE-2007-4772 json

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 b…

published 18y ago modified 4mo ago also EUVD-2007-4753

cvss
4.0
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.8%
EPSS 3.8% chance of exploitation in 30 days, percentile 90%
public exploits
0
none known

Summary

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.

Patch / fix

  • postgresql postgresql 7.4.19, 8.0.15, 8.1.11, 8.2.6
  • tcl tcl/tk 8.4.17
  • tcltk RHEL 2.1 8.3.3-75
  • tcltk RHEL 3 8.3.5-92.8
  • tk RHEL 2.1 8.3.3-75
  • tk RHEL 3 8.3.5-92.8
  • tcl RHEL 2.1 8.3.3-75
  • tcl RHEL 3 8.3.5-92.8
  • tix RHEL 2.1 8.2.0b1-75
  • tix RHEL 3 1:8.1.4-92.8

red hat advisories RHSA-2008:0134RHSA-2013:0122RHSA-2008:0040RHSA-2008:0038

  • postgresql94 SLES for SAP 11 SP4, SLES 11 SP4, SLED 11 SP4 9.4.6-0.14.3
  • postgresql94-libs SLES for SAP 11 SP4, SLES 11 SP4, SLED 11 SP4 +1 more 9.4.6-0.14.3
  • postgresql94 SLES for SAP 12 SP1, SLES for SAP 12, SLES 12 SP1 +3 more 9.4.6-7.2
  • postgresql94-libs SLES for SAP 12 SP1, SLES for SAP 12, SLES 12 SP1 +5 more 9.4.6-7.1
  • postgresql93 SLES for SAP 12, SLES 12, SLED 12 9.3.11-14.2
  • postgresql93-libs SLE Software Development Kit 12 9.3.11-14.1

suse advisories SUSE-SU-2016:0677-1SUSE-SU-2016:0555-1SUSE-SU-2016:0539-1

  • postgresql94 openSUSE Tumbleweed 9.4.10-1.1
  • postgresql93 openSUSE Tumbleweed 9.3.15-1.1
  • postgresql95 openSUSE Tumbleweed 9.5.4-1.2

opensuse advisories openSUSE-SU-2024:10030-1openSUSE-SU-2024:10256-1openSUSE-SU-2024:10273-1

Is CVE-2007-4772 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

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-2007-4772 updated cvss 1.5

postgresql DoS via infinite loop in regex NFA optimization code

  • Red Hat Enterprise Linux 4 tcl
    affected: no fix planned “Will not fix”
  • Red Hat Application Stack v1 for Enterprise Linux AS (v.4) postgresql 8.1.11-1.el4s1.1, postgresql-pl 8.1.11-1.el4s1.1, postgresql-tcl 8.1.11-1.el4s1.1, postgresql-libs 8.1.11-1.el4s1.1, postgresql-test 8.1.11-1.el4s1.1, postgresql-python 8.1.11-1.el4s1.1, +2 more Red Hat Application Stack v1 for Enterprise Linux ES (v.4) postgresql 8.1.11-1.el4s1.1, postgresql-pl 8.1.11-1.el4s1.1, postgresql-tcl 8.1.11-1.el4s1.1, postgresql-libs 8.1.11-1.el4s1.1, postgresql-test 8.1.11-1.el4s1.1, postgresql-python 8.1.11-1.el4s1.1, +2 more
    fixed: vendor fix RHSA-2008:0040
  • Red Hat Desktop version 3 itcl 3.2-92.8, tclx 8.3-92.8, tk 8.3.5-92.8, tcl 8.3.5-92.8, tix 8.1.4-92.8, tcltk 8.3.5-92.8, +1 more
    fixed: vendor fix RHSA-2008:0134
  • Red Hat Enterprise Linux (v. 5 server) tcl 8.4.13-6.el5, tcl-html 8.4.13-6.el5, postgresql 8.1.11-1.el5_1.1, postgresql-pl 8.1.11-1.el5_1.1, postgresql-tcl 8.1.11-1.el5_1.1, postgresql-libs 8.1.11-1.el5_1.1, +4 more
    fixed: vendor fix RHSA-2008:0038
  • Red Hat Enterprise Linux AS (Advanced Server) version 2.1 itcl 3.2-75, tclx 8.3-75, tk 8.3.3-75, tcl 8.3.3-75, tcllib 1.0-75, tcltk 8.3.3-75, +2 more Red Hat Enterprise Linux AS version 3 itcl 3.2-92.8, tclx 8.3-92.8, tk 8.3.5-92.8, tcl 8.3.5-92.8, tix 8.1.4-92.8, tcltk 8.3.5-92.8, +1 more
    fixed: vendor fix RHSA-2008:0134
  • Red Hat Enterprise Linux AS version 4 postgresql 7.4.19-1.el4_6.1, postgresql-pl 7.4.19-1.el4_6.1, postgresql-tcl 7.4.19-1.el4_6.1, postgresql-jdbc 7.4.19-1.el4_6.1, postgresql-libs 7.4.19-1.el4_6.1, postgresql-test 7.4.19-1.el4_6.1, +3 more Red Hat Enterprise Linux Desktop (v. 5 client) tcl 8.4.13-6.el5, tcl-html 8.4.13-6.el5, postgresql 8.1.11-1.el5_1.1, postgresql-tcl 8.1.11-1.el5_1.1, postgresql-libs 8.1.11-1.el5_1.1, postgresql-python 8.1.11-1.el5_1.1, +1 more Red Hat Enterprise Linux Desktop version 4 postgresql 7.4.19-1.el4_6.1, postgresql-pl 7.4.19-1.el4_6.1, postgresql-tcl 7.4.19-1.el4_6.1, postgresql-jdbc 7.4.19-1.el4_6.1, postgresql-libs 7.4.19-1.el4_6.1, postgresql-test 7.4.19-1.el4_6.1, +3 more Red Hat Enterprise Linux Desktop Workstation (v. 5 client) tcl 8.4.13-6.el5, postgresql 8.1.11-1.el5_1.1, postgresql-pl 8.1.11-1.el5_1.1, postgresql-test 8.1.11-1.el5_1.1, postgresql-server 8.1.11-1.el5_1.1
    fixed: vendor fix RHSA-2008:0038
  • Red Hat Enterprise Linux ES version 2.1 itcl 3.2-75, tclx 8.3-75, tk 8.3.3-75, tcl 8.3.3-75, tcllib 1.0-75, tcltk 8.3.3-75, +2 more Red Hat Enterprise Linux ES version 3 itcl 3.2-92.8, tclx 8.3-92.8, tk 8.3.5-92.8, tcl 8.3.5-92.8, tix 8.1.4-92.8, tcltk 8.3.5-92.8, +1 more
    fixed: vendor fix RHSA-2008:0134
  • Red Hat Enterprise Linux ES version 4 postgresql 7.4.19-1.el4_6.1, postgresql-pl 7.4.19-1.el4_6.1, postgresql-tcl 7.4.19-1.el4_6.1, postgresql-jdbc 7.4.19-1.el4_6.1, postgresql-libs 7.4.19-1.el4_6.1, postgresql-test 7.4.19-1.el4_6.1, +3 more
    fixed: vendor fix RHSA-2008:0038
show 4 more
  • Red Hat Enterprise Linux WS version 2.1 itcl 3.2-75, tclx 8.3-75, tk 8.3.3-75, tcl 8.3.3-75, tcllib 1.0-75, tcltk 8.3.3-75, +2 more Red Hat Enterprise Linux WS version 3 itcl 3.2-92.8, tclx 8.3-92.8, tk 8.3.5-92.8, tcl 8.3.5-92.8, tix 8.1.4-92.8, tcltk 8.3.5-92.8, +1 more
    fixed: vendor fix RHSA-2008:0134
  • Red Hat Enterprise Linux WS version 4 postgresql 7.4.19-1.el4_6.1, postgresql-pl 7.4.19-1.el4_6.1, postgresql-tcl 7.4.19-1.el4_6.1, postgresql-jdbc 7.4.19-1.el4_6.1, postgresql-libs 7.4.19-1.el4_6.1, postgresql-test 7.4.19-1.el4_6.1, +3 more
    fixed: vendor fix RHSA-2008:0038
  • Red Hat Linux Advanced Workstation 2.1 itcl 3.2-75, tclx 8.3-75, tk 8.3.3-75, tcl 8.3.3-75, tcllib 1.0-75, tcltk 8.3.3-75, +2 more
    fixed: vendor fix RHSA-2008:0134
  • Red Hat Application Stack v2 for Enterprise Linux (v.5) postgresql 8.2.6-1.el5s2, postgresql-tcl 8.2.6-1.el5s2, postgresql-libs 8.2.6-1.el5s2, postgresql-test 8.2.6-1.el5s2, postgresql-pltcl 8.2.6-1.el5s2, postgresql-plperl 8.2.6-1.el5s2, +4 more
    not affected: vulnerable code not present

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

3.81% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-14).

Exploits and checks

  • sourceforge.net http://sourceforge.net/tracker/index.php?func=detail&aid=1810264&group_id=10894&atid=110894 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 2.0 4.0 AV:N/AC:L/Au:S/C:N/I:N/A:P

Classification

Weakness
  • CWE-399 Resource Management Errors
Technology feeds

References

Sources

Fencer Intel 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.