Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-20196

There is a stack-based buffer overflow 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 the S_M array is mishandled.

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

Source evidence

CVE-2018-20196

core-osv · Original source

Published 18 Dec 2018, 01:29 UTC

There is a stack-based buffer overflow 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 the S_M array is mishandled.

osv:CVE-2018-20196
Complete source record
{
  "id": "6da37b586b1ff8355eeb6a43eb04a1095999d10885182771e535a13a3066c390",
  "url": "https://osv.dev/vulnerability/CVE-2018-20196",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-20196",
    "summary": "There is a stack-based buffer overflow 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 the S_M array is mishandled.",
    "evidence": "osv:CVE-2018-20196",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2018-20196",
      "aliases": [
        "CVE-2018-20196"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/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-20196.json"
          }
        }
      ],
      "modified": "2026-10-20T10:48:03.547376665Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2019/08/msg00033.html",
        "https://security.gentoo.org/glsa/202006-17",
        "https://www.debian.org/security/2022/dsa-5109",
        "https://github.com/knik0/faad2/issues/19"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  },
                  {
                    "introduced": "10.0"
                  },
                  {
                    "last_affected": "10.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2018-20196",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 379984,
  "published_at": "2018-12-18T01:29:00.377+00:00"
}