CVE-2008-0674: Software Security Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-8m98-qjh5-33jj
CWE-119
Published
Advisory Summary

CVE-2008-0674 is a HIGH security vulnerability vulnerability (CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer) affecting Software libraries in the Maven ecosystem. The weakness occurs when the product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. this may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.. Remediation is available in the latest vendor maintenance releases.

CVE-2008-0674 at a Glance

CVE Identifier CVE-2008-0674
GHSA Identifier GHSA-8m98-qjh5-33jj
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2008-0674

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-2008-0674, 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 CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer, where the product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. this may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data. 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

Buffer overflow in PCRE before 7.6 allows remote attackers to execute arbitrary code via a regular expression containing a character class with a large number of characters with Unicode code points greater than 255.

References

NVD — CVE-2008-0674 NVD
https://nvd.nist.gov/vuln/detail/CVE-2008-0674
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=431660
exchange.xforce.ibmcloud.com/vulnerabilities/405... WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/40505
issues.rpath.com/browse/rpl-2223 WEB
https://issues.rpath.com/browse/RPL-2223
issues.rpath.com/browse/rpl-2503 WEB
https://issues.rpath.com/browse/RPL-2503
usn.ubuntu.com/581-1 WEB
https://usn.ubuntu.com/581-1
www.redhat.com/archives/fedora-pac... WEB
https://www.redhat.com/archives/fedora-package-announce/2008-February/msg00371.html
www.redhat.com/archives/fedora-pac... WEB
https://www.redhat.com/archives/fedora-package-announce/2008-February/msg00632.html
www.redhat.com/archives/fedora-pac... WEB
https://www.redhat.com/archives/fedora-package-announce/2008-March/msg00181.html
ftp.gnome.org/pub/gnome/sources/g... WEB
http://ftp.gnome.org/pub/gnome/sources/glib/2.14/glib-2.14.6.news
Software Security Information SECURITY
http://lists.apple.com/archives/security-announce//2008/Jul/msg00003.html
Software Security Information SECURITY
http://lists.apple.com/archives/security-announce/2008/Oct/msg00001.html
Software Security Information SECURITY
http://lists.apple.com/archives/security-announce/2009/Aug/msg00001.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2008-02/msg00008.html
pcre.org/changelog.txt WEB
http://pcre.org/changelog.txt
secunia.com/advisories/28923 WEB
http://secunia.com/advisories/28923
secunia.com/advisories/28957 WEB
http://secunia.com/advisories/28957
secunia.com/advisories/28960 WEB
http://secunia.com/advisories/28960
secunia.com/advisories/28985 WEB
http://secunia.com/advisories/28985
secunia.com/advisories/28996 WEB
http://secunia.com/advisories/28996
secunia.com/advisories/29027 WEB
http://secunia.com/advisories/29027
secunia.com/advisories/29048 WEB
http://secunia.com/advisories/29048
secunia.com/advisories/29175 WEB
http://secunia.com/advisories/29175
secunia.com/advisories/29267 WEB
http://secunia.com/advisories/29267
secunia.com/advisories/29282 WEB
http://secunia.com/advisories/29282
secunia.com/advisories/30048 WEB
http://secunia.com/advisories/30048
secunia.com/advisories/30345 WEB
http://secunia.com/advisories/30345
secunia.com/advisories/31326 WEB
http://secunia.com/advisories/31326
secunia.com/advisories/32222 WEB
http://secunia.com/advisories/32222
secunia.com/advisories/32746 WEB
http://secunia.com/advisories/32746
secunia.com/advisories/36096 WEB
http://secunia.com/advisories/36096
Software Security Information SECURITY
http://security.gentoo.org/glsa/glsa-200803-24.xml
Software Security Information SECURITY
http://security.gentoo.org/glsa/glsa-200811-05.xml
support.apple.com/kb/ht3216 WEB
http://support.apple.com/kb/HT3216
support.apple.com/kb/ht3757 WEB
http://support.apple.com/kb/HT3757
wiki.rpath.com/advisories:rpsa-200... WEB
http://wiki.rpath.com/Advisories:rPSA-2008-0086
wiki.rpath.com/wiki/advisories:rps... WEB
http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0086
wiki.rpath.com/wiki/advisories:rps... WEB
http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0176
Software Security Information SECURITY
http://www.debian.org/security/2008/dsa-1499
Software Security Information SECURITY
http://www.mandriva.com/security/advisories?name=MDVSA-2008:053
Software Security Information SECURITY
http://www.openwall.com/lists/oss-security/2008/05/02/2
www.php.net/changelog-5.php WEB
http://www.php.net/ChangeLog-5.php
Software Security Information SECURITY
http://www.securityfocus.com/archive/1/488927/100/0/threaded
Software Security Information SECURITY
http://www.securityfocus.com/archive/1/492535/100/0/threaded
Software Security Information SECURITY
http://www.securityfocus.com/bid/27786
Software Security Information SECURITY
http://www.securityfocus.com/bid/29009
Software Security Information SECURITY
http://www.securityfocus.com/bid/31681
Software Security Information SECURITY
http://www.securitytracker.com/id?1022674
www.us-cert.gov/cas/techalerts/ta09... WEB
http://www.us-cert.gov/cas/techalerts/TA09-218A.html
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2008/0570
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2008/0592
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2008/1412
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2008/2268
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2008/2780
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2009/2172

