« Volver al listado

CVE-2005-1142

Estado: ModificadaAlta (7.5)—

Heap-based buffer overflow in the readpgm function in pnm.c for GOCR 0.40, when it is not using netpbm, allows remote attackers to execute arbitrary code via a P3 format PNM file with more data than implied by its width and height values.

CVSS

Probabilidad de explotación (EPSS)

EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).

Tecnologías afectadas (1)

CWE

Referencias

JSON original (NVD)

Mostrar
{
  "id": "CVE-2005-1142",
  "cveTags": [],
  "metrics": {
    "cvssMetricV2": [
      {
        "type": "Primary",
        "source": "nvd@nist.gov",
        "cvssData": {
          "version": "2.0",
          "baseScore": 7.5,
          "accessVector": "NETWORK",
          "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
          "authentication": "NONE",
          "integrityImpact": "PARTIAL",
          "accessComplexity": "LOW",
          "availabilityImpact": "PARTIAL",
          "confidentialityImpact": "PARTIAL"
        },
        "acInsufInfo": false,
        "impactScore": 6.4,
        "baseSeverity": "HIGH",
        "obtainAllPrivilege": false,
        "exploitabilityScore": 10,
        "obtainUserPrivilege": true,
        "obtainOtherPrivilege": false,
        "userInteractionRequired": false
      }
    ]
  },
  "affected": [
    {
      "source": "cve@mitre.org",
      "affectedData": [
        {
          "vendor": "n/a",
          "product": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ]
    }
  ],
  "published": "2005-04-15T04:00:00.000",
  "references": [
    {
      "url": "http://marc.info/?l=bugtraq&m=111358557823673&w=2",
      "source": "cve@mitre.org"
    },
    {
      "url": "http://www.overflow.pl/adv/gocr.txt",
      "tags": [
        "Exploit",
        "Vendor Advisory"
      ],
      "source": "cve@mitre.org"
    },
    {
      "url": "http://marc.info/?l=bugtraq&m=111358557823673&w=2",
      "source": "af854a3a-2127-422b-91ae-364da2661108"
    },
    {
      "url": "http://www.overflow.pl/adv/gocr.txt",
      "tags": [
        "Exploit",
        "Vendor Advisory"
      ],
      "source": "af854a3a-2127-422b-91ae-364da2661108"
    }
  ],
  "vulnStatus": "Modified",
  "weaknesses": [
    {
      "type": "Primary",
      "source": "nvd@nist.gov",
      "description": [
        {
          "lang": "en",
          "value": "NVD-CWE-Other"
        }
      ]
    }
  ],
  "descriptions": [
    {
      "lang": "en",
      "value": "Heap-based buffer overflow in the readpgm function in pnm.c for GOCR 0.40, when it is not using netpbm, allows remote attackers to execute arbitrary code via a P3 format PNM file with more data than implied by its width and height values."
    }
  ],
  "lastModified": "2026-06-16T22:12:31.537",
  "configurations": [
    {
      "nodes": [
        {
          "negate": false,
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:gocr:optical_character_recognition_utility:0.3.2:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "CA591B69-3336-443D-8FBC-23AE40853667"
            },
            {
              "criteria": "cpe:2.3:a:gocr:optical_character_recognition_utility:0.3.4:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "A4F6B430-EC77-4970-98AB-69575461BBC3"
            },
            {
              "criteria": "cpe:2.3:a:gocr:optical_character_recognition_utility:0.37:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "42DE789F-CF85-48F0-B282-C72752E8B46B"
            },
            {
              "criteria": "cpe:2.3:a:gocr:optical_character_recognition_utility:0.39:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "54CAF27E-073A-4617-BC94-98DF1C685497"
            },
            {
              "criteria": "cpe:2.3:a:gocr:optical_character_recognition_utility:0.40:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "C3C9C2E8-5EF0-44FA-9AD5-0C883A8A5668"
            }
          ],
          "operator": "OR"
        }
      ]
    }
  ],
  "sourceIdentifier": "cve@mitre.org"
}