Skip to content
Heist/ feed
Back to feed
High

catdoc — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2023-31979

Catdoc v0.95 was discovered to contain a global buffer overflow via the function process_file at /src/reader.c.

Products
catdoc
Affected versions
0.94.4-1.1, 1:0.94.3~git20151007.fd634c2+dfsg-2, 1:0.94.3~git20151007.fd634c2+dfsg-3, 1:0.94.3~git20160113.dbc9ec6+dfsg-1, 1:0.94.3~git20160113.dbc9ec6+dfsg-1+deb9u1build0.16.04.1, 1:0.94.3~git20160113.dbc9ec6+dfsg-1+deb9u1ubuntu0.1~esm1, 1:0.95-3, 1:0.95-4.1, 1:0.95-4.1ubuntu0.18.04.1~esm1, 1:0.95-4.1ubuntu0.20.04.1~esm1, 1:0.95-4.2, 1:0.95-5, 1:0.95-5build1, 1:0.95-5ubuntu0.22.04.1~esm1, 1:0.95-5ubuntu0.24.04.1~esm1, 1:0.95-6, 1:0.95-6build1
Fixed versions
Not specified
CVEs
CVE-2023-31979
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:40 UTC · Revision 1

Source evidence

UBUNTU-CVE-2023-31979

core-osv · Original source

Published 9 May 2023, 14:15 UTC

Catdoc v0.95 was discovered to contain a global buffer overflow via the function process_file at /src/reader.c.

osv:UBUNTU-CVE-2023-31979

catdoc

Fixed versions: Not specified

catdoc

Fixed versions: Not specified

catdoc

Fixed versions: Not specified

catdoc

Fixed versions: Not specified

catdoc

Fixed versions: Not specified

catdoc

Fixed versions: Not specified

catdoc

Fixed versions: Not specified

catdoc

Fixed versions: Not specified

Complete source record
{
  "id": "e933ae318edce4b5c402e31c826dd70c31e89c2b37b3d67f48b2b3acf115dd3b",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2023-31979",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2023-31979",
    "summary": "Catdoc v0.95 was discovered to contain a global buffer overflow via the function process_file at /src/reader.c.",
    "evidence": "osv:UBUNTU-CVE-2023-31979",
    "products": [
      {
        "name": {
          "value": "catdoc",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.94.4-1.1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1:0.94.3~git20151007.fd634c2+dfsg-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1:0.94.3~git20151007.fd634c2+dfsg-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1:0.94.3~git20160113.dbc9ec6+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1:0.94.3~git20160113.dbc9ec6+dfsg-1+deb9u1build0.16.04.1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1:0.94.3~git20160113.dbc9ec6+dfsg-1+deb9u1ubuntu0.1~esm1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "catdoc",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1:0.95-3",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1:0.95-4.1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1:0.95-4.1ubuntu0.18.04.1~esm1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "catdoc",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1:0.95-4.1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1:0.95-4.1ubuntu0.20.04.1~esm1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "catdoc",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1:0.95-4.1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1:0.95-4.2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1:0.95-5",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1:0.95-5ubuntu0.22.04.1~esm1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "catdoc",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1:0.95-5",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1:0.95-5build1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1:0.95-5ubuntu0.24.04.1~esm1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "catdoc",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1:0.95-5build1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1:0.95-6",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "catdoc",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1:0.95-6build1",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "catdoc",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1:0.95-6",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "1:0.95-6build1",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2023-31979",
      "aliases": [
        "UBUNTU-CVE-2023-31979"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "catdoc",
            "purl": "pkg:deb/ubuntu/catdoc?arch=source&distro=esm-apps-legacy%2Fxenial",
            "ecosystem": "Ubuntu:Pro:16.04:LTS"
          },
          "versions": [
            "0.94.4-1.1",
            "1:0.94.3~git20151007.fd634c2+dfsg-2",
            "1:0.94.3~git20151007.fd634c2+dfsg-3",
            "1:0.94.3~git20160113.dbc9ec6+dfsg-1",
            "1:0.94.3~git20160113.dbc9ec6+dfsg-1+deb9u1build0.16.04.1",
            "1:0.94.3~git20160113.dbc9ec6+dfsg-1+deb9u1ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-31979.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "catdoc",
                "binary_version": "1:0.94.3~git20160113.dbc9ec6+dfsg-1+deb9u1ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "catdoc",
            "purl": "pkg:deb/ubuntu/catdoc?arch=source&distro=esm-apps%2Fbionic",
            "ecosystem": "Ubuntu:Pro:18.04:LTS"
          },
          "versions": [
            "1:0.95-3",
            "1:0.95-4.1",
            "1:0.95-4.1ubuntu0.18.04.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-31979.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "catdoc",
                "binary_version": "1:0.95-4.1ubuntu0.18.04.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "catdoc",
            "purl": "pkg:deb/ubuntu/catdoc?arch=source&distro=esm-apps%2Ffocal",
            "ecosystem": "Ubuntu:Pro:20.04:LTS"
          },
          "versions": [
            "1:0.95-4.1",
            "1:0.95-4.1ubuntu0.20.04.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-31979.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "catdoc",
                "binary_version": "1:0.95-4.1ubuntu0.20.04.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "catdoc",
            "purl": "pkg:deb/ubuntu/catdoc?arch=source&distro=esm-apps%2Fjammy",
            "ecosystem": "Ubuntu:Pro:22.04:LTS"
          },
          "versions": [
            "1:0.95-4.1",
            "1:0.95-4.2",
            "1:0.95-5",
            "1:0.95-5ubuntu0.22.04.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-31979.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "catdoc",
                "binary_version": "1:0.95-5ubuntu0.22.04.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "catdoc",
            "purl": "pkg:deb/ubuntu/catdoc?arch=source&distro=esm-apps%2Fnoble",
            "ecosystem": "Ubuntu:Pro:24.04:LTS"
          },
          "versions": [
            "1:0.95-5",
            "1:0.95-5build1",
            "1:0.95-5ubuntu0.24.04.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-31979.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "catdoc",
                "binary_version": "1:0.95-5ubuntu0.24.04.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "catdoc",
            "purl": "pkg:deb/ubuntu/catdoc?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "1:0.95-5build1",
            "1:0.95-6"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-31979.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "catdoc",
                "binary_version": "1:0.95-6"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "catdoc",
            "purl": "pkg:deb/ubuntu/catdoc?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1:0.95-6build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-31979.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "catdoc",
                "binary_version": "1:0.95-6build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "catdoc",
            "purl": "pkg:deb/ubuntu/catdoc?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "1:0.95-6",
            "1:0.95-6build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-31979.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "catdoc",
                "binary_version": "1:0.95-6build1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:57:18.802197151Z",
      "provider": "osv",
      "upstream": [
        "CVE-2023-31979"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2023-31979",
        "https://github.com/petewarden/catdoc/issues/9",
        "https://www.cve.org/CVERecord?id=CVE-2023-31979"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2023-31979",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 357162,
  "published_at": "2023-05-09T14:15:00+00:00"
}