CVE-2007-4772

Exp

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.

Published: 2008-01-09 Last update: 2026-06-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2007-4772 is rated High Exploit Risk (65.5/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 3.84%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). EPSS rose +3.49% over the last day, indicating growing attacker interest. Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2007-4772

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2007-4772

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.36% 3.84% +3.49%
2 2026-06-07 0.32% 0.36% +0.04%
3 2026-01-25 0.32%

Full EPSS history (19 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2007-4772

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
4.0 2.0 MEDIUM
AV:N/AC:L/Au:S/C:N/I:N/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:S)
A single authentication is required.
Confidentiality impact (C:N)
No confidentiality impact.
Integrity impact (I:N)
No integrity impact.
Availability impact (A:P)
Partial availability impact.
8.0 2.9 [email protected]

Weakness enumeration for CVE-2007-4772

OS Trackers for CVE-2007-4772

vendor priority summary link
gentoo high CVE-2007-4772: 1 GLSA(s) (200801-15), 1 atom(s) (dev-db/postgresql); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2007-4772
redhat medium https://access.redhat.com/security/cve/CVE-2007-4772
ubuntu low CVE-2007-4772 low priority: Ubuntu including 5 source packages (postgresql-8.1, postgresql-8.2, tcl8.3, tcl8.4, tcl8.5), 80 status rows across 16 suites (dapper, edgy, feisty, gutsy, hardy, intrepid, jaunty, karmic, lucid, maverick, natty, oneiric, precise, quantal, raring, upstream): DNE 31, not-affected 29, ignored 12, released 5, needs-triage 3. https://ubuntu.com/security/CVE-2007-4772

Affected software / configurations for CVE-2007-4772

Vendor Product Version Raw CPE
postgresql postgresql >= 7.4, < 7.4.19 cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
postgresql postgresql >= 8.0, < 8.0.15 cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
postgresql postgresql >= 8.1, < 8.1.11 cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
postgresql postgresql >= 8.2, < 8.2.6 cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
tcl tcl\/tk < 8.4.17 cpe:2.3:a:tcl:tcl\/tk:*:*:*:*:*:*:*:*
debian debian_linux 3.1 cpe:2.3:o:debian:debian_linux:3.1:*:*:*:*:*:*:*
canonical ubuntu_linux 6.06 cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:lts:*:*:*
canonical ubuntu_linux 6.10 cpe:2.3:o:canonical:ubuntu_linux:6.10:*:*:*:*:*:*:*
canonical ubuntu_linux 7.04 cpe:2.3:o:canonical:ubuntu_linux:7.04:*:*:*:*:*:*:*
canonical ubuntu_linux 7.10 cpe:2.3:o:canonical:ubuntu_linux:7.10:*:*:*:*:*:*:*

References for CVE-2007-4772

URL Tags
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01420154 Broken Link
http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705 Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2008-02/msg00000.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00049.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00052.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00054.html Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00056.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00016.html Mailing List Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2013-0122.html Third Party Advisory
http://secunia.com/advisories/28359 Third Party Advisory
http://secunia.com/advisories/28376 Third Party Advisory
http://secunia.com/advisories/28437 Third Party Advisory
http://secunia.com/advisories/28438 Third Party Advisory
http://secunia.com/advisories/28454 Third Party Advisory
http://secunia.com/advisories/28455 Third Party Advisory
http://secunia.com/advisories/28464 Third Party Advisory
http://secunia.com/advisories/28477 Third Party Advisory
http://secunia.com/advisories/28479 Third Party Advisory
http://secunia.com/advisories/28679 Third Party Advisory
http://secunia.com/advisories/28698 Third Party Advisory
http://secunia.com/advisories/29070 Third Party Advisory
http://secunia.com/advisories/29248 Third Party Advisory
http://secunia.com/advisories/29638 Third Party Advisory
http://secunia.com/advisories/30535 Third Party Advisory
http://security.gentoo.org/glsa/glsa-200801-15.xml Third Party Advisory
http://securitytracker.com/id?1019157 Third Party Advisory VDB Entry
http://sourceforge.net/project/shownotes.php?release_id=565440&group_id=10894 Third Party Advisory
http://sourceforge.net/tracker/index.php?func=detail&aid=1810264&group_id=10894&atid=110894 Exploit Third Party Advisory
http://sunsolve.sun.com/search/document.do?assetkey=1-26-103197-1 Broken Link
http://sunsolve.sun.com/search/document.do?assetkey=1-66-200559-1 Broken Link
http://www.debian.org/security/2008/dsa-1460 Third Party Advisory
http://www.debian.org/security/2008/dsa-1463 Third Party Advisory
http://www.mandriva.com/security/advisories?name=MDVSA-2008:004 Third Party Advisory
http://www.mandriva.com/security/advisories?name=MDVSA-2008:059 Third Party Advisory
http://www.postgresql.org/about/news.905 Vendor Advisory
http://www.redhat.com/support/errata/RHSA-2008-0038.html Third Party Advisory
http://www.redhat.com/support/errata/RHSA-2008-0040.html Third Party Advisory
http://www.redhat.com/support/errata/RHSA-2008-0134.html Third Party Advisory
http://www.securityfocus.com/archive/1/485864/100/0/threaded Third Party Advisory VDB Entry
http://www.securityfocus.com/archive/1/486407/100/0/threaded Third Party Advisory VDB Entry
http://www.securityfocus.com/archive/1/493080/100/0/threaded Third Party Advisory VDB Entry
http://www.securityfocus.com/bid/27163 Patch Third Party Advisory VDB Entry
http://www.vmware.com/security/advisories/VMSA-2008-0009.html Third Party Advisory
http://www.vupen.com/english/advisories/2008/0061 Third Party Advisory
http://www.vupen.com/english/advisories/2008/0109 Third Party Advisory
http://www.vupen.com/english/advisories/2008/1071/references Third Party Advisory
http://www.vupen.com/english/advisories/2008/1744 Broken Link
https://exchange.xforce.ibmcloud.com/vulnerabilities/39497 Third Party Advisory VDB Entry
https://issues.rpath.com/browse/RPL-1768 Broken Link
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11569 Third Party Advisory
https://usn.ubuntu.com/568-1/ Third Party Advisory
https://www.redhat.com/archives/fedora-package-announce/2008-January/msg00397.html Third Party Advisory
https://www.redhat.com/archives/fedora-package-announce/2008-January/msg00469.html Third Party Advisory
cvelogic Threat Intelligence