Frequently Asked Questions

What is CVE-2008-0674?
CVE-2008-0674 is a security vulnerability in Software classified as a security vulnerability vulnerability under CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer.
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2008-0674?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2008-0674?
CVE-2008-0674 is classified under CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer (The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.).
How can I check Maven dependencies for CVE-2008-0674?
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-8m98-qjh5-33jj",
  "modified" : "2025-04-09T03:51:36Z",
  "published" : "2022-05-01T23:32:12Z",
  "aliases" : [ "CVE-2008-0674" ],
  "details" : "Buffer overflow in PCRE before 7.6 allows remote attackers to execute arbitrary code via a regular expression containing a character class with a large number of characters with Unicode code points greater than 255.",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2008-0674"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=431660"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/40505"
  }, {
    "type" : "WEB",
    "url" : "https://issues.rpath.com/browse/RPL-2223"
  }, {
    "type" : "WEB",
    "url" : "https://issues.rpath.com/browse/RPL-2503"
  }, {
    "type" : "WEB",
    "url" : "https://usn.ubuntu.com/581-1"
  }, {
    "type" : "WEB",
    "url" : "https://www.redhat.com/archives/fedora-package-announce/2008-February/msg00371.html"
  }, {
    "type" : "WEB",
    "url" : "https://www.redhat.com/archives/fedora-package-announce/2008-February/msg00632.html"
  }, {
    "type" : "WEB",
    "url" : "https://www.redhat.com/archives/fedora-package-announce/2008-March/msg00181.html"
  }, {
    "type" : "WEB",
    "url" : "http://ftp.gnome.org/pub/gnome/sources/glib/2.14/glib-2.14.6.news"
  }, {
    "type" : "WEB",
    "url" : "http://lists.apple.com/archives/security-announce//2008/Jul/msg00003.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.apple.com/archives/security-announce/2008/Oct/msg00001.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.apple.com/archives/security-announce/2009/Aug/msg00001.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2008-02/msg00008.html"
  }, {
    "type" : "WEB",
    "url" : "http://pcre.org/changelog.txt"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/28923"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/28957"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/28960"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/28985"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/28996"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/29027"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/29048"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/29175"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/29267"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/29282"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/30048"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/30345"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/31326"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/32222"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/32746"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/36096"
  }, {
    "type" : "WEB",
    "url" : "http://security.gentoo.org/glsa/glsa-200803-24.xml"
  }, {
    "type" : "WEB",
    "url" : "http://security.gentoo.org/glsa/glsa-200811-05.xml"
  }, {
    "type" : "WEB",
    "url" : "http://support.apple.com/kb/HT3216"
  }, {
    "type" : "WEB",
    "url" : "http://support.apple.com/kb/HT3757"
  }, {
    "type" : "WEB",
    "url" : "http://wiki.rpath.com/Advisories:rPSA-2008-0086"
  }, {
    "type" : "WEB",
    "url" : "http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0086"
  }, {
    "type" : "WEB",
    "url" : "http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0176"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2008/dsa-1499"
  }, {
    "type" : "WEB",
    "url" : "http://www.mandriva.com/security/advisories?name=MDVSA-2008:053"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2008/05/02/2"
  }, {
    "type" : "WEB",
    "url" : "http://www.php.net/ChangeLog-5.php"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/archive/1/488927/100/0/threaded"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/archive/1/492535/100/0/threaded"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/27786"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/29009"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/31681"
  }, {
    "type" : "WEB",
    "url" : "http://www.securitytracker.com/id?1022674"
  }, {
    "type" : "WEB",
    "url" : "http://www.us-cert.gov/cas/techalerts/TA09-218A.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2008/0570"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2008/0592"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2008/1412"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2008/2268"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2008/2780"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2009/2172"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-119" ],
    "severity" : "HIGH",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2008-02-18T23:00:00Z"
  }
}