nday
CVE-2006-1542

Stack-based buffer overflow in Python 2.4.2 and earlier, running on Linux 2.6.12.5 under gcc 4.0.3…Titre composé par nday ; la fiche CVE n’en comporte pas.

Preuve de concept publique parue 12 jours avant la publication de la fiche CVE. nday n’a encore aucune trace de correctif ; cela ne veut pas dire qu’il n’en existe pas. Cette vulnérabilité figure dans une seule des 4 sources de PoC : exploitdb. Aucune inscription au catalogue KEV de la CISA à ce jour.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

local
AV:L in AV:L/AC:H/Au:N/C:P/I:P/A:P (CVSS 2.0) from NVD's analysts
no authentication required
Au:N in AV:L/AC:H/Au:N/C:P/I:P/A:P (CVSS 2.0) from NVD's analysts
Exploit-DB
Exploit-DB entries 1591
Python (CPython)
CPE names NVD's analysts give as vulnerable: a:python:python
open-source library / framework
CPE names NVD's analysts give as vulnerable: a:python:pythonthe product type of Python (CPython) in nday's product registry

CVSS 2.0 has no user-interaction metric, so “no user interaction” and “remote, unauthenticated” are never assigned from a CVSS 2.0 vector.

étape actuelle
POC
divulgation
CVSS
pas encore de score

Cycle de vie

Axe en UTC ; point = minute exacte, barre large = date seule, creux = inconnue ou déduite.
date inconnue
DISdivulguée
2006-03-30T11:00Z
PATcorrectif
aucune donnée
ANAanalyse
aucune donnée
POCPoC
2006-03-18, date seule
ITWexploitée
aucune donnée
KEVKEV
aucune donnée

Résumé

Stack-based buffer overflow in Python 2.4.2 and earlier, running on Linux 2.6.12.5 under gcc 4.0.3 with libc 2.3.5, allows local users to cause a "stack overflow," and possibly gain privileges, by running a script from a current working directory that has a long name, related to the realpath function. NOTE: this might not be a vulnerability. However, the fact that it appears in a programming language interpreter could mean that some applications are affected, although attack scenarios might be limited because the attacker might already need to cross privilege boundaries to cause an exploitable program to be placed in a directory with a long name; or, depending on the method that Python uses to determine the current working directory, setuid applications might be affected.

Original text of the CVE record (cvelist), shown as published.

Journal des événements

2006-03-18date seule, selon la source
+POCPoC publique

Exploit-DB recense un code d’exploitation public : « Python 2.4.2 - 'realpath()' Local Stack Overflow » (EDB-1591). Code vérifié par Exploit-DB.

source exploitdb 1591 · importé en masse par nday le · brut
{
  "id": 24387,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/1591",
  "occurred_at": "2006-03-18T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "1591",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/1591",
    "file": "exploits/linux/local/1591.py",
    "kind": "exploit",
    "tags": [],
    "type": "local",
    "title": "Python 2.4.2 - 'realpath()' Local Stack Overflow",
    "author": "Gotfault Security",
    "edb_id": 1591,
    "cve_ids": [
      "CVE-2006-1542"
    ],
    "platform": "linux",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2006-03-17",
    "date_updated": "2016-06-30",
    "date_published": "2006-03-18"
  }
}
+DISdivulgation

Fiche CVE publiée par mitre.

source cvelist · importé en masse par nday le · brut
{
  "id": 89944,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2006-1542",
  "occurred_at": "2006-03-30T11:00:00Z",
  "observed_at": "2026-11-13T05:35:44.026125Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "state": "PUBLISHED",
    "date_published": "2006-03-30T11:00:00.000Z",
    "assigner_short_name": "mitre"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Échanges entre chercheurs

0 chercheur en a parlé ces 7 derniers jours

Publications sur X de chercheurs suivis par nday citant cette CVE, telles que publiées. nday ne les vérifie pas.

nday n’a encore recueilli aucune publication sur X d’un chercheur de sa liste citant cette CVE.

Discussion

0 comments

No comments yet.