CVE-2007-1662: Software Security Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-q97c-6vfp-vgp5
Published
Advisory Summary

CVE-2007-1662 is a MODERATE security vulnerability vulnerability (General Security Weakness) affecting Software libraries in the Maven ecosystem. Remediation is available in the latest vendor maintenance releases.

CVE-2007-1662 at a Glance

CVE Identifier CVE-2007-1662
GHSA Identifier GHSA-q97c-6vfp-vgp5
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2007-1662

To remediate this vulnerability, upgrade all affected Software dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2007-1662, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree

Analyze the terminal output to locate any version of Software in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The mvn dependency:tree command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under General Security Weakness. In Software, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Perl-Compatible Regular Expression (PCRE) library before 7.3 reads past the end of the string when searching for unmatched brackets and parentheses, which allows context-dependent attackers to cause a denial of service (crash), possibly involving forward references.

References

NVD — CVE-2007-1662 NVD
https://nvd.nist.gov/vuln/detail/CVE-2007-1662
exchange.xforce.ibmcloud.com/vulnerabilities/382... WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/38275
issues.rpath.com/browse/rpl-1738 WEB
https://issues.rpath.com/browse/RPL-1738
usn.ubuntu.com/547-1 WEB
https://usn.ubuntu.com/547-1
www.redhat.com/archives/fedora-pac... WEB
https://www.redhat.com/archives/fedora-package-announce/2008-March/msg00181.html
bugs.gentoo.org/show_bug.cgi WEB
http://bugs.gentoo.org/show_bug.cgi?id=198976
docs.info.apple.com/article.html WEB
http://docs.info.apple.com/article.html?artnum=307179
docs.info.apple.com/article.html WEB
http://docs.info.apple.com/article.html?artnum=307562
Software Security Information SECURITY
http://lists.apple.com/archives/security-announce/2007/Dec/msg00002.html
Software Security Information SECURITY
http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html
mail.gnome.org/archives/gtk-devel-... WEB
http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00022.html
secunia.com/advisories/27538 WEB
http://secunia.com/advisories/27538
secunia.com/advisories/27543 WEB
http://secunia.com/advisories/27543
secunia.com/advisories/27554 WEB
http://secunia.com/advisories/27554
secunia.com/advisories/27697 WEB
http://secunia.com/advisories/27697
secunia.com/advisories/27741 WEB
http://secunia.com/advisories/27741
secunia.com/advisories/28136 WEB
http://secunia.com/advisories/28136
secunia.com/advisories/28406 WEB
http://secunia.com/advisories/28406
secunia.com/advisories/28414 WEB
http://secunia.com/advisories/28414
secunia.com/advisories/28714 WEB
http://secunia.com/advisories/28714
secunia.com/advisories/28720 WEB
http://secunia.com/advisories/28720
secunia.com/advisories/29267 WEB
http://secunia.com/advisories/29267
secunia.com/advisories/29420 WEB
http://secunia.com/advisories/29420
secunia.com/advisories/30106 WEB
http://secunia.com/advisories/30106
secunia.com/advisories/30155 WEB
http://secunia.com/advisories/30155
secunia.com/advisories/30219 WEB
http://secunia.com/advisories/30219
Software Security Information SECURITY
http://security.gentoo.org/glsa/glsa-200711-30.xml
Software Security Information SECURITY
http://security.gentoo.org/glsa/glsa-200801-02.xml
Software Security Information SECURITY
http://security.gentoo.org/glsa/glsa-200801-18.xml
Software Security Information SECURITY
http://security.gentoo.org/glsa/glsa-200801-19.xml
Software Security Information SECURITY
http://security.gentoo.org/glsa/glsa-200805-11.xml
Software Security Information SECURITY
http://www.debian.org/security/2007/dsa-1399
Software Security Information SECURITY
http://www.debian.org/security/2008/dsa-1570
Software Security Information SECURITY
http://www.mandriva.com/security/advisories?name=MDKSA-2007:211
www.pcre.org/changelog.txt WEB
http://www.pcre.org/changelog.txt
Software Security Information SECURITY
http://www.securityfocus.com/archive/1/483357/100/0/threaded
Software Security Information SECURITY
http://www.securityfocus.com/archive/1/483579/100/0/threaded
Software Security Information SECURITY
http://www.securityfocus.com/bid/26346
www.us-cert.gov/cas/techalerts/ta07... WEB
http://www.us-cert.gov/cas/techalerts/TA07-352A.html
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2007/3725
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2007/3790
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2007/4238
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2008/0924/references

