Skip to content
Heist/ feed
Back to feed
Medium

yasm — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2021-33467

An issue was discovered in yasm version 1.3.0. There is a use-after-free in pp_getline() in modules/preprocs/nasm/nasm-pp.c.

Products
yasm
Affected versions
1.3.0-2, 1.3.0-2.1, 1.3.0-2build1, 1.3.0-2ubuntu1, 1.3.0-4, 1.3.0-5, 1.3.0-7, 1.3.0-8
Fixed versions
Not specified
CVEs
CVE-2021-33467
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 00:59 UTC · Revision 1

Source evidence

UBUNTU-CVE-2021-33467

core-osv · Original source

Published 26 Jul 2022, 13:15 UTC

An issue was discovered in yasm version 1.3.0. There is a use-after-free in pp_getline() in modules/preprocs/nasm/nasm-pp.c.

osv:UBUNTU-CVE-2021-33467

yasm

Fixed versions: Not specified

yasm

Fixed versions: Not specified

yasm

Fixed versions: Not specified

yasm

Fixed versions: Not specified

yasm

Fixed versions: Not specified

yasm

Fixed versions: Not specified

yasm

Fixed versions: Not specified

yasm

Fixed versions: Not specified

Complete source record
{
  "id": "e531ca489131c38cfdede72e849d7ade2e727819c6793b280bda913973ba25df",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-33467",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2021-33467",
    "summary": "An issue was discovered in yasm version 1.3.0. There is a use-after-free in pp_getline() in modules/preprocs/nasm/nasm-pp.c.",
    "evidence": "osv:UBUNTU-CVE-2021-33467",
    "products": [
      {
        "name": {
          "value": "yasm",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3.0-2",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "yasm",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3.0-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.3.0-2build1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "yasm",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3.0-2build1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.3.0-2ubuntu1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "yasm",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3.0-2.1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "yasm",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3.0-4",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "yasm",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3.0-5",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1.3.0-7",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "yasm",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3.0-8",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "yasm",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3.0-7",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "1.3.0-8",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2021-33467",
      "aliases": [
        "UBUNTU-CVE-2021-33467"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "yasm",
            "purl": "pkg:deb/ubuntu/yasm?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "1.3.0-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33467.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "yasm",
                "binary_version": "1.3.0-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "yasm",
            "purl": "pkg:deb/ubuntu/yasm?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "1.3.0-2",
            "1.3.0-2build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33467.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "yasm",
                "binary_version": "1.3.0-2build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "yasm",
            "purl": "pkg:deb/ubuntu/yasm?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "1.3.0-2build1",
            "1.3.0-2ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33467.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "yasm",
                "binary_version": "1.3.0-2ubuntu1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "yasm",
            "purl": "pkg:deb/ubuntu/yasm?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "1.3.0-2.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33467.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "yasm",
                "binary_version": "1.3.0-2.1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "yasm",
            "purl": "pkg:deb/ubuntu/yasm?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "1.3.0-4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33467.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "yasm",
                "binary_version": "1.3.0-4"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "yasm",
            "purl": "pkg:deb/ubuntu/yasm?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "1.3.0-5",
            "1.3.0-7"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33467.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "yasm",
                "binary_version": "1.3.0-7"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "yasm",
            "purl": "pkg:deb/ubuntu/yasm?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1.3.0-8"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33467.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "yasm",
                "binary_version": "1.3.0-8"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "yasm",
            "purl": "pkg:deb/ubuntu/yasm?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "1.3.0-7",
            "1.3.0-8"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33467.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "yasm",
                "binary_version": "1.3.0-8"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:19.832149397Z",
      "provider": "osv",
      "upstream": [
        "CVE-2021-33467"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2021-33467",
        "https://github.com/yasm/yasm/issues/163",
        "https://gist.github.com/Clingto/bb632c0c463f4b2c97e4f65f751c5e6d",
        "https://www.cve.org/CVERecord?id=CVE-2021-33467"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2021-33467",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 355295,
  "published_at": "2022-07-26T13:15:00+00:00"
}