Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-20194

There is a stack-based buffer underflow in the third instance of the calculate_gain function in libfaad/sbr_hfadj.c in Freeware Advanced Audio Decoder 2 (FAAD2) 2.8.8. A crafted input will lead to a denial of service or possibly unspecified other impact because limiting the additional noise energy level is mishandled for the G_max <= G case.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-20194
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:18 UTC · Revision 1

Source evidence

CVE-2018-20194

core-osv · Original source

Published 18 Dec 2018, 01:29 UTC

There is a stack-based buffer underflow in the third instance of the calculate_gain function in libfaad/sbr_hfadj.c in Freeware Advanced Audio Decoder 2 (FAAD2) 2.8.8. A crafted input will lead to a denial of service or possibly unspecified other impact because limiting the additional noise energy level is mishandled for the G_max <= G case.

osv:CVE-2018-20194
Complete source record
{
  "id": "cbf8e89463cdc2de2b59eb05f5fd55f8ba04106c5f0b20f7679d818649993d03",
  "url": "https://osv.dev/vulnerability/CVE-2018-20194",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-20194",
    "summary": "There is a stack-based buffer underflow in the third instance of the calculate_gain function in libfaad/sbr_hfadj.c in Freeware Advanced Audio Decoder 2 (FAAD2) 2.8.8. A crafted input will lead to a denial of service or possibly unspecified other impact because limiting the additional noise energy level is mishandled for the G_max <= G case.",
    "evidence": "osv:CVE-2018-20194",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2018-20194",
      "aliases": [
        "CVE-2018-20194"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/knik0/faad2",
              "type": "GIT",
              "events": [
                {
                  "introduced": "334e7647a5f31903aca33dde39bb8683e9d8cccd"
                },
                {
                  "last_affected": "334e7647a5f31903aca33dde39bb8683e9d8cccd"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:audiocoding:freeware_advanced_audio_decoder_2:2.8.8:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.8.8"
                      },
                      {
                        "last_affected": "2.8.8"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.8.8",
            "2_8_8"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-20194.json"
          }
        }
      ],
      "modified": "2026-10-20T10:50:06.000044193Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2019/05/msg00022.html",
        "https://seclists.org/bugtraq/2019/Sep/28",
        "https://security.gentoo.org/glsa/202006-17",
        "https://www.debian.org/security/2019/dsa-4522",
        "https://github.com/knik0/faad2/issues/21"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2018-20194",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 381264,
  "published_at": "2018-12-18T01:29:00.283+00:00"
}