Frequently Asked Questions

What is CVE-2007-1662?
CVE-2007-1662 is a security vulnerability in Software classified as a security vulnerability vulnerability under General Security Weakness.
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2007-1662?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2007-1662?
CVE-2007-1662 is classified under General Security Weakness.
How can I check Maven dependencies for CVE-2007-1662?
Run the dependency tree command: 'mvn dependency:tree'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-q97c-6vfp-vgp5",
  "modified" : "2025-04-09T03:48:11Z",
  "published" : "2022-05-01T17:55:54Z",
  "aliases" : [ "CVE-2007-1662" ],
  "details" : "Perl-Compatible Regular Expression (PCRE) library before 7.3 reads past the end of the string when searching for unmatched brackets and parentheses, which allows context-dependent attackers to cause a denial of service (crash), possibly involving forward references.",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2007-1662"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/38275"
  }, {
    "type" : "WEB",
    "url" : "https://issues.rpath.com/browse/RPL-1738"
  }, {
    "type" : "WEB",
    "url" : "https://usn.ubuntu.com/547-1"
  }, {
    "type" : "WEB",
    "url" : "https://www.redhat.com/archives/fedora-package-announce/2008-March/msg00181.html"
  }, {
    "type" : "WEB",
    "url" : "http://bugs.gentoo.org/show_bug.cgi?id=198976"
  }, {
    "type" : "WEB",
    "url" : "http://docs.info.apple.com/article.html?artnum=307179"
  }, {
    "type" : "WEB",
    "url" : "http://docs.info.apple.com/article.html?artnum=307562"
  }, {
    "type" : "WEB",
    "url" : "http://lists.apple.com/archives/security-announce/2007/Dec/msg00002.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html"
  }, {
    "type" : "WEB",
    "url" : "http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00022.html"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/27538"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/27543"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/27554"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/27697"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/27741"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/28136"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/28406"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/28414"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/28714"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/28720"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/29267"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/29420"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/30106"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/30155"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/30219"
  }, {
    "type" : "WEB",
    "url" : "http://security.gentoo.org/glsa/glsa-200711-30.xml"
  }, {
    "type" : "WEB",
    "url" : "http://security.gentoo.org/glsa/glsa-200801-02.xml"
  }, {
    "type" : "WEB",
    "url" : "http://security.gentoo.org/glsa/glsa-200801-18.xml"
  }, {
    "type" : "WEB",
    "url" : "http://security.gentoo.org/glsa/glsa-200801-19.xml"
  }, {
    "type" : "WEB",
    "url" : "http://security.gentoo.org/glsa/glsa-200805-11.xml"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2007/dsa-1399"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2008/dsa-1570"
  }, {
    "type" : "WEB",
    "url" : "http://www.mandriva.com/security/advisories?name=MDKSA-2007:211"
  }, {
    "type" : "WEB",
    "url" : "http://www.pcre.org/changelog.txt"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/archive/1/483357/100/0/threaded"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/archive/1/483579/100/0/threaded"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/26346"
  }, {
    "type" : "WEB",
    "url" : "http://www.us-cert.gov/cas/techalerts/TA07-352A.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2007/3725"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2007/3790"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2007/4238"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2008/0924/references"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "MODERATE",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2007-11-07T23:46:00Z"
  }
}